Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

if i "who online"


Guest

Recommended Posts

It looks like you are either missing your define or it is corrupt in:

 

catalog/includes/languages/english.php

 

Mine looks like this:

 

// Whos Online

define('BOX_HEADING_WHOS_ONLINE', 'Who\'s Online');

define('BOX_WHOS_ONLINE_THEREIS', 'There currently is');

define('BOX_WHOS_ONLINE_THEREARE', 'There currently are');

define('BOX_WHOS_ONLINE_GUEST', 'guest');

define('BOX_WHOS_ONLINE_GUESTS', 'guests');

define('BOX_WHOS_ONLINE_AND', 'and');

define('BOX_WHOS_ONLINE_MEMBER', 'member');

define('BOX_WHOS_ONLINE_MEMBERS', 'members');

define('BOX_VIEW_ONLINE_MEMBERS', '<b>View Access</b>');

 

The settings I have may differ slightly from your settings depending on what version of Who's Online you have loaded.

 

Also while your in that file put your site title in at around line 50"

 

// page <title> tag and browser bar headings

define('TITLE', 'Place your title here');

 

Tim

How do you know when you know what you want to do for the rest of your life?

Link to comment
Share on other sites

It looks like you are either missing your define or it is corrupt in:

 

catalog/includes/languages/english.php

 

Mine looks like this:

 

// Whos Online

define('BOX_HEADING_WHOS_ONLINE', 'Who\'s Online');

define('BOX_WHOS_ONLINE_THEREIS', 'There currently is');

define('BOX_WHOS_ONLINE_THEREARE', 'There currently are');

define('BOX_WHOS_ONLINE_GUEST', 'guest');

define('BOX_WHOS_ONLINE_GUESTS', 'guests');

define('BOX_WHOS_ONLINE_AND', 'and');

define('BOX_WHOS_ONLINE_MEMBER', 'member');

define('BOX_WHOS_ONLINE_MEMBERS', 'members');

define('BOX_VIEW_ONLINE_MEMBERS', '<b>View Access</b>');

 

The settings I have may differ slightly from your settings depending on what version of Who's Online you have loaded.

 

Also while your in that file put your site title in at around line 50"

 

// page <title> tag and browser bar headings

define('TITLE', 'Place your title here');

 

Tim

i were try again later~~

thanks ;)

Link to comment
Share on other sites

  • 4 months later...

Hi,

I installed this contribution and this is what I get when I try to open the catalog page. Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in c:\program files\easyphp1-7\www\catalog\includes\functions\whos_online.php on line 16

 

Fatal error: Call to undefined function: tep_update_whos_online() in c:\program files\easyphp1-7\www\catalog\includes\application_top.php on line 433

 

This is what is online in catalog\includes\whos_online line 16

 

if (tep_session_is_registered('customer_id')) {

It didn't say anything in the instructions about this line.

Thanks for any help.

 

Donna

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...