Jump to content

[Solved] Internal server error - php page & cpanel


Bart623

Recommended Posts

Hello people

 

I can't acces my cpanel on /cpanel anymore, and additionally when I try to go to my contact page (php) I get the same error!

My username is bart623, I'm on Stevie.

 

There is nothing in the error log about this.

 

Does anyone know what causes this?

 

....

 

Internal Server Error

 

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

 

Please contact the server administrator, webmaster@-------- 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 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

Apache/2.2.16 (Unix) mod_ssl/2.2.16 OpenSSL/0.9.8e-fips-rhel5 mod_mono/2.6.3 FrontPage/5.0.2.2635 mod_bwlimited/1.4 mod_auth_passthrough/2.1 mod_wsgi/3.2 Python/2.4.3 Server at macdocent.nl Port 80

 

....

 

 

Thank you!

Link to comment
Share on other sites

Thank you for your quick reply.

I really don't know what causes this...

I tried removing all my files in the public_html, but even that didn't solve it.

 

Anyway, thanks again, I hope a solution can be found.

 

edit: all non-hidden files obviously

Link to comment
Share on other sites

Hmm, tried doing a chmod to 0755 on your public_html files but to no avail.

 

Not all files need or should be chmoded to 755. ALL html & php files should be 644.

 

@Bart623: Your probably going to need to post your username and domain name for djbob. Once the problem gets resolved you can edit out that part of your post.

 

 

 

Link to comment
Share on other sites

Yes, I am aware of that byron. I did a chmod on his public_html as well as it's contents - I couldn't find the SSH command to chmod just the directories. Is it extremely important that files are 0644?

 

Sorry,

Link to comment
Share on other sites

Yes, I am aware of that byron.

I figured you knew that but I wanted to make sure Bart623 knew that. :)

 

It's important if you like doing it the correct way. I don't know that there's any security risk by chmoding php or html files to 755, but you just don't need execute permissions on those files. The only time I've ever needed to give execute permissions on an html file is when I wanted to use SSI without changing the .html extension to .shtml. Then it required only 744 and this in the .htaccess file: XBitHack on

 

To chmod only html files in a directory, something like:

 

find -name "*.html" -exec chmod 644 {} \;

 

Only directories:

 

find -type d -exec chmod 755 {} \;

 

 

Link to comment
Share on other sites

/cpanel worked, but /contact/index.php didn't.

 

So I reuploaded all files, now /cpanel and /contact/index.php are broken again.

 

However I can still acces my cpanel through heliohost.org of course.

I did clear my cache, cookies etc.

 

I suppose that you can't do anything about it, and that it has to do something with my files

Is that correct?

 

The URL that gives me the internal server error is: http://macdocent.nl/contact/index.php

 

Thanks again

 

edit: I tried to strip out some of the code that might have caused it, same result...

I think it's just all php files.

 

The page is on macdocent.nl/contact-form/index.php now

Link to comment
Share on other sites

The problem was that imapd was spinning off too many processes, and we only allot each user a maximum of 7 simultaneous processes. I killed your imapd processes and your site seems to load fine now.

Link to comment
Share on other sites

Thank you!

 

Killing the imapd processes wasn't the solution, but the problem is the that indeed!

 

I use a e-mail client called 'Sparrow' on my Mac.

When I closed it, it also worked for me :rolleyes:

 

Every time I tried it I had this application opened...

 

I experimentate a bit to find out if I can still use this application, without my website malfunctioning.

 

Again, thanks, a solution has been found

 

edit: Linked Google Apps, and it works now :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...