monstermobile Posted April 3, 2007 Share Posted April 3, 2007 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 Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted April 3, 2007 Share Posted April 3, 2007 Dunno but my suggestion is check for duplicate code some file seems to included twice. Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
imagixx Posted May 16, 2007 Share Posted May 16, 2007 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 Quote Link to comment Share on other sites More sharing options...
imagixx Posted May 16, 2007 Share Posted May 16, 2007 What am I doing? I've searched the forums, found several questions on this particular problem, but no answer. Quote Link to comment Share on other sites More sharing options...
imagixx Posted May 16, 2007 Share Posted May 16, 2007 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. Quote Link to comment Share on other sites More sharing options...
fitium Posted December 24, 2008 Share Posted December 24, 2008 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! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.