Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Who's online error


grizzly

Recommended Posts

Tried a test who's online and get the following error:

 

Warning: open_basedir restriction in effect. File is in wrong directory in /usr/local/psa/home/vhosts/comicsnstuff.co.uk/httpdocs/comicstore/admin/whos_online.php on line 106

 

Warning: file("/tmp/sess_b7d25d0862e7b989e163fcec99544165") - Operation not permitted in /usr/local/psa/home/vhosts/comicsnstuff.co.uk/httpdocs/comicstore/admin/whos_online.php on line 106

 

Warning: Bad arguments to implode() in /usr/local/psa/home/vhosts/comicsnstuff.co.uk/httpdocs/comicstore/admin/whos_online.php on line 107

 

Could someone please help

 

Thanks

Link to comment
Share on other sites

On the admin control panel, under Tools, Who's Online shows what user sessions are active. If the user is logged in, it shows the customer name, and if you click on a line it shows what is in the user's shopping cart. Great for the voyeur webmaster.

 

If you question was meant to ask whether this feature is or could be seen by the public, the answer to that is no and I don't think that would be a good idea.

Link to comment
Share on other sites

Warning: open_basedir restriction in effect. File is in wrong directory in /usr/local/psa/home/vhosts/comicsnstuff.co.uk/httpdocs/comicstore/admin/whos_online.php on line 106

 

Warning: file("/tmp/sess_b7d25d0862e7b989e163fcec99544165") - Operation not permitted in /usr/local/psa/home/vhosts/comicsnstuff.co.uk/httpdocs/comicstore/admin/whos_online.php on line 106

 

The Who's Online tool opens the session file to see the cart contents of the customer. You have a restriction set (by your hosting provider) that wont let you open files in /tmp.

 

You can try with MySQL based sessions, edit configure.php and change:

  define('STORE_SESSIONS', 'mysql');

 

This way, we dont need to open /tmp to see the cart, its all in the db.

Link to comment
Share on other sites

dgw:

That worked but now I get this at the bottom of the who's online screen:

 

Warning: open_basedir restriction in effect. File is in wrong directory in /usr/local/psa/home/vhosts/comicsnstuff.co.uk/httpdocs/comicstore/admin/includes/classes/logger.php on line 49

 

Warning: error_log: Unable to write to /var/log/www/tep/page_parse_time.log in /usr/local/psa/home/vhosts/comicsnstuff.co.uk/httpdocs/comicstore/admin/includes/classes/logger.php on line 49

Parse Time: 0.079s[/size]

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...