Hello, Guest |
| Register
Remember me Forgot password ?
Site Map Site Map Contact us Contact us
PrestaShop e-commerce software
  713 users online
Forum  >  English Forum  >  Installing PrestaShop  >  Thread

1 of 2
1
Post Reply
New Topic
Customers can not sign up

offline
Posted: 25 January 2009 01:40 AM   [ Ignore ]
Beginner
Rank

Messages :

  • total: 15
  • last 7 days: 0
Joined: 2009-01-25

When customers sign up they get an error:

There is 1 error:
1. an error occurred while creating your account

(translated from Dutch)

But… what IS the error?
Are there any logfiles inside PrestaShop i can check?

Regards,

Gerwin

 
offline
Posted: 25 January 2009 01:59 AM   [ Ignore ]   [ # 1 ]
Beginner
Rank

Messages :

  • total: 15
  • last 7 days: 0
Joined: 2009-01-25

UPDATE:

Same in adminpanel… can not add customer

 
offline
Posted: 25 January 2009 02:40 AM   [ Ignore ]   [ # 2 ]
Partner
RankRankRankRankRank
Avatar

Messages :

  • total: 2193
  • last 7 days: 2
Joined: 2008-10-06

Upgrade, new install?

Can you add products?

 Signature 

Norman in ‘t VeldtModeratorPrestaShopForums
Help PrestaShop, make a donation!

Op PrestaForums.nl vindt je Handleidingen, Handigheden en andere nuttige informatie in het Nederlands.

 
offline
Posted: 25 January 2009 11:27 AM   [ Ignore ]   [ # 3 ]
Beginner
Rank

Messages :

  • total: 15
  • last 7 days: 0
Joined: 2009-01-25

New install.
First fixed the ‘pictures upload’ issue (disable fopen or something, then create PHPTEMP folder instead of windows TEMP folder)

I can: – Create items – Create categories – Upload pictures – Create suppliers – Create brand
etc etc

But i can not create a single customer…

Does PrestaShop create any logfiles of some kind?

Regards

 
offline
Posted: 25 January 2009 12:25 PM   [ Ignore ]   [ # 4 ]
V.I.P.
RankRankRankRank
Avatar

Messages :

  • total: 965
  • last 7 days: 0
Joined: 2008-09-24

I suppose that you are doing this under V.1.1 !?…

 
offline
Posted: 25 January 2009 12:38 PM   [ Ignore ]   [ # 5 ]
Beginner
Rank

Messages :

  • total: 15
  • last 7 days: 0
Joined: 2009-01-25
TakeDat-Consulting - 25 January 2009 12:25 PM
I suppose that you are doing this under V.1.1 !?…

Yep. The latest i can download.

Running on:
W2003 Std. IIS6 with FastCGI PHP5
Mysql 5.x

Numerous other sites running on this config, so not really an webserver issue

As i said, any other ‘action’ for adding thing to PrestaShop i CAN do..

No idea…

 
offline
Posted: 25 January 2009 12:52 PM   [ Ignore ]   [ # 6 ]
V.I.P.
RankRankRankRank
Avatar

Messages :

  • total: 965
  • last 7 days: 0
Joined: 2008-09-24

If I can recall, there have some path issue running PS on a windows box… Correct me if I’m wrong.

 
offline
Posted: 25 January 2009 12:55 PM   [ Ignore ]   [ # 7 ]
Beginner
Rank

Messages :

  • total: 15
  • last 7 days: 0
Joined: 2009-01-25
TakeDat-Consulting - 25 January 2009 12:52 PM
If I can recall, there have some path issue running PS on a windows box… Correct me if I’m wrong.

Ok, could be… but why only at creating customers???

 
offline
Posted: 25 January 2009 04:33 PM   [ Ignore ]   [ # 8 ]
Beginner
Rank

Messages :

  • total: 15
  • last 7 days: 0
Joined: 2009-01-25

What scripts are called / used when creating a new customer?

 
offline
Posted: 20 February 2009 01:07 AM   [ Ignore ]   [ # 9 ]
Newcomer
Rank

Messages :

  • total: 2
  • last 7 days: 0
Joined: 2008-06-30

Hi

I have this same problem. Problem raising in authentication.php line 80:

if (!$customer->add()) $errors[] = Tools::displayError(‘an error occurred while creating your account’);

$customer object exists, so any one knows where’s the problem?

zusu

 
offline
Posted: 17 March 2009 01:31 AM   [ Ignore ]   [ # 10 ]
Beginner
Rank

Messages :

  • total: 20
  • last 7 days: 0
Joined: 2009-03-13

HI i have the same problem

 Signature 

spazio web, database, email a soli 40€ l’anno

 
offline
Posted: 19 March 2009 11:19 AM   [ Ignore ]   [ # 11 ]
Beginner
Rank

Messages :

  • total: 7
  • last 7 days: 0
Joined: 2009-03-06

I have the same problem, I have install the version 1.1 in a server with win2003 + php5.2.8 + SQL 5.0.x + IIS 6.0 and I can not create customers, also when I installed I had a problem with db_settings_extends.sql

INSERT INTO `PREFIX_cart_product` (`id_cart`, `id_product`, `id_product_attribute`, `quantity`) VALUES (1, 7, 23, 1);
INSERT INTO `PREFIX_cart_product` (`id_cart`, `id_product`, `id_product_attribute`, `quantity`) VALUES (1, 9, 0, 1);

I had change this line for

INSERT INTO `PREFIX_cart_product` (`id_cart`, `id_product`, `id_product_attribute`, `quantity`, ‘date’) VALUES (1, 7, 23, 1, now());
INSERT INTO `PREFIX_cart_product` (`id_cart`, `id_product`, `id_product_attribute`, `quantity`, , ‘date’) VALUES (1, 9, 0, 1, now());

I tested with other server with win2003 + php5.2.8 + SQL 5.0.x + Apache 2.2 and the same download of prestashop and I had the some problems.
Finally I installed prestashop in my local machine WinXP with easyphp with same download of prestashop and the problem is resolve but I need that Prestashop work in a server.

I think that the problem is in SQL or configuration apache or IIS because I do not find sollution to problem.

Any body could help us?

 
offline
Posted: 23 March 2009 05:33 AM   [ Ignore ]   [ # 12 ]
Newcomer
Rank

Messages :

  • total: 2
  • last 7 days: 0
Joined: 2009-03-18

Bump, anyone been able to work this problem out???

 
offline
Posted: 23 March 2009 01:40 PM   [ Ignore ]   [ # 13 ]
Newcomer
Rank

Messages :

  • total: 4
  • last 7 days: 0
Joined: 2009-01-29

It took me a couple a days of replicating the problem on my dev environment and setting up debugging, but I found what the problem was on my machine.

The reason why customers were not able to create a new account on my website is because the insert statement was trying to insert a value into a column that did not exist in the table.

This happens when you upgrade your prestashop and install a backup mysql data you saved from a previous install. Thus, your mysql prestashop tables are not updated and the current version prestahop has a db sql schema change that is causing problems with your old prestshop schema.

Here is the fix:

- Figure out what version prestashop you currently have installed and what version you had before when you saved the backup mysql data.

- Unzip the prestashop zip file for your current install into a temp directory

- Go to the temp directory\prestashop\install\sql\upgrade folder

- Find the prestashop versions newer than the previously version when you backup your mysql data. I have version 1.1.0.4 when I save the mysql data.

- Therefore I had to update my current database with the newer 1.1.0.5.sql file to use with my current 1.1.0.5 prestashop instance.

- Copy the data in this file

- Open mysql query browser or phpMyAdmin. Load the file for update.

- Make sure you replace the everywhere you see “PREFIX” for the table name with the prefix you used for your tables. I think the default is “ps”. So I replace all “PREFIX” with “ps”. Otherwise you will get an error saying that the table does not exist.

- Execute the script and make sure you are running it against your prestashop db instance.

- Repeat for the other scripts to bring your db to your current prestashop version.

 
offline
Posted: 23 March 2009 06:04 PM   [ Ignore ]   [ # 14 ]
Beginner
Rank

Messages :

  • total: 7
  • last 7 days: 0
Joined: 2009-03-06

I have installed prestashop version 1.1.0.5 and I have the problem

 
offline
Posted: 24 March 2009 04:58 AM   [ Ignore ]   [ # 15 ]
Newcomer
Rank

Messages :

  • total: 4
  • last 7 days: 0
Joined: 2009-01-29

Did you import the database data for your 1.1.0.5 from a previous version or from another server?

The best way to figure out what is happenning is debug your server and step through the code. Find out what the exact call is to the database when it is trying to insert the new customer data. Cut and paste this data using mysql query anyalzer and see what errors it is giving you.

For me it was giving me an error where the column “newsletter_date_add” did not exist in table “ps_customer”. That was my clue that I did not update the database for the updated 1.1.0.5 prestashop properly.

I used phpEd to debug the code.

 
 
1 of 2
1
Fast Reply
New Topic