Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal Error accessing admin after install


Guest

Recommended Posts

Posted

I'm new to this and just did an install.

Everything went fine until I tried to access my admin page. I got the error

Fatal error: Call to undefined function: tep_db_connect() in /home2/walgreen/wallysdomain-www/catalog/admin/includes/application_top.php on line 61

 

the line in "application_top.php" it is referring to reads,

tep_db_connect() or die('Unable to connect to database server!');

 

I'm stumped, any ideas?

thanks

Posted

I would say that your files have not all uploaded to your server properly and that /admin/includes/functions/database.php is an empty file (zero bytes)

 

 

Sonia

Posted

The filesize is 3964, so it's not empty.

any other suggestions?

 

Thanks

Posted

Just above the line where you have the erro you should find:

 

 

// include the database functions
 require(DIR_WS_FUNCTIONS . 'database.php');

 

Either the file is empty, or the function is missing from it, or the above code is missing from application_top.php

 

 

Sonia

Archived

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

×
×
  • Create New...