Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

problems with logger function


combell

Recommended Posts

Posted

I have installed the catalog successfully and now i'm trying to run the admin. Because the /admin dir already excist on my system I had to rename it to /admin2 . I have changed this setting in the include/application_top.php . Normally this should have nothing to do with the problem (I hope)

 

But when I run the admin2/default.php I get an error with the funcion logger:

 

Fatal error: Cannot instantiate non-existent class: logger in /var/www/html/admin2/includes/functions/database.php on line 41

 

What could be the problem?

Posted

Do you have a FULL Admin2 directory structure??? And if so, is there a logger.php file in the Admin2/includes/classes directory? And where does the DIR_WS_CLASSES point to, as that is where it will try to find the logger.php file.

 

In your application_top.php file (I would assume) there should be a statement something like

 

REQUIRE (DIR_WS_CLASSES . 'logger.php');

 

Just some thoughts.

 

HankFrid

If I build it...they will come.

If I don't try to build it.....I will never know!

Posted

I dont know what version you have installed but for the admin, it is not default.php but index.php

And if you would do like must of the people here, install your admin folder inside your catalog folder and you wont have to rename it.

 

HTH

The_Bear

Archived

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

×
×
  • Create New...