Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help I need someone to explain


Corshas

Recommended Posts

I am installing User Tracking with Admin Area Modification v.1.34. I have it all installed, my problem is I dont understand what I am doing on the following statment at the end of the install.

 

== start ===========================

Add to admin/includes/footer.php (at the bottom):

 

<?php

require('../../catalog/' . DIR_WS_FUNCTIONS . 'user_tracking.php');

if ( ADMIN_CONFIG_USER_TRACKING == 'true') { tep_update_user_tracking(); }

?>

 

NOTE: replace /catalog/ with your named directory

my setup was:

./store/ (rootfiles etc...)

./store/admin/ (rootfiles etc...)

== end ===========================

 

I can't for the life of me figure out what files to make and where. :?:

Link to comment
Share on other sites

I am installing User Tracking with Admin Area Modification v.1.34. I have it all installed, my problem is I dont understand what I am doing on the following statment at the end of the install.

 

== start ===========================

Add to admin/includes/footer.php (at the bottom):

 

<?php

require('../../catalog/' . DIR_WS_FUNCTIONS . 'user_tracking.php');

if ( ADMIN_CONFIG_USER_TRACKING == 'true') { tep_update_user_tracking(); }

?>

 

NOTE: replace /catalog/ with your named directory

my setup was:

./store/ (rootfiles etc...)

./store/admin/ (rootfiles etc...)

== end ===========================

 

I can't for the life of me figure out what files to make and where. :?:

 

 

This is what I would try:

 

<?php

 require(DIR_FS_ADMIN . DIR_WS_FUNCTIONS . 'user_tracking.php');

if ( ADMIN_CONFIG_USER_TRACKING == 'true') { tep_update_user_tracking(); }

?>

 

Add to admin/includes/footer.php (at the bottom)

 

Just follow this instruction on where to put it. Right at bottom of the page.

Steve

-------------------------

Link to comment
Share on other sites

Steve,

 

Tried it got these errors:

 

Warning: main(/hsphere/local/home/scot0/corshas.com//admin/includes/functions/user_tracking.php) [function.main]: failed to create stream: No such file or directory in /hsphere/local/home/scot0/corshas.com/admin/includes/footer.php on line 48

 

Fatal error: main() [function.main]: Failed opening required '/hsphere/local/home/scot0/corshas.com//admin/includes/functions/user_tracking.php' (include_path='.:/usr/local/lib/php') in /hsphere/local/home/scot0/corshas.com/admin/includes/footer.php on line 48

 

scott

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...