Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I have tried searching for the problem but cannot find a solution. This is the error i am getting after installing osc_affiliate.

 

 

Fatal error: Cannot redeclare affiliate_check_url() (previously declared in /home/jydbbxc/public_html/shop/includes/functions/affiliate_functions.php:17) in /home/jydbbxc/public_html/shop/includes/functions/affiliate_functions.php on line 17

 

 

Any help appreciated, thanks

Posted

Dunno but my suggestion is check for duplicate code some file seems to included twice.

  • 1 month later...
Posted

I just moved my osCommerce install to a new server. The ONLY error I'm getting on osAffiliate is:

 

Fatal error: Cannot redeclare affiliate_check_url() (previously declared in /home/my_domain/public_html/catalog/includes/functions/affiliate_functions.php:17) in /home/my_domain/public_html/catalog/includes/functions/affiliate_functions.php on line 17

 

This is on an affiliate login. I still have my install on the original server, and all works fine there.

 

Anmy help, Please?

 

Martin

Posted

Fixed.

 

Change in affiliate_affiliate.php

 

require('includes/functions/affiliate_functions.php');

 

to

 

require_once('includes/functions/affiliate_functions.php');

 

Don't know what effect this has, but at least I can log in as an affiliate now.

 

Thanx.

  • 1 year later...
Posted
I have tried searching for the problem but cannot find a solution. This is the error i am getting after installing osc_affiliate.

 

 

Fatal error: Cannot redeclare affiliate_check_url() (previously declared in /home/jydbbxc/public_html/shop/includes/functions/affiliate_functions.php:17) in /home/jydbbxc/public_html/shop/includes/functions/affiliate_functions.php on line 17

 

 

Any help appreciated, thanks

 

I'm having the same problem. The solutions suggested so far in this thread have not worked for me, either. I tried looking in the affiliate_affiliate.php file and it doesn't even have the lines of code referenced in the thread. PLEASE HELP!

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...