View Full Version : How do I fix the inability to add products or catagories
shannoncox
March 23rd, 2003, 08:54 AM
Ok here goes,
we had a little (understatement) server problem that required us to reload the OS, PHP and we are also running Plesk, so we had to restore the Plesk database and mySQL. Little to say it was around 14 hours of hell.
Since we have done this, yesterday, the cart is working, but we are unable to add products or catagories. Does anyone know How to fix this problem? It just loops back to the add product screen aftering clicking on submit.
Not sure what else is wrong (i.e. checkout, etc...), but we'll leave that for another post. Thx in advance!
shannoncox
March 23rd, 2003, 03:24 PM
anyone out there today? I need help with this as soon as possible!
Jamie
March 24th, 2003, 05:16 PM
Hi,
This sounds very similar to a problem we ran across on someone else's site. I don't know what the final resolution was, as they never got back to us. The form you use to edit a record also allows file uploads. Because of this, it's <form> tag has the ectype property set to "multipart/form-data":
<form name="record_form" enctype="multipart/form-data" action="" method="post">
On the site we had a similar problem on, no variables where available to the cart when posting if the enctype property was set. We removed that property from the tag, and the problem went away. This is not a good workaround, as you can no longer upload images.
We checked their PHP settings, and noticed that "file_uploads" was not set at all. It should be set to "on". I was never able to confirm whether flipping that setting to "on" fixed the problem.
Thanks,
Jamie
Jamie
March 25th, 2003, 11:51 AM
Here is another update on this. It looks like it is happening due to a PHP bug:
http://bugs.php.net/bug.php?id=18641
I have not been able to find out what version of PHP has this problem resolved, or whether or not turning "file_uploads" to on fixes it.
Thanks,
Jamie
shannoncox
March 28th, 2003, 10:00 AM
Sorry for the delayed response back. We found the problem to be a Zend problem.
Once we got our system back online and reinstalled Zend, Zend failed to create a .so entry that we had to go in and create manually. At least thats what they tell me. So, if you are having this problem, check Zend!
Rich
March 28th, 2003, 11:45 AM
Glad to hear everything is all set! Thanks for the added information. :squirrel:
Powered by vBulletin™ Version 4.1.2 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.