500 Server Error

Start here! No need to ask twice :)

Re: 500 Server Error

Postby shpoffo » 5:44am, Tue 16 Jun, 2009

@toritaiyo - I did try creating another account with a username and password only containing letters and numbers. no go.

So, I still have the mysterious black page loading after copying files to the server - but before I even get to install.

Has anyone made any progress with this problem? @leonardolg ? @elrod ?

People can see the fail-text I get at http://watersword.org/lists/admin/

Thanks,
Zak
shpoffo
phpList newbie
 
Posts: 0
Joined: 6:32pm, Mon 08 Jun, 2009

Re: 500 Server Error

Postby leonardolg » 12:06pm, Tue 16 Jun, 2009

No, Zak.

I have been trying everything, modifying files, reading almost all topics about this problem and... "blank page". Exactly like your site. I only see that @#!?%$ "blank page".

I even read topics in foruns about PHP, but they are more sofisticated for me and I can't see topics about our problem.

I'm about giving up. God, help-us.

Thanks,
Leonardo
leonardolg
phpList newbie
 
Posts: 3
Joined: 2:12am, Mon 08 Jun, 2009

Re: 500 Server Error

Postby mangelhm » 4:04pm, Thu 09 Jul, 2009

Hey Leonardo, Zak and the company.
I've got the same bloody error 500. I've wasted the most part of the day on applying I've found on this forun and others, and nothing.
I've commented the magic line.
I've checked I've got all the correct lines in all the correct .htaccess files.
I have manually set all the directories to 755 and every and each file to 644.
And nothing:

"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@localhost 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."

Leonardo, what could be making the blank page to appear (perhaps, just perhaps) is your apache configuration, which is not showing errors on screen. It's a config setting. (That was just a suggestion for the blank page)
But what seems not to have any solution is the error 500, at least for me, and as I've seen, for some other users that couldn't get their problems fixed. It seems to be such a common problem (beyond just removing the "magic line") that I would suggest the developers to tackle it. (Again, that was just a suggestion)

Anyway, I am just giving up now and going for something more simple that won't get me wasting yet another day just to be able to start the installation.

Unless someone gets enlightened by a solution.

Cheers.
mangelhm
mangelhm
phpList newbie
 
Posts: 0
Joined: 2:32pm, Thu 09 Jul, 2009

Re: 500 Server Error

Postby kizedek » 11:30am, Thu 30 Jul, 2009

I would love to try and edit my htaccess file, to see if what any of you guys are talking about works in my case on my server!!! I don't even have an htaccess file to begin with! It is nowhere in the lists directory I have uploaded to my server. Where can I get one? I will try creating one and pasting the code in that was kindly listed a few posts above this one.

I have downloaded the latest zip (phplist-2.10.10.zip) and followed installation instructions (uploading lists directory to server, etc.) -- no htaccess file anywhere!
kizedek
phpList newbie
 
Posts: 0
Joined: 11:08am, Thu 30 Jul, 2009

Re: 500 Server Error

Postby Dragonrider » 12:29pm, Thu 30 Jul, 2009

kizedek wrote:I would love to try and edit my htaccess file, to see if what any of you guys are talking about works in my case on my server!!! I don't even have an htaccess file to begin with! It is nowhere in the lists directory I have uploaded to my server. Where can I get one? I will try creating one and pasting the code in that was kindly listed a few posts above this one.

I have downloaded the latest zip (phplist-2.10.10.zip) and followed installation instructions (uploading lists directory to server, etc.) -- no htaccess file anywhere!

On your computer, open the zip file, find the lists folder, open that, and you should see something like this:
Image

The one I've ringed is your .htaccess file, you can edit this in a TEXT editor to remove the php_flag line, resave it and upload the amended file.

If it's not visible on your site, you may need to go to your webspace cpanel (plesk or cpanel) click file manager, and make sure, if offered, "show dot files" IS ticked.
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net, http://dragonrider.co.uk
Latest phpList version is now 3.0.12 (3 February 2015) and requires a minimum of MySQL 5.0 and PHP 5.3.x
Dragonrider
Moderator
 
Posts: 3460
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom

Re: 500 Server Error

Postby kizedek » 1:09pm, Thu 30 Jul, 2009

OK, I found my htaccess file after a couple of uploads. Editing it as advised still got me the 500 error that everyone else is finding.

So, I finally went back to 2.10.9, doing a clean install automatically via Fantastico panel in Cpanel. I can access PHPList once again. However, I am still getting the issues I had before that prompted me to try to upgrade, and I can't find solutions for them on the forum: suddenly I am not getting any HTML messages at all -- only plain text messages come through, and I can't preview what my message will look like.
kizedek
phpList newbie
 
Posts: 0
Joined: 11:08am, Thu 30 Jul, 2009

Re: 500 Server Error

Postby Brownrice » 1:45am, Thu 03 Sep, 2009

Hi

I am getting Error Message 500, I tried all the suggestions mentioned in this topic but they did not work for me so I deleted the entire .htaccess file and the error message went away. Do you think this is a wise thing to do/by doing this will it cause problems?

I am running the latest version 2.10.10

Thanks
Brownrice
phpList newbie
 
Posts: 2
Joined: 1:30am, Thu 03 Sep, 2009

Re: 500 Server Error

Postby Dragonrider » 10:30am, Thu 03 Sep, 2009

Well, if removing the .htaccess file works, it sounds like you didn't successfully make the changes to the file as suggested above.

You really need the contents of the .htaccess file, prior to the php_flag lines, keeping for security in your .htaccess file.

You could then create your own php.ini file for the lists folder
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net, http://dragonrider.co.uk
Latest phpList version is now 3.0.12 (3 February 2015) and requires a minimum of MySQL 5.0 and PHP 5.3.x
Dragonrider
Moderator
 
Posts: 3460
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom

Re: 500 Server Error

Postby Brownrice » 4:14pm, Thu 03 Sep, 2009

Hi and thanks for your reply.
Well, if removing the .htaccess file works, it sounds like you didn't successfully make the changes to the file as suggested above.

Sorry not sure what you mean? I tried this
Code: Select all
DirectoryIndex index.php

<FilesMatch "\.(php|inc)$">
Order allow,deny
deny from all
</FilesMatch>
<FilesMatch "(index.php|dl.php|ut.php|lt.php|download.php)$">
Order allow,deny
allow from all
</FilesMatch>
#php_flag magic_quotes_gpc on

and this
Code: Select all
DirectoryIndex index.php

<FilesMatch "\.(php|inc)$">
Order allow,deny
deny from all
</FilesMatch>
<FilesMatch "(index.php|dl.php|ut.php|lt.php|download.php)$">
Order allow,deny
allow from all
</FilesMatch>

You could then create your own php.ini file for the lists folder

Can you explain how to do it?
Brownrice
phpList newbie
 
Posts: 2
Joined: 1:30am, Thu 03 Sep, 2009

Re: 500 Server Error

Postby Dragonrider » 6:04pm, Thu 03 Sep, 2009

Logically, either of the two version of .htaccess you give should work.

php.ini create in text editor as per Item 2
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net, http://dragonrider.co.uk
Latest phpList version is now 3.0.12 (3 February 2015) and requires a minimum of MySQL 5.0 and PHP 5.3.x
Dragonrider
Moderator
 
Posts: 3460
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom

Re: 500 Server Error

Postby Brownrice » 6:47pm, Thu 03 Sep, 2009

Followed the link, created the php.ini file and added 'php_flag magic_quotes_gpc on' still getting Error 500?
Brownrice
phpList newbie
 
Posts: 2
Joined: 1:30am, Thu 03 Sep, 2009

Re: 500 Server Error

Postby Dragonrider » 9:21pm, Thu 03 Sep, 2009

Brownrice wrote:Followed the link, created the php.ini file and added 'php_flag magic_quotes_gpc on' still getting Error 500?

That's prob because you've added the php_flag to the line. Just use magic_quotes_gpc = ON in the php.ini file, and try again. If it still gives 500 error, sounds almost as if you may not be allowed to use .htaccess files???
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net, http://dragonrider.co.uk
Latest phpList version is now 3.0.12 (3 February 2015) and requires a minimum of MySQL 5.0 and PHP 5.3.x
Dragonrider
Moderator
 
Posts: 3460
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom

Re: 500 Server Error

Postby Brownrice » 10:45am, Fri 04 Sep, 2009

Dragonrider - My hosts did something and it is working now. I still needed to follow your instructions above though.

Thank you for your help!
Brownrice
phpList newbie
 
Posts: 2
Joined: 1:30am, Thu 03 Sep, 2009

Re: 500 Server Error

Postby Dragonrider » 12:23pm, Fri 04 Sep, 2009

Glad to hear it's sorted. :D
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net, http://dragonrider.co.uk
Latest phpList version is now 3.0.12 (3 February 2015) and requires a minimum of MySQL 5.0 and PHP 5.3.x
Dragonrider
Moderator
 
Posts: 3460
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom

Re: 500 Server Error

Postby Heritage » 6:45pm, Tue 17 Nov, 2009

Had the dreaded 500 server error. I posted a solid fix here in another thread:

viewtopic.php?f=3&t=28666&p=70150#p70150

May help others which are on cPanel. Not a bug, but install procedure issue.
Heritage
Moderator
 
Posts: 223
Joined: 3:25pm, Fri 23 Jun, 2006
Location: 800 720-7301

PreviousNext

Return to Frequently Asked Questions

Who is online

Users browsing this forum: No registered users and 1 guest