Extra slashes messing up links

Having trouble installing serendipity?
Post Reply
rokker
Regular
Posts: 10
Joined: Sun Jan 11, 2009 6:04 pm
Location: Sweden

Extra slashes messing up links

Post by rokker »

Hello,

I've got a problem with "extra" slashes. There are booth forward and backslashes resulting in a number of problems.

In Opera, only the frontpage works but with no stylesheet attached (looking really bad). I can't use the admin interface since the url is http://fagerashojd.info/%5C/index.php?/admin resulting in a The requested URL /\/index.php was not found on this server.

IE seems to be more forgiving. The frontpage looks like it's supposed to do. I can log in to the admin interface but when trying to use any link I get thrown out to the login page again.
I can see that there is an extra slash after the domain address: http://www.fagerashojd.info//serendipit ... figuration

I guess I entered something wrong during the installation, but now I can't use the "Configuration" link in the admin interface...

Please, check the page at www.fagerashojd.info. If you use "View Source" you can see the slashes.

Any suggestions? Is there any way to fix this?

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

Re: Extra slashes messing up links

Post by garvinhicking »

Hi!

Try to login using http://fagerashojd.info/serendipity_admin.php and there change the path. ALWAYS only use forward slashes, NEVER use backwards slashes.

When you login, try to make sure to check the "remember me" feature. And make sure to login with either the address you configured - it seems to be fagerashojd.info and NOT WWW.fagerashojd.info.

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/
rokker
Regular
Posts: 10
Joined: Sun Jan 11, 2009 6:04 pm
Location: Sweden

Post by rokker »

Well, I didn't use any backslashes?!?! I don't know where they are coming from. At least I am not aware of using any.

And as I said, I can log in to the admin interface but when trying to use any link I get thrown out to the login page again. It dosn't matter if I use the www. or not, neither to mark the "remember me" feature.
rokker
Regular
Posts: 10
Joined: Sun Jan 11, 2009 6:04 pm
Location: Sweden

Post by rokker »

Well, I re-ran the installation... This time I choose the "Expert installation" and to my surprise I found the backslashes in the "paths" section.

I don't know why, but never the less, there they are right from the start.
I guess something isn't correct in my settings (php? Apache?) but I don't know what.

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

Post by garvinhicking »

Hi!

If there are backslashes right from the start, then your server has most probably a misconfigured DocumentRoot. The apache/iis configuration should always use forward slashes.

HTH,
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/
rokker
Regular
Posts: 10
Joined: Sun Jan 11, 2009 6:04 pm
Location: Sweden

Post by rokker »

Ok, I will check that. Thanks for pointing me in the right direction.

I removed the backslashes in the "paths" section and now my Serendipity works like a charm :D

Regards
Thomas
Post Reply