Jump to content

[SOLVED] Fatal Error when adding a single product to DB


MsrLeloup
 Share

Recommended Posts

Hi all!

I was almost done with my shop and template modifications when all of a sudden I stumbled into a "Fatal"-Error situation. I guess it has something to do with my products in the DB since if I delete every single one of them the site correctly displays (just with the expected and correct "No products available" message); If I just add one single product I stumble into an error, that I can't solve after hours trying to clean the database, settings and so on; judging from the Smarty Debug message I also don't have a clue where I could start searching;

Does anybody have a clue why this might happen and what I could do to correct this?

The site is currently running under xxx
Smarty Debugging is on

Your help is very much appreciated; I need this up and running for the XMas business!
Christian

PS: running the latest Prestashop 1.3.2

update: the same problem persists in the backoffice module where I don't see the "products of this category" dialogue anymore

Share this post


Link to post
Share on other sites

Did you tried to turn PrestaShop debug mode on by changing this code in config/config.inc.php

/* Debug only */
@ini_set('display_errors', 'on'); 



So not smarty debug.

And what was full text of that Fatal error.

Share this post


Link to post
Share on other sites

I did turn error displays in config.inc on but it didn't change anything in the error message; still and just "fatal error"

as for the primary key: is there a way to completely reset the DB into virgin state without necessarily losing all settings? i.e. I already tried emptying tables like addresses, carriers, taxes and so on but at no avail

Share this post


Link to post
Share on other sites

got it back up and running but only after a new, clean install. Looks like that you were right and some manual corrections messed up the primary keys; tried long to "repair" the tables but re-install finally got me back online

thanks anyhow for all of your help ....

PS: ... now I am having another problem of another thing that already worked before ;-(

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More