#263 closed Defect (invalid)
Internal Server Error 500 directly after installation Elgg 1.0
| Reported by: | rwin2007 | Owned by: | |
|---|---|---|---|
| Priority: | critical | Milestone: | Elgg 1.0 |
| Component: | Core | Version: | 2.0 |
| Severity: | critical | Keywords: | install, internal server error 500, installation, elgg |
| Cc: | brettp | Difficulty: |
Description
I encountered a Internal Server Error 500 directly after trying to install Elgg 1.0
After uploading files & creating a "data" directory I visited the root of elgg. An installation form for database settings appeared and i filled in the correct db info. After clicking on SAVE the Internal Error 500 appeared. No way to run the install again.
I am trying to install it on a Godaddy Hosting server.
Anybody else experienced this, even better; Somebody has got a fix?
Waited long for Elgg 1.0 and now it is released i don't get it to work.
Could use some help. Thanks
Attachments (1)
Change History (25)
comment:1 Changed 5 years ago by marcus
comment:2 Changed 5 years ago by ncmonteiro
i experience the same problem. i have installed on different directories, give write permission, change the RewriteBase to everything possible and nothing happens but the Server error 500.
I try to install in the root directory:
Everything goes right but the .htaccess file. When i delete .htaccess file, the installation goes, as normal, to the page that asks to rename htaccess_dist to .htaccess again.
After this procedure it goes blank as the first time.
comment:3 Changed 5 years ago by ncmonteiro
oh, and my database is empty...
comment:4 Changed 5 years ago by rwin2007
renaming my htaccess file generates the following error:
Fatal error: Exception thrown without a stack frame in Unknown on line 0
What kind of configuration are you referring to?
I only installed the files, made data directory en tried to run the install. After filling in the Database form it stopped working.
mmmmm......
comment:5 Changed 5 years ago by rwin2007
Now i am a little futher. Why it went on I don't know ( changed nothing). Now it stopped after filling in Website Title, path etc.
Looks like it want to startup install but fails on this page:
http://www.DOMAINNAME.com/action/systemsettings/install
this url doesn't exists.
Could the problem be in the htaccess file?
PS Database tables are created but are empty here, except for 1 record in datalist.
Any help on this one?
comment:6 Changed 5 years ago by marcus
1) You need to create the database first as per the instructions here: http://docs.elgg.org/wiki/Installation
2) It not finding an action is pointing to an error with your mod_rewrite rules. Please consult the troubleshooting guide at http://docs.elgg.org/wiki/Troubleshooting
comment:7 Changed 5 years ago by ncmonteiro
i give permission 777 to the root installation folder and to the engine folder; deleted the existing created files (setting.php and .htaccess); created new database and user; star again and NOW IT WORKS... never will understand what i was doing wrong :)
thks!
comment:8 Changed 5 years ago by marcus
- Resolution set to fixed
- Status changed from new to closed
Glad to hear it :)
comment:9 Changed 5 years ago by rwin2007
- Resolution fixed deleted
- Status changed from closed to reopened
Waitwait. Happy for you ncmonteiro but my install still doesn't work:
see result www dot linkedbusinessintelligence dot com
i removed all files uploaded & DB and started over:
- uploaded all files from the zip
- create a new DB in my hosting panel @ godaddy a database which i can access from third party app.
- I created a dir called data and set attributes to 777
- went to the above domain and the installer appears
- gave exact DB login credentials for godaddy, So NO localhost but a specific server + username,dbname + pass.
- Hit Save and all goes dead to an Internal Server Error 500
- If I open my DB manager i see the tables have been made but are all empty except DATALIST contains 1 record site secret ....
thats it. Tried ALL above but no working install here for now. Looks like the installer doesn't haven't idea what to do after the Database Form. Any help would be great.
BTW There are running over 20 Wordpress installes here smooth together. No problem with mod_rewrite, htaccess or what ....
comment:10 Changed 5 years ago by marcus
BTW There are running over 20 Wordpress installes here smooth together. No problem with mod_rewrite, htaccess or what ....
You sure about that? 500 points to a server misconfiguration. What's the contents of your .htaccess file?
comment:11 Changed 5 years ago by rwin2007
Am i sure? You can check the above mentioned domain to see it for your self.
Here is my htaccess file. Thanks for the help
# Elgg htaccess directives
# Copyright Curverider Ltd 2008
# License http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
# Link http://elgg.org/
php_flag magic_quotes_gpc off
RewriteEngine on
#
# If you are installing Elgg to an unusual location (for example your personal public_html directory)
# then you may need to uncomment this line and modify accordingly:
#
# RewriteBase /web/path/to/elgg/root/
#
RewriteRule cron\/$ engine/handlers/cron_handler.php
RewriteRule action\/([A-Za-z\_\-\/]+)$ engine/handlers/action_handler.php?action=$1
RewriteRule actions\/([A-Za-z\_\-\/]+)$ engine/handlers/action_handler.php?action=$1
RewriteRule export\/([A-Za-z]+)\/([0-9]+)$ services/export/handler.php?view=$1&guid=$2
RewriteRule export\/([A-Za-z]+)\/([0-9]+)\/$ services/export/handler.php?view=$1&guid=$2
RewriteRule export\/([A-Za-z]+)\/([0-9]+)\/([A-Za-z]+)\/([A-Za-z0-9\_]+)\/$ services/export/handler.php?view=$1&guid=$2&type=$3&idname=$4
RewriteRule \_css\/css\.css$ _css/css.php
RewriteRule pg\/([A-Za-z\_\-]+)\/(.*)$ engine/handlers/pagehandler.php?handler=$1&page=$2
RewriteRule pg\/([A-Za-z\_\-]+)$ engine/handlers/pagehandler.php?handler=$1
RewriteRule xml-rpc.php engine/handlers/xml-rpc_handler.php
RewriteRule mt/mt-xmlrpc.cgi engine/handlers/xml-rpc_handler.php
comment:12 Changed 5 years ago by rwin2007
you are right. It isn't 500 error now.. but it was the first few installation runs
comment:13 Changed 5 years ago by ncmonteiro
guess what: my elgg installation is blank, after all afternoon testing xD
i'm not getting the solution but tomorrow i'll start again
comment:14 Changed 5 years ago by rwin2007
you are not serious! strange. Too bad i cann't get it stable. I just finished testing on a other server at othre hosting company but no difference. Glad i am not getting crazy here... but what is the prob?
comment:15 Changed 5 years ago by marcus
Please confirm:
1) Mysql version
2) PHP version (and whether it is apache mod or CGI)
3) If you edited .htaccess using a text editor (rather than letting elgg do it) the rewrite rules are not wrapped around (check with original)
And crucially,
4) If there are any errors in the apache error log
comment:16 Changed 5 years ago by marcus
Also can you confirm that you are installing to a new *clean* database?
comment:17 Changed 5 years ago by rwin2007
confirm... more than once. on several servers. Godaddy meets the requirements.
comment:18 Changed 5 years ago by marcus
Ok, but could you please provide any messages generated in the apache error logs when the error is being displayed?
Without this information I will not be able to work out what could be causing this error.
comment:19 Changed 5 years ago by rwin2007
now what....?
Is there also a installation service (paid)?
comment:20 Changed 5 years ago by marcus
I am trying to help you, but if you are unable to give the information requested there is very little I (or anybody) can do about it.
comment:21 Changed 5 years ago by rwin2007
i do not have apache access to any log files. Also client side logging was off.
i understand you are helping. But i also delivered detailed info my side and still open to provide ftp access. Else I keep on trying and you can close it for now. Keep in touch and thanks in advance.
Changed 5 years ago by ncmonteiro
comment:22 Changed 5 years ago by ncmonteiro
is this what you are asking for? see attachment log.txt
if so, notice that by 20h02, dinner time :), i stopped testing elgg and when i came back the installation went blank, around 21h27.
i have my installation on www.iscapianos.net/rede/ and my data directory is in /httpdocs/data/
httpdocs is the domain root folder.
my .htaccess file:
# Elgg htaccess directives
# Copyright Curverider Ltd 2008
# License http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
# Link http://elgg.org/
php_flag magic_quotes_gpc off
RewriteEngine on
#
# If you are installing Elgg to an unusual location (for example your personal public_html directory)
# then you may need to uncomment this line and modify accordingly:
#
# RewriteBase
#
RewriteRule cron\/$ engine/handlers/cron_handler.php
RewriteRule action\/([A-Za-z\_\-\/]+)$ engine/handlers/action_handler.php?action=$1
RewriteRule actions\/([A-Za-z\_\-\/]+)$ engine/handlers/action_handler.php?action=$1
RewriteRule export\/([A-Za-z]+)\/([0-9]+)$ services/export/handler.php?view=$1&guid=$2
RewriteRule export\/([A-Za-z]+)\/([0-9]+)\/$ services/export/handler.php?view=$1&guid=$2
RewriteRule export\/([A-Za-z]+)\/([0-9]+)\/([A-Za-z]+)\/([A-Za-z0-9\_]+)\/$ services/export/handler.php?view=$1&guid=$2&type=$3&idname=$4
RewriteRule \_css\/css\.css$ _css/css.php
RewriteRule pg\/([A-Za-z\_\-]+)\/(.*)$ engine/handlers/pagehandler.php?handler=$1&page=$2
RewriteRule pg\/([A-Za-z\_\-]+)$ engine/handlers/pagehandler.php?handler=$1
RewriteRule xml-rpc.php engine/handlers/xml-rpc_handler.php
RewriteRule mt/mt-xmlrpc.cgi engine/handlers/xml-rpc_handler.php
i thought i had no change the RewriteBase command to /httdocs/rede/ but nothing results. the best case i had was with # before the RewriteBase.
i'm sorry for my English and i hope i can help some way.
comment:23 Changed 5 years ago by marcus
- Resolution set to invalid
- Status changed from reopened to closed
[Tue Aug 19 21:48:40 2008] [error] [client 88.157.242.179] /var/www/vhosts/iscapianos.net/httpdocs/rede/views/mobile/search/entity_list.php
[Tue Aug 19 21:48:40 2008] [error] [client 88.157.242.179] [This view (search/entity_list) does not exist]
[Tue Aug 19 21:48:40 2008] [error] [client 88.157.242.179] /var/www/vhosts/iscapianos.net/httpdocs/rede/views/mobile/account/forms/login.php
[Tue Aug 19 21:48:40 2008] [error] [client 88.157.242.179] [This view (account/forms/login) does not exist]
[Tue Aug 19 21:48:40 2008] [error] [client 88.157.242.179] /var/www/vhosts/iscapianos.net/httpdocs/rede/views/mobile/canvas/default.php
[Tue Aug 19 21:48:40 2008] [error] [client 88.157.242.179] [This view (canvas/default) does not exist]
[Tue Aug 19 21:48:40 2008] [error] [client 88.157.242.179] /var/www/vhosts/iscapianos.net/httpdocs/rede/views/mobile/pageshells/pageshell.php
You have set your view to "mobile", this doesn't exist. Reinstall and set it to "default" (without the quotes). This is an issue unrelated to this ticket.
@rwin2007: The version in trunk branch of SVN has some additions to the installer which might help you. I suggest you give them a try.
We will be making a package available later today which will include these changes.
comment:24 Changed 5 years ago by ncmonteiro
thanks! i feel stupid! (forgot that i was using this test when i thought i was using another one)
Thanks a lot.

Please check your configuration, in addition could you please check to see if there are any errors in the apache error log?