Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

aardwolf

macrumors 6502
Original poster
May 30, 2007
385
212
My friend just attempted to register here, and got the following error message:
Warning: require_once(/includes/functions_recaptcha.php) [function.require-once]: failed to open stream: No such file or directory in /register.php(80) : eval()'d code on line 1

Fatal error: require_once() [function.require]: Failed opening required '/home/forums/public_html/includes/functions_recaptcha.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/forums/public_html/register.php(80) : eval()'d code on line 1
 
How would that help a warning sent by PHP that it couldn't find an includes file? That's a server error.

Did they try it? You'd be surprised how many times the problem lies with the individual browser and not the site. That's a first step in troubleshooting something like this.
 
Did they try it? You'd be surprised how many times the problem lies with the individual browser and not the site. That's a first step in troubleshooting something like this.

Here's the issue:

1. When you attempt to view an attachment, but aren't logged in, you're redirected here to register:

http://att.macrumors.com/attachment.php?attachmentid=237877&d=1278692039

2. The captcha PHP file doesn't exist on that (virtual?) server at the requested path.

3. If you register from forums.macrumors.com, it works properly.

Summary: The link to register should be an absolute link if you want it to go to a different domain, not a relative one.
 
Here's the issue:

1. When you attempt to view an attachment, but aren't logged in, you're redirected here to register:

http://att.macrumors.com/attachment.php?attachmentid=237877&d=1278692039

The captcha PHP file doesn't exist on that (virtual?) server at the requested path.

If you register from forums.macrumors.com, it works properly.

Summary: The link to register should be an absolute link if you want it to go to a different domain, not a relative one.

I just logged out and clicked the link. The attachment came up fine.
 
Summary: The link to register should be an absolute link if you want it to go to a different domain, not a relative one.

I just confirmed the issue. This is, I believe, a side effect from when the site was switched over to high load mode for the iPhone 4 release.

The error is on the signup page located here:

http://att.macrumors.com/register.php?do=signup

I pass this upwards and hopefully they will get it resolved.

Your friend should be able to register from the normal forum pages in the mean time.
 
I'm now registered. The problem is that the forum code probably has a relative link for the registration page, so clicking the register link from the attachments page kept me on att.macrumors.com instead of redirecting me to forums.macrumors.com.
 
I'm now registered. The problem is that the forum code probably has a relative link for the registration page, so clicking the register link from the attachments page kept me on att.macrumors.com instead of redirecting me to forums.macrumors.com.

Which could also be fixed by simply using an absolute path to the captcha in the PHP file on att.macrumors.com.
 
The attachment loaded? Then perhaps YOU need to clear out your cookies. Being a logged-in registered user is a requirement to view them... :p
When you log out, it clears your cookies automatically.
Picture 2.jpg
 
arn said in a previous thread that, due to the load on the servers from the release of the iPhone 4, only registered members would be able to view attachments.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.