Urgent Help Required - EPN 302 Reditect TOS violation in script

by 4 replies
5
Hello

I was recently reading the EPN ebay partners network affiliates blog and came accross this post that maybe a lot of ebay affiliates need to read.

Using 301 redirects rather than 302 | eBay Partner Network Blog | eBay Affiliate Program News

A lot of my ebay shops use the open source McJiffy Easy Script that can be found here:-
http://www.mcjiffy.com/

That script uses the 302 redirect which is against the EPN Terms of service and if anyone is using that and has not corrected the problem before June 8th they will have there account terminated without warning.

This is a post to aid myself and for anyone else who is using the McJiffy Easy Store Script.

My Question is please can anyone help me to resolve the 302 redirect with mcjiffy easy. I have put a post on there forum with no luck. I will include the php code for the index.php page and if anyone can assist with this problem it would be a massive help not only for me but everyone else who may be in trouble who is using this script.

Thanks all for your help in advance.
#programming #302 #epn #required #urgent
  • Hiya,

    Ive never heard of this script, but if I were you I would seek advice from the developer; ebay have been a bit brutal with some affiliates recently and failure to update your code properly will mroe than likely see you expired.

    With that said, I see you have already tried to seek help from them. I've had a quick look at the script and it looks like you only need to update 2 lines of code.

    Look around line 483 for these sections.

    Code:
    function goLink(, ) {
    header('Location: ' . base64_decode());
    exit();
    }
    
    function guideLink(, ) {
     = 'http://rover.ebay.com/rover/1/' .GEO_PLACEMENT_ID. '/1?type=4&campid='. AFFILID. '&customid=' . urlencode() . '&toolid=10001&mpre=http%3A%2F%2Freviews.ebay.com%2F'.urlencode();
    header('Location: ' . );
    exit();
    }
    The "header" lines, by default, use 302 redirects - hence your problem, but you can force them to use 301 by changing them slightly.

    Code:
    header('Location: ' . base64_decode() , true, 301);
    AND

    Code:
    header('Location: ' . , true, 301);
    I have skimmed the other code and cant see any other 302 in there, but please please check after you have updated your sites and give me a shout if there are still 302's occuring.
  • Thanks for your reply.

    I have implimented the changes and it gives me an error as follows:-

    Parse error: syntax error, unexpected ',' in /home/gardener/public_html/bollywood-film-dvds.onthe-web.co.uk/index.php on line 491

    I have just replaced the file so it is working adain but the changes you outlined about gave me that error.

    thanks

    PS. If you would like to download the full script free then you can download it from here:-
    http://www.mcjiffy.com/

    It is advised to use Firefox to download.
    • [1] reply
    • Hiya,

      I think my quoting may have messed the actual lines up, so ill retry.

      The lines, should have read as so; (the second one was missing a variable name due to me using code tags).




      AND

      • [1] reply

Next Topics on Trending Feed