Cannot Register

Discussion in 'Site and Forum Feedback' started by aardwolf, Jul 9, 2010.

  1. aardwolf macrumors 6502

    Joined:
    May 30, 2007
    #1
    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
     
  2. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #2
    Did they try clearing their browser cache/cookies?
     
  3. aardwolf thread starter macrumors 6502

    Joined:
    May 30, 2007
    #3
    How would that help a warning sent by PHP that it couldn't find an includes file? That's a server error.
     
  4. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #4
    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.
     
  5. aardwolf thread starter macrumors 6502

    Joined:
    May 30, 2007
    #5
    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.
     
  6. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #6
    I just logged out and clicked the link. The attachment came up fine.
     
  7. aardwolf thread starter macrumors 6502

    Joined:
    May 30, 2007
    #7
  8. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #8
  9. xUKHCx Administrator emeritus

    xUKHCx

    Joined:
    Jan 15, 2006
    Location:
    The Kop
    #9
    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.
     
  10. yakk0 macrumors newbie

    Joined:
    Jul 9, 2010
    #10
    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.
     
  11. aardwolf thread starter macrumors 6502

    Joined:
    May 30, 2007
    #11
    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
     
  12. aardwolf thread starter macrumors 6502

    Joined:
    May 30, 2007
    #12
    Which could also be fixed by simply using an absolute path to the captcha in the PHP file on att.macrumors.com.
     
  13. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #13
    When you log out, it clears your cookies automatically.
    Picture 2.jpg
     
  14. aardwolf thread starter macrumors 6502

    Joined:
    May 30, 2007
    #14
    Did you clear your cache of the images? (I'm just messing with you, BTW)

    xUKHCx has already confirmed the issue is legit.
     
  15. xUKHCx Administrator emeritus

    xUKHCx

    Joined:
    Jan 15, 2006
    Location:
    The Kop
    #15
  16. celticpride678

    Joined:
    Feb 15, 2009
    Location:
    Boston, MA
    #16
    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.
     

Share This Page