Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

problem wirth categories on the firs level


Recommended Posts

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.





Link to comment
Share on other sites

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.



Link to comment
Share on other sites



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


This topic is now archived and is closed to further replies.

  • Create New...