Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem installing AdTracker


littleneo

Recommended Posts

Hi, I have a problem with the contribution adtracker 2.1...

In fact, all seems good except with this modification :

 

5. UPDATE /catalog/create_account_process.php ----------------------------------------

 

Change THIS (around line 250):

 

$sql_data_array = array('customers_firstname' => $firstname,

'customers_lastname' => $lastname,

'customers_email_address' => $email_address,

'customers_telephone' => $telephone,

'customers_fax' => $fax,

'customers_newsletter' => $newsletter,

'customers_password' => crypt_password($password),

'customers_default_address_id' =>;

 

To THIS:

 

$sql_data_array = array('customers_firstname' => $firstname,

'customers_lastname' => $lastname,

'customers_email_address' => $email_address,

'customers_telephone' => $telephone,

'customers_fax' => $fax,

'customers_newsletter' => $newsletter,

'customers_password' => crypt_password($password),

'customers_advertiser' => $advertiser,

'customers_referer_url' => $referer_url);

 

 

First, I can't find some /catalog/create_account_process.php but only create_account_success.php and create_account.php.

Anyway, in create_account.php I can find corrersponding lines but when I replace them, I have errors on the 3 lines :

* 'customers_password' => crypt_password($password),

(This, I can correct by using :

'customers_password' => tep_encrypt_password($password))

* 'customers_advertiser' => $advertiser, (erreur )

* 'customers_referer_url' => $referer_url); (erreur aussi)

 

as a big newbie, I need help ^^

 

Thx for all info

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...