aboyz Posted October 17, 2002 Share Posted October 17, 2002 Hi, First time installed OScommerce and i'm having a bunch of error. Can someone please help here is the error... I'm using Version. 2.1 stable. Under Catalog.. Parse error: parse error in /usr/home/imidnite/catalog/includes/application_top.php on line 14 Warning: Failed opening 'DIR_WS_INCLUDESinclude_once.php' for inclusion (include_path='.:/usr/local/lib/php') in /usr/home/imidnite/catalog/default.php on line 21 Warning: Failed opening 'DIR_WS_INCLUDESinclude_once.php' for inclusion (include_path='.:/usr/local/lib/php') in /usr/home/imidnite/catalog/default.php on line 30 Warning: Failed opening 'DIR_WS_INCLUDESinclude_once.php' for inclusion (include_path='.:/usr/local/lib/php') in /usr/home/imidnite/catalog/default.php on line 40 Also,, under admin.. Parse error: parse error in /usr/home/imidnite/catalog/admin/includes/application_top.php on line 17 Warning: Failed opening 'DIR_WS_INCLUDESinclude_once.php' for inclusion (include_path='.:/usr/local/lib/php') in /usr/home/imidnite/catalog/admin/default.php on line 9 Warning: Failed opening 'DIR_WS_INCLUDESinclude_once.php' for inclusion (include_path='.:/usr/local/lib/php') in /usr/home/imidnite/catalog/admin/default.php on line 19 Can someone please tell me what is wrong with this.. and how would i go about fixing this.. This is giving me a HEADACHE... I have check the forum and there is no help there.. Please i need EXPERT... Thanks DAVID Link to comment Share on other sites More sharing options...
Mark Evans Posted October 17, 2002 Share Posted October 17, 2002 Can someone please tell me what is wrong with this.. and how would i go about fixing this.. This is giving me a HEADACHE... I have check the forum and there is no help there.. Please i need EXPERT... As a wild stab in the dark I would say that you have made a mistake somewhere in application_top.php ;) If you paste the first 20 lines of each application_top.php file we can take a look :) 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...
freebird1963 Posted December 8, 2002 Share Posted December 8, 2002 I have the same type of error. was hoping it got answered but doesn't look like it. heres the top lines from the application_top.php thanks / for internal use until final v1.0 version is ready define('PROJECT_VERSION', 'Preview Release 2.1'); // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'http://webserver.florida-wireless.com'); define('HTTPS_SERVER', 'https://webserver.florida-wireless.com'); define('ENABLE_SSL', 1); // ssl server enable(1)/disable(0) define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT . '/'); ** I changed that from catalogs per the oscommerce install guide. define('DIR_FS_LOGS', '/var/logs/'); define('DIR_WS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_PAYMENT_MODULES', DIR_WS_MODULES . 'payment/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); // default values define('DEFAULT_LANGUAGE', 'en'); // use the code define('DEFAULT_CURRENCY', 'USD'); // use the code // who to send order confirmation emails to.. there is always one being sent to Link to comment Share on other sites More sharing options...
Jan0815 Posted December 8, 2002 Share Posted December 8, 2002 define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT . '/'); ** I changed that from catalogs per the oscommerce install guide. If this is in your file the parse error is found. The combination ** is not a valid comment delimiter. Use // instead. HTH You can't have everything. That's why trains have difficulty crossing oceans, and hippos did not adapt to fly. -- from the OpenBSD mailinglist. Link to comment Share on other sites More sharing options...
freebird1963 Posted December 9, 2002 Share Posted December 9, 2002 Hello, No the ** was to bring attention to that line. and the change I made. I ditched the 2.1 version and got the 2.2 and all is fine now. FB Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.