Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

install 2.2


onnig

Recommended Posts

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

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

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

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

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

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

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

Archived

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

×
×
  • Create New...