(SOLVED) 500 Error on LunarPages Host

CFara

Joined: 2011-01-05
Posts: 5
Posted: Fri, 2012-09-28 15:26

OK, I am far from a web page expert but I have had my gallery up and running smoothly for a couple of years now. I neglected it for a few months and now saw it has stopped working and was showing a 500 Internal Server Error. I did some research on how to fix it and after some initial troubleshooting finally decided that it might be easier to temporarily shove my old gallery aside and try a new one from scratch by creating a new MySQL database and copying a fresh 3.04 version over to my LunarPages host.

I followed the installation instructions (a few times!) and am able to get to the Installer screen and link it to my brand new database. However, every time I click the "Start Using Gallery" button, I get redirected to the 500 Internal Server Error page.

I looked at the brief troubleshooting section in the FAQ regarding the 500 error, and am able to verify I have the short_open_tag set to 1 as directed. However once I get to step 2 regarding the apache configuration file, I have no idea on how to accomplish this.

I have created the phpinfo.php, placed it in my Gallery3 file and can successfully bring it up. I did not post it here because I was unsure if there was any info in there that should not be publically posted. It does say that I am at PHP 5.3.15 and Apache 2.2.22.

Can anybody provide me with any link or guidance on how to move forward troubleshooting this? I am starting to think that I was just lucky getting it working the first time and should just stick with Photobucket!

Thanks in advance for any help.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2012-09-28 15:51

It could be a simple directive in .htaccess that your host does not allow.
The best way to troubleshoot 500 errors is to have a look in the server's error_log
If you don't have access to the logs the ask your host.

You can also try commenting out some of the directives in .htaccess

-s
All New jQuery Minislideshow for G2/G3

 
CFara

Joined: 2011-01-05
Posts: 5
Posted: Fri, 2012-09-28 16:34

Thanks for the quick response.

I'm not sure how to access the raw "error_log" file, but am able to access an error log through LunarPages Control Panel (cPanel). In this Server Error Log, the only error I see appearing is:
"[error] [client {xxx.xxx.xxx.xxx] File does not exist: /home/wacky3/public.html/500.shtml" {note: I x'd out the IP address out of paranoia}
I created a 500.shtml file and now nothing new is appearing in the error log.

In my "public_html/.htaccess" file I only have one line:
"suPHP_ConfigPath /home/wacky3/public_html"
I tried commenting this out and the 500 page returned. I uncommented the line and saved again.

In my /public_html/gallery3/.htaccess" only contains two sections that are uncommented:
"<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>"
which I commented out without success (and returned to uncommented)

and the lines:
"<IfModule mod_php5.c>
php_flag short_open_tag On
php_flag magic_quotes_gpc Off
php_flag magic_quotes_sybase Off
php_flag magic_quotes_runtime Off
php_flag register_globals Off
php_flag session.auto_start Off
php_flag suhosin.session.encrypt Off
php_value upload_max_filesize 20M
php_value post_max_size 100M
</IfModule>"
again, I commented out without success (and returned to uncommented)

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2012-09-28 17:23

you'll have to ask your host, we can only guess.

-s
All New jQuery Minislideshow for G2/G3

 
CFara

Joined: 2011-01-05
Posts: 5
Posted: Sat, 2012-09-29 00:41

Thanks for the help suprsidr.. I just wanted to pass along my resolution in case anyone else is having problems like mine.

As you suggested I opened a help ticket with Lunarpages and they got back to me saying...

"The issue was due to the recent updates of PHP on COEUS server. I have fixed this issue and your website is working fine at the moment."

Now all is well! Thanks again.

 
d.h2aland

Joined: 2008-10-29
Posts: 8
Posted: Mon, 2012-10-01 19:09

Did LunarPages ever say what the problem was? I now have the same problem symptom (500 error) after they moved my server to a new location. I did not expect that they would do more changes along with the move. I sent them a messsage asking them what might have changed and caused the problem, but LunarPages has not responded.

 
CFara

Joined: 2011-01-05
Posts: 5
Posted: Thu, 2012-10-04 21:41

Aside from the boilerplate "thank you for contacting... sorry for the inconvenience... yadda, yadda, yadda" the only meat of the email to me was as stated above,

"The issue was due to the recent updates of PHP on COEUS server. I have fixed this issue and your website is working fine at the moment."

Once I gave them my details, they had it fixed within about 4 hours. I hope your stuff gets resolved soon!