stanlogan Posted May 13, 2003 Share Posted May 13, 2003 Hi, Just installed osCommerce for the first time. Things seemed to go well. I can view all the admin screens (looks good, too :) ), but when I try to access the catalog, I get this error: Fatal error: Call to undefined function: tep_update_whos_online() in ...www/catalog/includes/application_top.php on line 404 Line 404 is trying to call a function in the file whos_online.php. That file is present in the /catalog/includes/functions directory. I thought at first it was a permissions problem, so I changed them, but I did not affect the error. I installed the 20030507 snapshot. I'm running on a remote shared server, no shell access. Here is some of the server info from the Tools/Server Info page: Server OS: Linux 2.4.18-27.7.xsmp Database: MySQL 3.23.47 HTTP Server: Apache/1.3.26 (Unix) PHP/4.2.3 FrontPage/5.0.2.2510 PHP Version: 4.2.3 (Zend: 1.2.0) I have been a software engineer for a long time, but by and large, Unix/Linux are alien to me. Please be gentle :). Thanks! Stan Link to comment Share on other sites More sharing options...
snagelcat Posted May 13, 2003 Share Posted May 13, 2003 Stan go into your catalog/includes/configure.php and also your admin/includes/configure.php and look at the very bottom for define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' change it to look like this define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' that should fix it...just a guess here but I dooo believe it will have fun :lol: Sean Link to comment Share on other sites More sharing options...
stanlogan Posted May 13, 2003 Author Share Posted May 13, 2003 Hi, I tried changing the define('STORE_SESSIONS', ''); to use mysql, but it didn't change the error. I also commented out the call to tep_update_whos_online() in application_top.php - and that let me view the catalog. Of course, I don't know what functionality I lost by doing that, and I still don't know why it couldn't find a function that's obviously defined. Any other ideas? What are the ramifications of leaving tep_update_whos_online() commented out? Stan Link to comment Share on other sites More sharing options...
stanlogan Posted May 13, 2003 Author Share Posted May 13, 2003 Okay, thanks to everyone who's thinking about this problem. I'm not certain, but I think my whos_online.php must have been corrupted somehow. I first put back the call to tep_update_whos_online in application_top.php, and the error still appeared. I then commented out the body of tep_update_whos_online in whos_online.php, and I could reach the catalog. I kept adding back sections of code in whos_online.php, and guess what? When I got to the end, it was still working. Sigh. Goofball errors.... (just hoping I'm not the goofball :) ) Thanks again, Stan Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.