largersmallernormaltext version of this page

View topic - 500 Server Error

Frequently Asked Questions: 500 Server Error
Page 2 of 3 Goto page Previous  1, 2, 3  Next
Post new topic
Author Message
H2B2 Posted: 3:32pm, Thu 11 Oct, 2007 Reply with quote
Bill Gates
Joined: 15 Mar 2006
Posts: 4919
View user's profile
Send private message
gabimazz wrote:

Quote:
[Thu Oct 11 09:37:33 2007] [alert] [client 62.101.126.214] /web/htdocs/www.logalab.it/home/newsletter/.htaccess: DirectoryIndex not allowed here

Apparently your host doesn't allow certain directives in .htaccess, so I guess you would need to contact them and ask them to change the DirectoryIndex setting of your Apache configuration to index.php index.html (in that order).

_________________
User guide | FAQs | Troubleshooting | Backup
gabimazz Posted: 6:19pm, Thu 11 Oct, 2007 Reply with quote
phplist newbie
Joined: 11 Oct 2007
Posts: 4
View user's profile
Send private message
Many thanks. I will do it.

gabi
GioMBG Posted: 3:39pm, Sat 13 Oct, 2007 Reply with quote
phplister
Joined: 03 Jan 2005
Posts: 12
View user's profile
Send private message
Hi All!
For me is a bug of new release of phplist that don't want consider somethink like in the old phplist version because if i switch in the same server partition I can see the version 2.10.4 that Go GOOD!
but the new version 2.10.5 do the internal server error. WAY? Sad
So: If the old version go and the new no
Any Suggestion?
Respect
GioMBG
H2B2 Posted: 4:06pm, Sun 14 Oct, 2007 Reply with quote
Bill Gates
Joined: 15 Mar 2006
Posts: 4919
View user's profile
Send private message
Just a reminder:
michiel wrote:
please try to be precise when asking a question. Your situation can be quite different from someone elses, so in order to actually get a reply to your question, it will be useful to explain a few things, when you encounter a problem with PHPlist.

- what version of PHPlist have you installed?
- what version of PHP do you use?
- do you have your own server, or are you in a shared hosting environment?
- What Operating System (type and version) do you run

- What are you exactly trying to achieve?
- What page are you on (look at ?page=something) in the URL bar
- What did you do?
- What happened?
- What did you expect to happen?

And anything else you may think off that may help others to understand your situation, and possibly have a suggestion how to fix it.


Also, you may want to check a few things before posting a question:

- did the files upload correctly? Maybe the FTP transfer was cut off half way.
- did you double check your config file. It's quite a long file, so maybe you've overlooked something.
Ref: http://forums.phplist.com/viewtopic.php?p=1994#1994

GioMBG wrote:
Any Suggestion?
Besides providing some more details that might help other users help you, did you check the the suggested change to the .htaccess file as mentioned somewhere at the beginning of this thread, and in the troubleshooting documentation?

_________________
User guide | FAQs | Troubleshooting | Backup
gabimazz Posted: 2:38pm, Mon 15 Oct, 2007 Reply with quote
phplist newbie
Joined: 11 Oct 2007
Posts: 4
View user's profile
Send private message
Hi,

I'm back again. It seems that my host doesn't allow certain directive. Reading through his paper I discovered something regarding the creation of a Listing directory which allow the Directoryindex directive.
I just tried and therefore my new path is:

http://www.logalab.it/listing/newsletter/admin

But when I try to go there I have again error 500 with the following server log:


Quote:
[Mon Oct 15 16:31:06 2007] [alert] [client 62.101.126.214] /web/htdocs/www.logalab.it/home/listing/newsletter/.htaccess: order not allowed here


the htaccess is:

Quote:


DirectoryIndex index.php index.html



<FilesMatch>

Order allow,deny

deny from all

</FilesMatch>

<FilesMatch>

Order allow,deny

allow from all

</FilesMatch>


They won't change anything just for me. Is there another solution or should I give up phplist?

Thanks
gabi
H2B2 Posted: 10:54pm, Mon 15 Oct, 2007 Reply with quote
Bill Gates
Joined: 15 Mar 2006
Posts: 4919
View user's profile
Send private message
Some users have mentioned removing the .htaccess file as a "fix", but this will create a security risk, and this NOT something I would recommend.

In this report Tki2000 suggests changing the .htaccess files as a possible workaround: http://mantis.phplist.com/view.php?id=9937
I'm not sure what changes should be made, so you'll have to research that or hope someone else can help you.

_________________
User guide | FAQs | Troubleshooting | Backup
gabimazz Posted: 12:47pm, Tue 16 Oct, 2007 Reply with quote
phplist newbie
Joined: 11 Oct 2007
Posts: 4
View user's profile
Send private message
Hi.

I will check the link and keep in touch with the forum to see if a solution rises up.

thanks
gabi
motocafe Posted: 5:11am, Sun 04 Nov, 2007 Reply with quote
phplister
Joined: 27 May 2006
Posts: 6
View user's profile
Send private message
changing: php_flag magic_quotes_gpc

to: #php_flag magic_quotes_gpc

in .htaccess worked for me!
hughfr Posted: 11:00pm, Wed 12 Dec, 2007 Reply with quote
phplist newbie
Joined: 12 Dec 2007
Posts: 2
Location: UK
View user's profile
Send private message
Visit poster's website
Hi all,
Ok i have checked me server error logs and this is what i have found:

/home/fa13hugh/public_html/lists/.htaccess: Invalid command 'php_flag', perhaps mis-spelled or defined by a module not included in the server configuration
I have tried CHMOD to 666 AND 777 also commenting with #, nothing has worked.

version is 2.10.5

Any ideas?

Hugh Fraser
Dragonrider Posted: 6:24am, Thu 13 Dec, 2007 Reply with quote
Moderator
Joined: 02 Jul 2006
Posts: 762
Location: Ilkley
View user's profile
Send private message
Visit poster's website
Sounds like your host does not permit php_flag options in the .htaccess file.

Remove the line(s) from the .htaccess file and put them in a php.ini file instead, BUT without the php_flag prefix.

_________________
Feel free to check out my sites:- Music Festival, Gardeners, Theatre Group, First Aid
hughfr Posted: 12:25am, Fri 14 Dec, 2007 Reply with quote
phplist newbie
Joined: 12 Dec 2007
Posts: 2
Location: UK
View user's profile
Send private message
Visit poster's website
Hi Dragonrider,
Tried what you said about the php.ini file and it's still not working. Sad

Any more ideas?

Hugh Fraser
mimmoce Posted: 12:25am, Fri 28 Dec, 2007 Reply with quote
phplist newbie
Joined: 28 Dec 2007
Posts: 3
View user's profile
Send private message
it'it's incredible... i've a 100webspace.net server and... when i move the htaccess file to the root... it tells me that it's moved but. THERE ISN'T.. incredible...
only this file cannot be moved inside
Judis Posted: 10:16pm, Thu 03 Jan, 2008 Reply with quote
phplist newbie
Joined: 20 Apr 2007
Posts: 3
Location: London, Canada
View user's profile
Send private message
motocafe wrote:
changing: php_flag magic_quotes_gpc

to: #php_flag magic_quotes_gpc

in .htaccess worked for me!


This also worked for me. Although PHPList was working well for over a year this 500 Error suddenly appeared... makes me think the host has made some changes. I've pinged them with that question and hope to hear a reply shortly.

J.
H2B2 Posted: 3:13am, Fri 04 Jan, 2008 Reply with quote
Bill Gates
Joined: 15 Mar 2006
Posts: 4919
View user's profile
Send private message
mimmoce wrote:
when i move the htaccess file to the root... it tells me that it's moved but. THERE ISN'T.. incredible...
only this file cannot be moved inside
.htaccess files are hidden files. You can check whether they are in place by using the 'show hidden files' option of your FTP client (Filezilla, for instance, has this option).

_________________
User guide | FAQs | Troubleshooting | Backup
iconicweb Posted: 1:55pm, Sun 20 Jan, 2008 Reply with quote
phplister
Joined: 20 Jan 2008
Posts: 6
Location: Germany
View user's profile
Send private message
Visit poster's website
Hi folks
This problem occured when I uploaded the Zip file and unzipped it on my server using the Cpanel unzip option.

After many hours of frustration I deleted the entire folder from my server, Unzipped the zip file on my local computer then FTP's the lists folder up to my server and hey presto everything worked perfectly without any modifications to the htaccess file or anything else.

I think this issue is created on some servers when the PERMISSIONS are incorrectly set, which can happen when you unzip the file on the server instead of uploading the unzipped package.

www.iconicweb.com.au

_________________
IconicWeb - Superior Web Design and Hosting.....

Display posts from previous:  

Page 2 of 3 Goto page Previous  1, 2, 3  Next
Post new topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
View next topic
View previous topic