axelfrank Posted August 30, 2005 Share Posted August 30, 2005 Hi @all Yesterday I installed oscommerce (current version) on my server (linux 9.0 with apache 2.0.48). Now I can?t edit (or delete) the default categories on the first level. (the 2nd and 3rd level is no problem) Does anybody know what the problem could be? You can see the installation under http://www.unterhose24.de/oscommerce-2.2ms2/catalog. Thanks Axel Link to comment Share on other sites More sharing options...
♥Vger Posted August 30, 2005 Share Posted August 30, 2005 You need to delete the install folder and then post back if the problem persists. Make sure that your folders have permission set to 775. Vger Link to comment Share on other sites More sharing options...
axelfrank Posted August 30, 2005 Author Share Posted August 30, 2005 Hi Vger thanks for your answer. Now I have changed the permission to 775. I also deleted the installation folder. The problem is still existing. Axel Link to comment Share on other sites More sharing options...
♥Vger Posted August 30, 2005 Share Posted August 30, 2005 I still see this when I go to your site Warning: Installation directory exists at: /home/u/unterhose24.de/public_html/oscommerce-2.2ms2/catalog/install. Please remove this directory for security reasons. This makes me wonder what else is wrong. Vger Link to comment Share on other sites More sharing options...
axelfrank Posted August 31, 2005 Author Share Posted August 31, 2005 Hi Vger I reinstalled oscommerce once again. Could the problem be in my php.ini, becaus I also installed oscomerce on my local maschine and it works without any problem? greetings Axel Link to comment Share on other sites More sharing options...
♥Vger Posted August 31, 2005 Share Posted August 31, 2005 If all else fails you can comment out the error message in includes/application_top.php Vger Link to comment Share on other sites More sharing options...
axelfrank Posted September 1, 2005 Author Share Posted September 1, 2005 Hi, now I have identified and fixed the problem. There was a problem with the link for all actions on the categories on the first level. There was no value for "cPath" in the get-method. I add these two lines in the "categories.php" (line 877) and it works without any problems. // customizing Axel Frank - 31.08.2005 $a= $cPath; if ($a=='') {$a=0;}; //End of customizing $contents = array('form' => tep_draw_form('newcategory', FILENAME_CATEGORIES, 'action=insert_category&cPath=' . $a, 'post', 'enctype="multipart/form-data"')); $contents[] = array('text' => TEXT_NEW_CATEGORY_INTRO); Discription: When there is no value for "cPath" the programm set "0" as value (0 = 1st categorie-level). Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.