Problem with extended text / commenting after fresh install

Having trouble installing serendipity?
Post Reply
iBear
Regular
Posts: 6
Joined: Mon Nov 14, 2005 2:02 am
Location: Utrecht, Netherlands

Problem with extended text / commenting after fresh install

Post by iBear »

I'm kinda new to the whole bLog stuff, so I wanted to try one with good reviews and ended up on the s9y site...

After doing an install (fresh one) and configuring a few things, I noticed I couldn't find any possibility to make comments... After a while of searching the forum and trying things I realised I was unable to access the extended texts altogether... :(
When clicking on the title of an entry, i get the "No entries to print" text, instead of what should be my extended text - as I was able to see neatly in my preview.

I've tried different configs, fresh simple install without anything changed, leaving the access on world writable (777); all read & exec and serv only write (755), the said all read with serv only write (644)... But it still changed nothing.

Now, I must say I have no idea what kind of server it is on exactly, because it is my uni server to which I don't have root access (I do have an account, which works flawlessly; most of the time - just not now).
The db is a normal SQLdb as far as I know...

I've only found one actual entry in the forum about this error, it was resolved by changing dir's in the config manually, because of a slash/backslash error; I checked that and it's not the case, so I'm quite lost now.

Could anyone please help of tell me where to find a solution for this? I'm going kind of insane here...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Problem with extended text / commenting after fresh inst

Post by garvinhicking »

Maybe you can tell us the URL to your blog?

Go to s9y configuration and set "URL Rewriting" to "None", 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/
iBear
Regular
Posts: 6
Joined: Mon Nov 14, 2005 2:02 am
Location: Utrecht, Netherlands

Post by iBear »

URL rewriting was set to disabled by default (autodetected, according to what's written...)

The URL of the main blog is http://www.phys.uu.nl/~kukla/bLog/
This was the original install, it either displays the error mentioned or a page with the month statistiscs (??, not sure about this).

I have a second install, on http://www.phys.uu.nl/~kukla/serendipity/
This one is a basic simple install, everything works, alle entries are saved nicely into the db, but the nothing to display error still exists...
If you'd like to sniff around in the configs, I could give you the user/pass.

Thank you for looking :)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

It seems that either you misconfigured the serendipity HTTP path, or the permalink patterns :)

I can gladly have a look if you proide me with a user/pass!

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/
iBear
Regular
Posts: 6
Joined: Mon Nov 14, 2005 2:02 am
Location: Utrecht, Netherlands

Post by iBear »

[pass removed by admin]

That's for the second blog, at http://www.phys.uu.nl/~kukla/serendipity
:D
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Okay, I found that you changed the permalink to archives/%id%.html. Sadly, serendipity requires a "-" or "/" character after the entry id to properly match permalinks, it seems - and we didn't document this in the configuration.

The customizable permalinks are a new feature of Serendipity 0.9, and it seems that most people run without customizations to their permalinks. Thanks to your help we'll be able to improve documenting this behaviour in the future.

Now I've changed the %title% for your entry links again, and entries do display. However they are missing their surrounding layout. Can it be that you modified your templates *.tpl files?

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/
iBear
Regular
Posts: 6
Joined: Mon Nov 14, 2005 2:02 am
Location: Utrecht, Netherlands

Post by iBear »

:shock:
It works indeed :D
Many thanx!

I checked the other install, and added a dash after the %id% as well, and it works too

But then there's the layout... I haven't touched the templates at all, to be honest... Wouldn't really dare :oops: (yet)
I'll try redownloading the package and putting it up again... Maybe there was an error with the unpacking (improbable, but you never know)

Anyway, thank you VERY MUCH :D
I guess I'll be testing the system for the upcoming months, so I might bother you again ;)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

I did look something more into the error, and the reason is that /archives/XXX.html are used for our date range archiving. Thus a "-" or "/" is required to tell s9y that the following pattern is not a date range archive, but a permalink for an entry. I'll see how to put this best into the docs!

I haven't seen such a strange entry layout like you get on any installation, so it really might be related to garbaged files? If you don'T get it to work, you can contact me via PM and give me temporary FTP access, then I can look what exactly is happening!

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/
Guest

Post by Guest »

w00t!
I did a new fresh install, with the same setup, and this time - there's a layout :D

So it finally works, great!

Now, one more question though...
What should i make the permissions *after* intall?
They're at 777 on install (root and template_c), but should i change them back to 755 / 644 / ???

After this, I'll leave you alone :roll: sorry...
m3 s0 n00b ;) :oops:
iBear
Regular
Posts: 6
Joined: Mon Nov 14, 2005 2:02 am
Location: Utrecht, Netherlands

Post by iBear »

that was me, thinking i was logged in... *sigh*
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

You can change the root die to 755 after install. But templates_c needs to be writable for your webserver all the time!

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/
iBear
Regular
Posts: 6
Joined: Mon Nov 14, 2005 2:02 am
Location: Utrecht, Netherlands

Post by iBear »

That *might* explain why the templates went wrong then, heheh
:oops: once again

Many great thanks, for the whole response, and the incredible response time :D

I refreshed the main install, and it works just fine

If I encounter more, I'll know whom to ask :)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

:) Great, another mystery solved :)

I'm glad I could offer you some help. I hope you'll enjoy Serendipity!

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/
Post Reply