onnig Posted January 23, 2003 Share Posted January 23, 2003 Just installed 2.2, ran the install script (install.php), everything went well, but when I click on Administration Tools I get: Parse error: parse error, expecting `')'' in /www/o/onnigtsa/htdocs/admin/admin/includes/functions/database.php on line 13 Fatal error: Call to undefined function: tep_db_connect() in /www/o/onnigtsa/htdocs/admin/admin/includes/application_top.php on line 151 What do I do? Thanks in advance. Onnig :) Onnig Link to comment Share on other sites More sharing options...
Guest Posted January 23, 2003 Share Posted January 23, 2003 Seems you have an admin to many in your URL ! HTH Regards Link to comment Share on other sites More sharing options...
onnig Posted January 23, 2003 Author Share Posted January 23, 2003 I tried moving all items under one single admin directory, still no good. Same errors but with one admin directory. Onnig Onnig Link to comment Share on other sites More sharing options...
badjuju Posted January 23, 2003 Share Posted January 23, 2003 Here's what you can do: Go to your webroot, ex: /www/o/onnigtsa/htdocs/admin * Make sure the files contained in that directory are *.php, includes folder, etc. * Go to /www/o/onnigtsa/htdocs/admin/configure.php * Verify the settings for admin directory and make sure you did not set it up as /admin/admin If that does not work, paste the section of your configure.php file for admin and for catalog. Link to comment Share on other sites More sharing options...
onnig Posted January 23, 2003 Author Share Posted January 23, 2003 Now I get: Fatal error: Failed opening required 'include/configure.php' (include_path='') in /www/o/onnigtsa/htdocs/admin/includes/application_top.php on line 34 when trying to run http://www.tsapros.com/admin/index.php here's the text you wanted pasted from configure.php: define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '/www/o/onnigtsa/htdocs/admin/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/admin/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/www/o/onnigtsa/htdocs/admin/catalog/'); // absolute path required Thanks again, Onnig Link to comment Share on other sites More sharing options...
onnig Posted January 23, 2003 Author Share Posted January 23, 2003 Now I get: Fatal error: Failed opening required 'include/configure.php' (include_path='') in /www/o/onnigtsa/htdocs/admin/includes/application_top.php on line 34 when trying to run http://www.tsapros.com/admin/index.php here's the text you wanted pasted from configure.php: define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '/www/o/onnigtsa/htdocs/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/admin/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/www/o/onnigtsa/htdocs/admin/catalog/'); // absolute path required Thanks again, Onnig Link to comment Share on other sites More sharing options...
rseigel Posted January 23, 2003 Share Posted January 23, 2003 What's up with the /admin/catalog/ stuff? That's not a very good place to put it (if that's even where it really is). Go get the docs from http://oscdox.com and start over. Link to comment Share on other sites More sharing options...
onnig Posted January 23, 2003 Author Share Posted January 23, 2003 Now I get: Fatal error: Failed opening required 'include/configure.php' (include_path='') in /www/o/onnigtsa/htdocs/admin/includes/application_top.php on line 34 when trying to run http://www.tsapros.com/admin/index.php here's the text you wanted pasted from configure.php: define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '/www/o/onnigtsa/htdocs/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/admin/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/www/o/onnigtsa/htdocs/admin/catalog/'); // absolute path required Thanks again, Onnig Link to comment Share on other sites More sharing options...
onnig Posted January 23, 2003 Author Share Posted January 23, 2003 OK, I'll start over, I'll let you know tonight, thanks. Onnig Link to comment Share on other sites More sharing options...
onnig Posted January 24, 2003 Author Share Posted January 24, 2003 ok followed the instructions, when I click on Catalog, I get: Warning: error_log: Unable to write to /var/log/www/tep/page_parse_time.log in /www/o/onnigtsa/htdocs/catalog/includes/functions/database.php on line 24 Warning: error_log: Unable to write to /var/log/www/tep/page_parse_time.log in /www/o/onnigtsa/htdocs/catalog/includes/functions/database.php on line 31 Fatal error: Cannot redeclare tep_href_link() (previously declared in /www/o/onnigtsa/htdocs/catalog/includes/functions/general.php:24) in /www/o/onnigtsa/htdocs/catalog/includes/functions/html_output.php on line 21 and when I click on Administration Tools I get: Parse error: parse error, expecting `')'' in /www/o/onnigtsa/htdocs/admin/includes/functions/database.php on line 13 Fatal error: Call to undefined function: tep_db_connect() in /www/o/onnigtsa/htdocs/admin/includes/application_top.php on line 167 Please help. Onnig Onnig Link to comment Share on other sites More sharing options...
onnig Posted January 24, 2003 Author Share Posted January 24, 2003 anyone? anyone? Onnig Link to comment Share on other sites More sharing options...
onnig Posted January 26, 2003 Author Share Posted January 26, 2003 Can someone please help me with this. I'm still waiting for a response. Thank you. onnig :? Onnig Link to comment Share on other sites More sharing options...
onnig Posted January 27, 2003 Author Share Posted January 27, 2003 Just FYI, I have PHP-Nuke install on the same server, working fine, but OSCommerce is having the problems I mentioned, still waiting for help, thanks. Onnig :?: Onnig Link to comment Share on other sites More sharing options...
onnig Posted January 27, 2003 Author Share Posted January 27, 2003 Anyone, anyone? Onnig Link to comment Share on other sites More sharing options...
loxly Posted January 27, 2003 Share Posted January 27, 2003 It sounds to me like you did the same thing I did the first time I installed in a directory with nuke, you most likely have the files mixed up in the directories. Uninstall all of the oscommerce files. Make a Catalog directory off the root directory. Then do your oscommerce install in the Catalog directory, with the admin files going into Catalog/Admin. Be careful when uploading that you do not install in the Nuke Admin directory. Debbie [no external urls in signatures please, kthanks] Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.