Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › Affiliate Sign Up form does not pull up register.php, getting error page
- This topic has 6 replies, 3 voices, and was last updated 14 years, 6 months ago by avidly.
-
AuthorPosts
-
May 3, 2010 at 11:51 am #1168avidlyParticipant
Having problems with my site’s links to “affiliate sign up.” When I hover over the link, I see that it’s trying to go to register.php but then I get an error page:
These are the two pages (I used the copy method to change the affiliate directory per instructions on this website):
http://proseocontent.com/seo-affiliate-program/
http://proseocontent.com/seo-affiliate-program/login.php
As you can see, when clicking on the “Affiliate Sign Up” link, it’s supposed to take me to http://proseocontent.com/seo-affiliate-program/register.php, but instead, I get an error page.
Please help!
May 3, 2010 at 2:37 pm #20339IvyMemberLooks like you are getting a 404 (page not found) when you go to the following URL:
http://proseocontent.com/seo-affiliate-program/register.php
That tells me that the “register.php” file is not in that directory.
Did you upload and copy the full directory? Can you check to make sure the “register.php” file exists in the directory?
May 3, 2010 at 10:30 pm #20340avidlyParticipantHi Ivy,
Thanks for getting back to me.
Yes, I just checked and register.php exists in that directory. To make sure there wasn’t an error in the original file transfer, I even re-uploaded it and it still doesn’t work.
I also used the default URL (with the original files):
http://proseocontent.com/wp-content/plugins/wp-affiliate-platform/affiliates
And it gives me the same error, which tells me that it’s not because of the copy method I used to change the link.
I’m stumped. Any ideas?
May 3, 2010 at 10:35 pm #20341avidlyParticipantThis is what I have in register.php (using WP Affiliate Platform v3.7):
[admin deleted code]
May 4, 2010 at 12:57 am #20342amin007ParticipantNo need to paste the code as long as I know that the file is there I am happy.
Now, the next thing I would look at is the permission of that file. The proper permission of that file should be 644. If you have loose permission settings on that page then your server will block that script from running due to security issue.
May 4, 2010 at 2:29 am #20343avidlyParticipantThanks for deleting the code (wasn’t sure if I should’ve pasted that but wanted to make sure I got it right).
Okay, just checked the permission file and can confirm that it is 644.
I’m not a coder but have been trying to find the answer…could it be a problem with sessions (or does that not apply since it seems that the login.php works)?
May 4, 2010 at 4:02 am #20344avidlyParticipantThanks for the fast responses Ivy and Amin but I found the answer!
It was an .htaccess issue – the .htaccess was blocking the register.php file and re-directing it to an error page. I knew it was something I did b/c no one else seemed to have this issue.
Thanks again for a great plugin!
-
AuthorPosts
- You must be logged in to reply to this topic.