1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Localhost installs ok, online not so good

Discussion in 'Installation, Upgrade, and Import Support' started by Evan Gorman, Jun 20, 2012.

  1. Evan Gorman

    Evan Gorman Member

    Was unable to run the installer on my live site (Joomla 1.5, hosted by Rochen) so I took a backup and installed it locally using using WAMP.

    Live: Get a 500 error when trying to run the xenforo installer, or even the xenforo_requirements.php page
    Local: Everything installs and works fine
    Screenshot: http://i.imgur.com/rQYrl.png
    Screenshot: http://i.imgur.com/Kq9ix.png

    Can someone point me in the right direction?
     
  2. simbolo

    simbolo Well-Known Member

    It's hard to know without looking at the server logs but I would guess:
    Files are in the wrong place / Uploaded incorrectly
    An invalid directive in an .htaccess file
    Limitation imposed by file system (Permissions are too open)

    Can you reach an html file at that location?
     
  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Probably contact your host.

    The requirements script is pretty basic and should not be returning that error. I actually had this problem on my server last night too, where all PHP scripts returned a 500 error including a phpinfo file. My host had to fix something on their end.
     
  4. Evan Gorman

    Evan Gorman Member

    Jake, I'm thinking it's something on their end as well. I can easily access an html file at that location but not a php. Folder permissions are set to 777 for community, ./data, ./internal_data
    Would uploading my .htaccess file be a good idea?


    [​IMG]
    [​IMG]
     
  5. simbolo

    simbolo Well-Known Member

    I agree with Jake, it's almost certainly a host issue. I'd contact your host and see if they can be of assistance. Also you don't need the entire community directory set to 777 only the data and internal data directories. I would change the"community" directory to 755 but leave "data" and "internal_data" as 777.
     
    Jake Bunce likes this.
  6. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    For troubleshooting purposes you can remove the .htaccess file.

    And simbolo is correct... the forum root should not be 777. In fact, that can cause server errors in some configurations. 755 should be adequate for the forum root.
     
    simbolo likes this.
  7. simbolo

    simbolo Well-Known Member

    An example would be 1and1 hosting will give that exact error if you set the whole site directory to 777.
     
  8. Evan Gorman

    Evan Gorman Member

    I set the community folder permissions back to 755 and left the other two at 777. I also tried removing .htaccess in the community folder and got a different message:
    [​IMG]

    Jake, I assumed you meant remove the .htaccess in the community folder and not the site root, correct? I did both just in case with no luck.

    Getting support from Rochen has been difficult. Since our developer owns the Rochen account, we're being treated as the red-headed stepchild.
     
  9. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    The 404 error is incidental. That's a http 500 error (internal server error).

    Try a regular phpinfo file. If that doesn't work then you can give that to your host as a demonstration of the error. Otherwise the host might be inclined to just blame the particular PHP application (e.g. XenForo).
     

    Attached Files:

  10. Evan Gorman

    Evan Gorman Member

    There goes my theory of php being blocked. Phpinfo file was able to bring in data. Now I'm really stumped. My .htaccess is here: http://pastebin.com/xqU5EYzn
    [​IMG]
     
  11. Digital Doctor

    Digital Doctor Well-Known Member

    Are you installing the forum to a empty directory or the Joomla directory ?
    Is Joomla installed in the root and you are installing to a subdirectory (I suggest /community - like here at xenforo )

    Redownload the xenforo files from xenforo.com ? corrupted download ?
     
  12. Evan Gorman

    Evan Gorman Member

  13. Mr. Goodie2Shoes

    Mr. Goodie2Shoes Well-Known Member

    try adding
    Code:
    RewriteBase /community2/
    in your .htaccess file?

    The one in your 'community2/' directory...
     
  14. Evan Gorman

    Evan Gorman Member

    I edited the .htaccess in the root of Joomla.

    from: RewriteBase /
    to: RewriteBase /community2/

    No dice. I didn't notice any changes by doing that either.
     
  15. simbolo

    simbolo Well-Known Member

    Do you have an .htaccess file in the root joomla directory? If so, what does it contain?
     
  16. CeaseToExist

    CeaseToExist Member

  17. Evan Gorman

    Evan Gorman Member

  18. Mr. Goodie2Shoes

    Mr. Goodie2Shoes Well-Known Member

    The .htaccess in the community directory, change this:
    Code:
    #RewriteBase /xenforo
    to this:
    Code:
    RewriteBase /community/
     
  19. Evan Gorman

    Evan Gorman Member

    SOLVED!
    I changed the /install directory to from 775 to 755, and all files inside from 664 to 644. Installation page came right up. Voila!
     
    optrex and simbolo like this.
  20. optrex

    optrex Active Member

    Evan,
    It looks like you are doing an existing joomla install with a xf addon. I'm currently in the process of adding joomla to an existing Xf install. I'm looking at joomla 2.5.x though.
    I'd be intersted to hear about any single sign on and skinning issues that you come across - especially as my boards are based on the flexile skin that I see you are testing.
     

Share This Page