stasmmr Posted May 23, 2006 Posted May 23, 2006 define('HTTP_SERVER', 'http://www.stasm.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.stasm.com'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/var/virtual/web/w0232/html/oscommerce-2.2ms2/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', , '/catalog/admin/'); // absolute path required define('DIR_WS_CATALOG', '/oscommerce-2.2ms2/catalog/'); // absolute path required define('DIR_FS_CATALOG', , '/oscommerce-2.2ms2/catalog/'); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); I have tried all patterns to get my admin page up and running changed servers and have my online store but not admin.Above is my admin config file. Can someone give me a hint as to what file path should be where as nothing is working. this is the error i am getting Parse error: parse error in /var/virtual/web/w0232/html/oscommerce-2.2ms2/catalog/admin/includes/configure.php on line 33 Warning: main(DIR_WS_INCLUDESfilenames.php): failed to open stream: No such file or directory in /var/virtual/web/w0232/html/oscommerce-2.2ms2/catalog/admin/includes/application_top.php on line 44 Fatal error: main(): Failed opening required 'DIR_WS_INCLUDESfilenames.php' (include_path='.:/usr/share/pear') in /var/virtual/web/w0232/html/oscommerce-2.2ms2/catalog/admin/includes/application_top.php on line 44
nat8100 Posted May 23, 2006 Posted May 23, 2006 post line 40 of admin/includes/application_top.php should be something like this: // include the list of project filenames require(DIR_WS_INCLUDES . 'filenames.php');
stasmmr Posted May 23, 2006 Author Posted May 23, 2006 post line 40 of admin/includes/application_top.php should be something like this: // include the list of project filenames require(DIR_WS_INCLUDES . 'filenames.php'); this is on line 43 does that matter // include the list of project filenames require(DIR_WS_INCLUDES . 'filenames.php');
crash3903 Posted May 23, 2006 Posted May 23, 2006 define('HTTP_SERVER', 'http://www.stasm.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.stasm.com'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/var/virtual/web/w0232/html/oscommerce-2.2ms2/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', , ' /var/virtual/web/w0232/html/oscommerce-2.2ms2/catalog/admin/'); // absolute path required define('DIR_WS_CATALOG', '/oscommerce-2.2ms2/catalog/'); // absolute path required define('DIR_FS_CATALOG', , '/oscommerce-2.2ms2/catalog/'); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); I have tried all patterns to get my admin page up and running changed servers and have my online store but not admin.Above is my admin config file. Can someone give me a hint as to what file path should be where as nothing is working. this is the error i am getting Parse error: parse error in /var/virtual/web/w0232/html/oscommerce-2.2ms2/catalog/admin/includes/configure.php on line 33 Warning: main(DIR_WS_INCLUDESfilenames.php): failed to open stream: No such file or directory in /var/virtual/web/w0232/html/oscommerce-2.2ms2/catalog/admin/includes/application_top.php on line 44 Fatal error: main(): Failed opening required 'DIR_WS_INCLUDESfilenames.php' (include_path='.:/usr/share/pear') in /var/virtual/web/w0232/html/oscommerce-2.2ms2/catalog/admin/includes/application_top.php on line 44 try the change in red if you are still struggling then send me the configure file by pm Regards Mark A Reynolds
Recommended Posts
Archived
This topic is now archived and is closed to further replies.