#1 July 17, 2012 8:03pm

swgamerx
Member
Registered: July 17, 2012
Posts: 17

500 Internal Server Error after Install on HostGator

I attempted fixing error using 1for1 install instructions, did not fix the issue.

Thrown Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@bigtree.anteau.me and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Offline

#2 July 17, 2012 9:43pm

swgamerx
Member
Registered: July 17, 2012
Posts: 17

Re: 500 Internal Server Error after Install on HostGator

Solved Error by changing index.php and /site/  permissions from 777 to 755 to overcome SoftException in Application

Offline

#3 July 17, 2012 9:45pm

swgamerx
Member
Registered: July 17, 2012
Posts: 17

Re: 500 Internal Server Error after Install on HostGator

Admin/Dashboard  url causing redirect loop

"
This webpage has a redirect loop
"

Offline

#4 July 18, 2012 1:45am

swgamerx
Member
Registered: July 17, 2012
Posts: 17

Re: 500 Internal Server Error after Install on HostGator

main site no longer working, giving this error.

"

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/swgamerx/public_html/bigtree/core/inc/utils/mysql.inc.php on line 69

Fatal error: Uncaught exception 'Exception' with message 'sqlfetch() called on invalid query resource. The most likely cause is an invalid sqlquery() call. Last error returned was: ' in /home/swgamerx/public_html/bigtree/core/inc/utils/mysql.inc.php:108 Stack trace: #0 /home/swgamerx/public_html/bigtree/core/inc/bigtree/core.php(520): sqlfetch() #1 /home/swgamerx/public_html/bigtree/corerouter.php(248): BigTreeCMS->getNavId(false) #2 /home/swgamerx/public_html/bigtree/site/index.php(88): include('/home/swgamerx/...') #3 {main} thrown in /home/swgamerx/public_html/bigtree/core/inc/utils/mysql.inc.php on line 108

"

Offline

#5 July 18, 2012 2:17pm

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 970

Re: 500 Internal Server Error after Install on HostGator

What version of URL routing are you using?  Shared host sites may work best with a fresh install of 4.0 beta 7 using the "Simple" routing scheme since it doesn't use .htaccess.

Offline

#6 July 18, 2012 3:03pm

swgamerx
Member
Registered: July 17, 2012
Posts: 17

Re: 500 Internal Server Error after Install on HostGator

Iv tried them all except for advanced. they all end with the same result. I'm not sure what is happening.

Offline

#7 July 18, 2012 3:30pm

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 970

Re: 500 Internal Server Error after Install on HostGator

I'm not really sure how to direct you -- Internal Server Errors are usually caused by htaccess files.  The mysql_query error may be caused by incorrect configuration information in your /templates/config.php (it might not be connecting to MySQL properly).

Offline

#8 July 18, 2012 3:52pm

swgamerx
Member
Registered: July 17, 2012
Posts: 17

Re: 500 Internal Server Error after Install on HostGator

Iv tried creating .htaccess files after install as well using the instructions for godaddy and such. if you'd like I can provide you with login creds to get into my site to see if i'm doing something. The installation goes fine, but iv noted the page you're shown after install with links tot he front page and admin is unstyled as if it cannot access those files. it writes the DB just fine during install.

Offline

#9 July 18, 2012 6:47pm

swgamerx
Member
Registered: July 17, 2012
Posts: 17

Re: 500 Internal Server Error after Install on HostGator

I want to help figure this out as much as I can.

Offline

#10 July 18, 2012 6:53pm

swgamerx
Member
Registered: July 17, 2012
Posts: 17

Re: 500 Internal Server Error after Install on HostGator

[Wed Jul 18 18:52:12 2012] [error] [client 72.241.0.202] File does not exist: /home/swgamerx/public_html/500.shtml, referer: http://domain.com/bigtree/install.php
[Wed Jul 18 18:52:12 2012] [error] [client 72.241.0.202] SoftException in Application.cpp:601: Directory "/home/swgamerx/public_html/bigtree/site" is writeable by group, referer: http://domain.com/bigtree/install.php
[Wed Jul 18 18:51:00 2012] [error] [client 72.241.0.202] File does not exist: /home/swgamerx/public_html/500.shtml, referer: http://domain.com/bigtree/install.php
[Wed Jul 18 18:51:00 2012] [error] [client 72.241.0.202] SoftException in Application.cpp:256: File "/home/swgamerx/public_html/bigtree/site/index.php" is writeable by group, referer: http://domain.com/bigtree/install.php

Offline

#11 July 18, 2012 6:57pm

swgamerx
Member
Registered: July 17, 2012
Posts: 17

Re: 500 Internal Server Error after Install on HostGator

Ok so.

1. Install - simple routing, successful connection to mysql, install success
2. delete install.php
3. change /site/ from 777 to 755
6. refresh site and admin page, success.
7. log into admin, Redirect Loop
8. refresh site, following error

"
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/swgamerx/public_html/bigtree/core/inc/utils/mysql.inc.php on line 69

Fatal error: Uncaught exception 'Exception' with message 'sqlfetch() called on invalid query resource. The most likely cause is an invalid sqlquery() call. Last error returned was: ' in /home/swgamerx/public_html/bigtree/core/inc/utils/mysql.inc.php:108 Stack trace: #0 /home/swgamerx/public_html/bigtree/core/inc/bigtree/core.php(520): sqlfetch() #1 /home/swgamerx/public_html/bigtree/corerouter.php(248): BigTreeCMS->getNavId(false) #2 /home/swgamerx/public_html/bigtree/site/index.php(88): include('/home/swgamerx/...') #3 {main} thrown in /home/swgamerx/public_html/bigtree/core/inc/utils/mysql.inc.php on line 108
"

Offline

#12 July 18, 2012 7:15pm

swgamerx
Member
Registered: July 17, 2012
Posts: 17

Re: 500 Internal Server Error after Install on HostGator

it seems logging into the backend breaks it. I cannot find where sessions are in the database.

Offline

#13 July 18, 2012 8:51pm

Farnsworth
Member
Registered: March 30, 2012
Posts: 13

Re: 500 Internal Server Error after Install on HostGator

Hey swgamerx,

I just sent you an email regarding further steps to solve this problem.

Until it's worked-out, have you installed BigTree locally on MAMP / WAMP?

Offline

#14 July 19, 2012 11:19am

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 970

Re: 500 Internal Server Error after Install on HostGator

I believe the root issue of many of these problems was related to register_globals being on.  That PHP feature has been set to off by default since PHP 4.2 due to it being a security issue and was deprecated in PHP 5.3 and completely removed in PHP 5.4.

Setting it to off in a custom php.ini file in your /site/ directory fixed the redirect problems.  Let use know if you encounter anymore issues and we'll do our best to help.

Offline

#15 August 5, 2012 5:51am

swgamerx
Member
Registered: July 17, 2012
Posts: 17

Re: 500 Internal Server Error after Install on HostGator

I uninstalled beta six and uploaded beta7 but now I cannot even get to the install page because of 500 Internal errors. The previous fix of turning off register_globals on beta6 vanished after a few days and started giving 500 errors even with the php.ini file.

Offline

#16 August 6, 2012 8:08am

Farnsworth
Member
Registered: March 30, 2012
Posts: 13

Re: 500 Internal Server Error after Install on HostGator

Sorry to hear that. I think you've got some server configuration issues to fix before BigTree will work for you. Unfortunately, I don't know that there's anything else we can do until the server is configured correctly.


If you decide to upgrade your shared-hosting to a VPS, check out Linode, Rackspace, Media Temple, or similar. With a dedicated virtual server, you'll have much greater control.

Offline

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.