oscommerce [login to view URL] error

Cancelado Postado Apr 7, 2007 Pago na entrega
Cancelado Pago na entrega

I have a problem which I believe to be in create_account.php.

0 -

insert into customers_info (customers_info_id, customers_info_number_of_logons, customers_info_date_account_created) values ('0', '0', now())

[TEP STOP]

That happens when you try to create a account. I've looked at those tables in the database and I can see that its trying to create the customers id of 0, if I delete that one I can create the account but none of the shipping info gets passed or, its not right. This is a heavily modified store, it was working fine and I cant track down when the problem occurred

If I delete this line from [url removed, login to view]

tep_db_query("insert into " . TABLE_CUSTOMERS_INFO . " (customers_info_id, customers_info_number_of_logons, customers_info_date_account_created) values ('" . (int)$customer_id . "', '0', now())");

Then it will proceed without the error but its not carrying over the address in the order. Also the account created is not showing in the backend. the order does not come through either.

This is a small project and I need someone to start right away.

PHP

ID do Projeto: #137158

Sobre o projeto

2 propostas Projeto remoto Ativo em Apr 9, 2007

2 freelancers estão ofertando em média $30 nesse trabalho

nexuslite

Track down insert problem

$30 USD em 1 dia
(43 Comentários)
5.8
asaikiran1979

Hi, Can complete ASAP with the query. See my PM. Thank you.

$30 USD em 1 dia
(9 Comentários)
3.7