Page 1 of 1
500 Internal Server Error
Posted: Wed Jul 18, 2007 7:30 pm
by ellaissad
I just downloaded version 1.1 and uploaded the files to the server and ran index.php. It gave me a 500 internal server Error.
Any ideas?
I have installed 1.0.8 before for the same web host and everything work fine.
I haven't point this web server to any particular domain name yet (still user the web hosting default domain..)
can that be the problem?
Operating system Linux
Apache version 1.3.37 (Unix)
PERL version 5.8.8
PHP version 4.4.7
MySQL version 5.0.27-standard
Thanks so much!
Re: 500 Internal Server Error
Posted: Wed Jul 18, 2007 7:40 pm
by tsw
and what does apache log say?
Re: 500 Internal Server Error
Posted: Wed Jul 18, 2007 7:48 pm
by ellaissad
Premature end of script headers: /home/advan64/public_html/index.php

Re: 500 Internal Server Error
Posted: Wed Jul 18, 2007 7:51 pm
by tsw
probably broken upload
Re: 500 Internal Server Error
Posted: Wed Jul 18, 2007 7:57 pm
by ellaissad
I have tried re-upload.. same thing happen.
Maybe I should use some other ftp program??
Re: 500 Internal Server Error
Posted: Wed Jul 18, 2007 8:00 pm
by tsw
maybe
Re: 500 Internal Server Error
Posted: Thu Jul 19, 2007 8:11 pm
by ellaissad
I think I found the problem...
Right now the web site is not being pointed to
http://www.websiteaddress.com/index.php
It is going to
http://www.mywebhost.com/~myaccount/index.php
And this gives me a 500 internal server error.
I tested it with the current working version of my other web site. I visited
http://www.myotherwebsite.com/index.php and it works fine. But when I typed
http://www.mywebhost.com/~myotheraccount/index.php and it gives me error 500.
The new web site is hosted on a shared server and right now I can't change the DNS to point to this account because the web site will be live and it is nowhere nearly completion. They still have their web site hosted by another company with a similar CMS so I don't think there's a easy way for me to copy or move their existing web site for now while I am building the new one.
Any suggestions? Any way to easily move the cms database from one ftp to another without destroying the files/data?
please help!!
Re: 500 Internal Server Error
Posted: Thu Jul 19, 2007 8:19 pm
by Pierre M.
Hello,
ellaissad wrote:
Any way to easily move the cms database from one ftp to another without destroying the files/data?
Copy to a new server is in the doc.
Back up, back up, back up.
Rerunning the installer without creating database tables&objects (don't check the box) provides a new config.php for the new server.
Pierre M.
Re: 500 Internal Server Error
Posted: Thu Jul 19, 2007 8:24 pm
by ellaissad
Thanks for your reply Pierre.
I don't believe the hosting plan allows me to run command stuff or ssh or sftp...
Can I do it manually?
Re: 500 Internal Server Error
Posted: Thu Jul 19, 2007 8:43 pm
by Pierre M.
Only the small howto uses SSH. But the "basic steps" above the Howto describe the moving process/idea and can be walked through with simple plain old
FTP.
Remember : back up, back up, back up, back up...
Pierre M.
Re: 500 Internal Server Error
Posted: Thu Jul 19, 2007 8:57 pm
by ellaissad
Thank you! I'll try that.
Re: 500 Internal Server Error
Posted: Wed Aug 08, 2007 6:14 am
by caktux
Hi,
I just had the same problem over here installing v.1.1. I was also installing cmsms temporarily (
http://22.22.22.22/~username/.........) on my host.
here are the logs I had :
[2007-08-07 23:01:29]: error: directory is writable by others: (/home/*****/public_html/install)
[Tue Aug 7 23:01:29 2007] [error] [client 66.130.155.69] Premature end of script headers: /home/*******/public_html/install/index.php
I solved the problem by simply doing a chmod 755 on the install directory instead of the 775 it had after uploading. I had to do the same with the admin/ directory. Hope this helps!
Re: 500 Internal Server Error
Posted: Thu Aug 16, 2007 10:14 am
by Tealon
I had a 500 error by putting a .htaccess file on my server with the following line: php_flag display_errors on
Just replacing the .htaccess file with a blank one, solved the problem.