Guest Posted April 24, 2003 Share Posted April 24, 2003 While using the admin pages, I was able to delete categories and products just fine. However I cannot create any new ones. I tried to create a new category and it just makes a blank folder. Nothing is inserted into the MySQL database. I've checked permissions and all seems to be set properly. At the top of the page, I get a pink line that reads: Warning: No file uploaded. [p]It makes a blank entry in the database. What am I missing?? HELP PLEASE Link to comment Share on other sites More sharing options...
Guest Posted April 24, 2003 Share Posted April 24, 2003 Its most likely an issue with the version of PHP you are running... do you know what this is? Link to comment Share on other sites More sharing options...
Guest Posted April 24, 2003 Share Posted April 24, 2003 Well I might think this could be a possibility however it actually had worked previously. I've read in the forum of others having same issue when deleting some language support. I had just deleted all but english language support from the system. BUT, I also went ahead and reinstalled the store and the sql db as I'd not really done anything to them and it still will not update. Not sure what to try. I know this really won't help much other than to remove doubts of my php version.[/b] Link to comment Share on other sites More sharing options...
michael_ebbert Posted May 4, 2003 Share Posted May 4, 2003 I'm having the same problem, unable to create any categories. I too get the "Warning: No file uploaded." error after I try to save a new category. I've tried all sorts of combinations in the category creation form, but haven't found success yet. Anyone have advice on what to check? Link to comment Share on other sites More sharing options...
orchard Posted May 4, 2003 Share Posted May 4, 2003 Have you tried creating a category without an image? In olden times the men were made of iron and the ships were made of wood; now it's the other way around. :wink: Link to comment Share on other sites More sharing options...
michael_ebbert Posted May 4, 2003 Share Posted May 4, 2003 Yes, a good idea. Same error appears if I fill out all 3 languages and leave the sort order and image field blank. Link to comment Share on other sites More sharing options...
Guest Posted May 4, 2003 Share Posted May 4, 2003 I found my problem was with the snapshop I was using, it was not happy that I had removed any of the language modules. Basically what was happening is it was trying to update all languages and I only had 1 language i'd left on. To fix, I had to copy the language modules back in, and rebuild my database. Chris Link to comment Share on other sites More sharing options...
Mark Evans Posted May 4, 2003 Share Posted May 4, 2003 Check your php.ini config. I bet file uploads are set to 0 or off when they need to be set to 1. Mark Evans osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops) --------------------------------------- Software is like sex: It's better when it's free. (Linus Torvalds) Link to comment Share on other sites More sharing options...
michael_ebbert Posted May 4, 2003 Share Posted May 4, 2003 I installed tep_snapshot-20030331.zip with the sample data, and right away after getting it up and running was not able to create new categories. Since then I have run a series of DELETE statements to clear out the sample database, but the trouble creating categories existed before and after the DELETE statements were run. Any advice? Should I load a different version? Link to comment Share on other sites More sharing options...
Guest Posted May 4, 2003 Share Posted May 4, 2003 Just FYI, the "no file uploaded" is not actually your error. All that is is a controversal error output in PHP regarding an image upload script that contained no image. Even if you had an image in the slot, it did not upload it most likely cuz you have either altered your OsCommerce pages, or your Database and something is not matching up. You will get that error message either way. So don't bother searching for that, you are likely to get off the right path as I did in the beginning. Your best bet to find out what is missing is to look in your httpd error log files if you have access to them on your server. Usually in /var/log/httpd Chris Link to comment Share on other sites More sharing options...
michael_ebbert Posted May 4, 2003 Share Posted May 4, 2003 Thanks to everyone who helped. The solution was for me to change the php.ini file to read file_uploads = On instead of Off. Then I did /etc/rc.d/init.d/httpd restart and now I am able to create categories. Should I be concerned about any security holes now that I've turned this on? I'll understand if there's some reading I should do rather than just getting an answer here. A link would be appreciated. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.