Internal Server Error

Having trouble installing serendipity?
Post Reply
francho
Posts: 1
Joined: Sun Jun 17, 2007 5:40 am

Internal Server Error

Post by francho »

I was trying to download a plugin and crushed the whole weblog system, now I cannot get back on to the weblog through the Internet, generating an Internal Server Error. And the Error Log showing these messages-

[16-Jun-2007 11:01:08] PHP Warning: Invalid argument supplied for foreach() in /home/asaqjquz/public_html/serendipity/plugins/serendipity_event_contentrewrite/serendipity_event_contentrewrite.php on line 154
[16-Jun-2007 11:01:08] PHP Warning: Invalid argument supplied for foreach() in /home/asaqjquz/public_html/serendipity/plugins/serendipity_event_contentrewrite/serendipity_event_contentrewrite.php on line 154
[16-Jun-2007 21:47:49] PHP Fatal error: Call to a member function on a non-object in /home/asaqjquz/public_html/serendipity/include/admin/plugins.inc.php on line 441
[16-Jun-2007 21:47:57] PHP Fatal error: Call to a member function on a non-object in /home/asaqjquz/public_html/serendipity/include/admin/plugins.inc.php on line 441
[16-Jun-2007 21:48:23] PHP Fatal error: Call to a member function on a non-object in /home/asaqjquz/public_html/serendipity/include/admin/plugins.inc.php on line 441

Can someone tell me what to do, to reverse the Internal Server Error. TIA
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Internal Server Error

Post by garvinhicking »

Hi!

Which plugin did you download? You can try to fix it by deleting this directory from the /plugins/ directory of your blog...

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/
comdespagne
Regular
Posts: 19
Joined: Mon Jul 02, 2007 4:49 pm
Location: France
Contact:

same problem

Post by comdespagne »

I think I've got the same kind of problem, except it didn't occur when I was trying to install a plugin. My homepage looks good but if I try to click anything on the page he is wat I get:

Not Found
The requested URL /act/act/index.php was not found on this server.

I know why he can't get that page because one directory is repeated twice.
act/act/

the directory "act/" is where I've serendipity installed.
what troubles me is that I believe all my settings seem to be correct. but know I can't access my admin page. I've been on phpmyadmin. everythings seems to be ok.

does this has to do with permalink ?

If anyone can help I would appriciate.

Aymeric
www.despagne.fr/act/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: same problem

Post by garvinhicking »

Hi!

Maybe you can check if the URLs and paths are properly configured in your serendpity installation? You could correct it there, then the .htaccess file would also be properly regenerated.

You can access your admin page by using http://yourblog/serendipity_admin.php !

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/
comdespagne
Regular
Posts: 19
Joined: Mon Jul 02, 2007 4:49 pm
Location: France
Contact:

Re: same problem

Post by comdespagne »

garvinhicking wrote: Maybe you can check if the URLs and paths are properly configured in your serendpity installation? You could correct it there, then the .htaccess file would also be properly regenerated.
Thanks Garvin.

Indeed it was a problem of path.

my relative path wasn't starting with a slash. I still don't understand why he was repeating twice the serendipity directory just because a slash was missing...but it works now.

Relative path
Path to serendipity for your browser, typically '/serendipity/'

I havn't retrieved my contact form but I think I can manage.

Thanks again.
comdespagne
Regular
Posts: 19
Joined: Mon Jul 02, 2007 4:49 pm
Location: France
Contact:

Re: same problem

Post by comdespagne »

Speaking of URL problem.

My url is normaly http://blog.despagne.fr
but none of the internal links take into account this url. it keep refering to the full pass: "www.despagne.fr/act/"

when I set the correct 'URL to blog' it looses all the templates settings (blog and administration).

is there a way to correct this problem ?

Aymeric
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: same problem

Post by garvinhicking »

Hi!

No, your URL is not http://blog.despagne.fr -- that is only an iframe redirection! So you need to configure your serendipity blog properly on the www.despagne.fr URL - that is the only valid URL you have. If you can get a proper Host redirection (without iframes), you could use the first URL.

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/
comdespagne
Regular
Posts: 19
Joined: Mon Jul 02, 2007 4:49 pm
Location: France
Contact:

Re: same problem

Post by comdespagne »

garvinhicking wrote: So you need to configure your serendipity blog properly on the www.despagne.fr URL - that is the only valid URL you have. If you can get a proper Host redirection (without iframes), you could use the first URL.
I'm not sure to understand
I've got a host redirection on my server.

http://www.despagne.fr/act/
and
http://blog.despagne.fr/

both url show my blog homepage. what troubles me is that on both case when I try to click on a specific category or any internal link it alsways show the original path: http://www.despagne.fr/act/index.php?/c ... 8-Girolate

and never http://blog.despagne.fr/index.php?/cate ... 8-Girolate

thank you so much for your help

Aymeric
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: same problem

Post by garvinhicking »

Hi!

Yes, but that redirection only uses an iframe! That is not a good redirection, because it does not really changes hosts - it only fakes them for the browser! This is the reason why you cannot use the other URL, because it does not really exist.

Best 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/
comdespagne
Regular
Posts: 19
Joined: Mon Jul 02, 2007 4:49 pm
Location: France
Contact:

Ok

Post by comdespagne »

I gotcha...thank you.

I'll try to find out how to do it.

All the best,

Aymeric
comdespagne
Regular
Posts: 19
Joined: Mon Jul 02, 2007 4:49 pm
Location: France
Contact:

Re: same problem

Post by comdespagne »

garvinhicking wrote: That is not a good redirection, because it does not really changes hosts - it only fakes them for the browser! This is the reason why you cannot use the other URL, because it does not really exist.
I've asked to have a host redirection and not an iframe, but now it is a terrible mess on my blog !! can someone indicate me the correct procedure?

My host redirection is http://blog.despagne.fr but when I want to access this url it doesn't launch the index page but the entire directory is being showed !!

thanks,

A.
comdespagne
Regular
Posts: 19
Joined: Mon Jul 02, 2007 4:49 pm
Location: France
Contact:

Problem solved !!

Post by comdespagne »

sorry it was only a problem of "Relative path"
I left it blank with only "/" and now it works perfect.

Cheers
Post Reply