Guest Posted March 9, 2004 Share Posted March 9, 2004 hello, this is my first post - i've been scavenging solutions for the last day - having a heck of a time getting oscommerce up - from what people say, it is worth it...i hope so. i am a newbie and am learning as i'm going... anway, i followed steve's advice for someone who was getting 404 errors after clicking on admin links - i had the same problem he suggested to look in the admin/includes folder, and gave the example: ('DIR_FS_DOCUMENT_ROOT', '/homepages/36/d93231069/htdocs/catalog'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/catalog/admin/'); define('DIR_FS_ADMIN', '/homepages/36/d93231069/htdocs/catalog/admin'); define('DIR_WS_CATALOG', '/catalog/'); when i made these changes, i kept getting parse errors and other WS_ADMIN errors. my code looked like this with the extra text in red as something that did not appear in the sample code given: define('DIR_FS_DOCUMENT_ROOT', '/home/public_html/catalog/admin'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/catalog/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); i just took a chance and deleted the text in red, added the FS_ADMIN path - '/home/public_html/catalog/admin'); and then my admin links worked perfectly. why did that happen, or was that even a solution - will it screw with something else later on??? thanks for your help, eva Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.