Jump to content

an error occurred while creating object product


Recommended Posts

  • 2 weeks later...

what files are 777? and what do you mean possible by DB ? what DB?

I really dont understand what you are doing or saying, if can really explain STEP by STEP what you are doign and give more details about your setup.

If i dont understand, i wont be able to help. so try to explain things to me so i understand them all.

Link to comment
Share on other sites

lol

I'm trying to add a product in back office to the shop. In catalog, add a product.
Just a product in a subcategorie.

Is this clear?

I was wondering if I can add a product and desciption inside the database of my Prestashop.

SO it is so simple as that.

Thanks to comment

I mention I know already Prestashop, as I used it for another site
completely diferent

Link to comment
Share on other sites

OK great now i understand what you are trying to do, you know many people do things differently and here in the forums we can guess what knowlege level is the poster at.
anyway,
By best practice you should only do it from the back office and if you are getting error we should troubleshoot that instead of digging into the DB.
but incase you insist, you need to go to your cpanel and use phpmyadmin for that.

Link to comment
Share on other sites

I thought the problem could come from a bad CHMOD
So all my files are CHMOD 777 (PROPERTIES) SET BY HOST ADMIN

AS I HAD PROBLEM WITH IT, SOME FILES WERE NOT 777, AS UPDATED BY A SCRIPT - properties were not the same as my FTP uploaded files, not the same group.

(IS THERE A CONFIG FILE FOR PHP FTP ENABLE, AS THERE IS NOT FTP IN ADMIN)

Link to comment
Share on other sites

Ah i think it is messed up then, dont you think 777 is already a huge security issue?
I doubt you can change that back unless other guys can suggest something else. I give up here. sorry mate
I should not advice if i dont know well what the consequences.

Does anyone have an opinion on this?

Link to comment
Share on other sites

if you have a good back up you could try that. if not maybe you will need to reinstall it.
I would rather you decide as i would not know what would be best for your business, but personally i love clean installs

Link to comment
Share on other sites

  • 4 weeks later...

HI

I've just been getting the same error whilst creating a product, after a lot of searching, trial and error, traced it back to a product name I'd been using called Union that was a blacklisted word by Prestashop code.

Shame as I have a genuine product with this in the title, but I have the cause now I can make some adjustments.

Hope this helps someone else.

Peter

Link to comment
Share on other sites

I'm glad I found this post. A customer today was from a Student Union. Each time they entered the address it was rejected due to the word "Union" -it took me hours to realise the problem (I nearly lost business as a result)!

-does anyone know how to reinstate this word or if there are other commonly used English words that have been blacklisted.

Also, since the error message doesn't correlate to the problem (no mention of the offending word) it's hard to identify the problem.

Thanks

Link to comment
Share on other sites

  • 3 months later...

sometimes none of the above solutions will work

A client reported to me the error and I've notices the product_lang max id was about 3000 but the product max id was 2000

so the product was added to product table but couldn't be added to product_lang table.

Not sure what generated this but fixing it was quite easy: I've deleted the additional product_lang entries

Link to comment
Share on other sites

  • 1 year later...
  • 7 months later...

I am having the same problem: add a product and I get this message:
"An error occurred while creating object. product"

This is on a clean install of 1.4.1.0, using
Apache version 2.2.14
PHP version 5.2.9
MySQL version 5.0.92-community

Can anyone tell me what the problem is and how to fix this please?

Link to comment
Share on other sites

×
×
  • Create New...