Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

last url - not working in whos online


Guest

Recommended Posts

Posted

Does anyone know why this wouldnt work, i have tried going through the code and asking other store owners.

 

It just wont work, any help appreciated

Posted
Does anyone know why this wouldnt work, i have tried going through the code and asking other store owners.

 

It just wont work, any help appreciated

 

can you give us a little more information on what is happening? are you getting something in the report but not what you are expecting? or is the report completely empty? maybe a screen shot of what you are seeing...

Posted

in the whos online page, the section that contains the url of the last click isnt displaying the url, any ideas

Posted
in the whos online page, the section that contains the url of the last click isnt displaying the url, any ideas

 

have you made any changes to the includes/functions/whos_online.php file? in particular, on or about line 30 you should see something like this:

 

$wo_last_page_url = getenv('REQUEST_URI');

 

is everything else correctly set? i assume you're still seeing the ip addresses and time, etc? it's just the url that's missing, correct?

 

also, what are your versions of php and oscommerce?

Posted

no havent made any changes to that file, and that peice of code you referred to is there.

i started my site in nov2007 of that tells you the version of the site

 

Cheers

Posted

yes get the ip, cart info & everything accept the last url

Posted

Try downloading a fresh copy of oscommerce and replace the old admin/whos_online.php with the one from the fresh download. This should fix it.

 

If not, try going back to the times it worked and remember what changes you made that could affect that.

 

I hope this helps.

Posted
yes get the ip, cart info & everything accept the last url

 

ok, you might try changing line 30 in whos_online.php to something like this:

$wo_last_page_url = $_SERVER['REQUEST_URI'];

  • 3 months later...
Posted
ok, you might try changing line 30 in whos_online.php to something like this:

$wo_last_page_url = $_SERVER['REQUEST_URI'];

 

 

Did you ever get this working Im having exactly the same problem

Posted

make sure your includes/configure.php is set to

 

define('STORE_SESSIONS', 'mysql');

 

not a folder

Archived

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

×
×
  • Create New...