Server 500 error - newbie installation
Server 500 error - newbie installation
I've gone through the configuration, had the screen that tells me it's a success, and then gives me a link to my new blog. When I click the link I get a Server 500 error, with the following message:
" The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script."
I'm running PHP 4.3.4, Apache 2.0.49 on SuSE Linux.
Any suggestions?
" The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script."
I'm running PHP 4.3.4, Apache 2.0.49 on SuSE Linux.
Any suggestions?
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Server 500 error - newbie installation
Which Serendipity version? Please try the latest snapshot.
Regards,
Garvin
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
if you have shell access, run this code from shell ("filename.php" is your index.php of your s9y program)
if you get any error, please paste that here.
else if you get the HTML generated code of S9Y run:
I:
II:
create a file with the following contents
and call it from your browser (eg. http://127.0.0.1/phpinfo.php)
then attach the generated HTML file to your next message OR upload that and give us the URL.
and please copy/paste here, the premission and owner of your s9y DIRECTORY and FILES here.
regards, omid
Code: Select all
php -q filename.php
else if you get the HTML generated code of S9Y run:
I:
Code: Select all
whereis php
create a file with the following contents
Code: Select all
<?php
phpinfo();
?>
then attach the generated HTML file to your next message OR upload that and give us the URL.
and please copy/paste here, the premission and owner of your s9y DIRECTORY and FILES here.
regards, omid
My Blog, powered by s9y is http://oxygenws.com/blog/
im the same problem too ... snapshot:20050301oxygenws wrote:if you have shell access, run this code from shell ("filename.php" is your index.php of your s9y program)if you get any error, please paste that here.Code: Select all
php -q filename.php
else if you get the HTML generated code of S9Y run:
I:II:Code: Select all
whereis php
create a file with the following contentsand call it from your browser (eg. http://127.0.0.1/phpinfo.php)Code: Select all
<?php phpinfo(); ?>
then attach the generated HTML file to your next message OR upload that and give us the URL.
and please copy/paste here, the premission and owner of your s9y DIRECTORY and FILES here.
regards, omid
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Guest, when installing, try to use "NONE" as value for "URL Rewriting" dropdown
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Then please have a log at your webserver's error_log, there should be a complete note why the internal server error occured...
If you used 'none' as rewriting I don't know what it causes. Edit your .htaccess file and remove the "DirectoryIndex" directive, maybe that helps...
Regards,
Garvin
If you used 'none' as rewriting I don't know what it causes. Edit your .htaccess file and remove the "DirectoryIndex" directive, maybe that helps...
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Guest: See http://www.s9y.org/forums/viewtopic.php?t=1183 for the SQL-output.
If without .htaccess it works for you this may be because your apache does not meet the requirements we have in our INSTALL file ("AllowOverride All").
Regards,
Garvin
If without .htaccess it works for you this may be because your apache does not meet the requirements we have in our INSTALL file ("AllowOverride All").
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
I got the following error when I ran the first command:oxygenws wrote:if you have shell access, run this code from shell ("filename.php" is your index.php of your s9y program)if you get any error, please paste that here.Code: Select all
php -q filename.php
else if you get the HTML generated code of S9Y run:
and please copy/paste here, the premission and owner of your s9y DIRECTORY and FILES here.
Code: Select all
Warning: main(./serendipity_config_local.inc.php): failed to open stream: Permission denied in /home/[myusername]/public_html/serendipity/serendipity_config.inc.php on line 177
Warning: main(): Failed opening './serendipity_config_local.inc.php' for inclusion (include_path='.:/usr/share/php') in /home/[myusername]/public_html/serendipity/serendipity_config.inc.php on line 177
Fatal error: Call to undefined function: serendipity_db_connect() in /home/[myusername]/public_html/serendipity/serendipity_config.inc.php on line 198
Code: Select all
drwxrwxr-x 2 wwwrun www 48 2005-03-02 17:48 archives
drwxr-xr-x 12 me users 352 2005-03-02 12:38 bundled-libs
-rw-r--r-- 1 me users 6690 2005-01-26 16:03 comment.php
drwxr-xr-x 2 me users 128 2005-03-02 12:38 CVS
drwxr-xr-x 3 me users 528 2005-03-02 12:38 deployment
drwxr-xr-x 3 me users 344 2005-03-02 12:37 docs
-rw-r--r-- 1 me users 1480 2005-01-26 14:15 exit.php
drwxr-xr-x 8 me users 520 2005-03-02 12:37 htmlarea
drwxr-xr-x 6 me users 672 2005-03-02 12:37 include
-rw-r--r-- 1 me users 11626 2005-03-02 09:58 index.php
drwxr-xr-x 3 me users 1080 2005-03-02 12:37 lang
drwxr-xr-x 35 me users 1632 2005-03-02 12:38 plugins
-rw-r--r-- 1 me users 10109 2005-02-14 16:23 rss.php
-rw-r--r-- 1 me users 11163 2005-03-01 12:32 serendipity_admin_image_selector.php
-rw-r--r-- 1 me users 12429 2005-03-02 09:23 serendipity_admin.php
-rw-r--r-- 1 me users 11390 2005-03-02 09:23 serendipity_config.inc.php
-rwx------ 1 wwwrun www 585 2005-03-02 17:48 serendipity_config_local.inc.php
-rw-r--r-- 1 me users 1690 2005-03-02 09:23 serendipity.css.php
-rw-r--r-- 1 me users 599 2005-01-26 14:15 serendipity_define.js.php
-rw-r--r-- 1 me users 7481 2005-01-28 11:06 serendipity_editor.js
-rw-r--r-- 1 me users 19398 2005-01-26 16:03 serendipity_xmlrpc.php
drwxr-xr-x 3 me users 2416 2005-03-02 12:37 sql
drwxr-xr-x 21 me users 624 2005-03-02 12:38 templates
drwxrwxrwx 3 me users 104 2005-03-02 12:38 templates_c
drwxrwxr-x 2 wwwrun www 48 2005-03-02 17:48 uploads
-rw-r--r-- 1 me users 1478 2005-01-27 12:46 wfwcomment.php
The snapshot was 200503021338
this is PHP error, HTTP 500 (mostly) is Apache error. so there isn't any problem... and please do all things that i want.I got the following error when I ran the first command:
and do these step too....
1- go to your installed serendipity directory
2- do:
Code: Select all
cat .htaccess
4- go to parent directory of current directory.
5- if (this is not your apache ROOT directory) then go to step "1" (do all steps) ELSE finish :>
regards, omid
My Blog, powered by s9y is http://oxygenws.com/blog/