"No entries to print"

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Dalif
Regular
Posts: 40
Joined: Mon Aug 21, 2006 9:33 am
Location: Under your bed
Contact:

"No entries to print"

Post by Dalif »

I just discovered a new problem today. It isn't fatal, but it's pretty annoying in it's own way. When I click the link of an entry from the front page, I'm taken to the individual post. However, instead of the post, all it says here, is "no entries to print". As I don't usually read my own blog entries after I post them, I've no clue when this problem started. So I'm not quite sure what I've done to provoke it. The page that reads "no entries to print" is perfectly formatted and everything looks good. It even does it on posts just created.
You can view the problem for yourself, on http://dalif.com
I'm sure it's a setting I've fiddled with, but I'm not sure what to look for. Any help would be greatly appreciated.

*Update* It seems the .htaccess file is being modified when I post a new entry. I'm not quite sure what the precise permissions on this should be. So take that into consideration.

Thanks in advance
Dalif
[/url]
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: "No entries to print"

Post by garvinhicking »

Hi!

I believe this is caused by your change of permalinks.

Can you check if the serendipity_permalinks table contains the right permalink values for the URLs you created?

You must also make sure that all your permalink paths are unique. Using "archives" for entries and "archives" for archives will create problems like yours. The solution is to use "archive" for the one and "archives" for the other. Or "entries" for the one.

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/
Dalif
Regular
Posts: 40
Joined: Mon Aug 21, 2006 9:33 am
Location: Under your bed
Contact:

Post by Dalif »

hey Garvin. First, thanks for your relentless support for all us noobs :) It's really appreciated.

I've only messed with one setting in the permalinks table, and that's removing %title% from the Permalink URL Structure box. That, and I've changed the "no url rewrite" to "use mod_retwrite".

http://dalif.com/gallery/main.php?g2_it ... ewsIndex=1 here you can see how it's currently set up.

Your second part, I'm not sure how I should understand. If you could rephrase it, I'd appreciate it.

Thanks again,

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

Post by garvinhicking »

Hi!

What does your .htaccess currently look like? Usually, s9y needs to have write privilege to that file.

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/
Dalif
Regular
Posts: 40
Joined: Mon Aug 21, 2006 9:33 am
Location: Under your bed
Contact:

Post by Dalif »

Well it seems that using just dalif.com/archives/%id%.html was not a good idea, as it created the problem I wrote about earlier. I changed it back to dalif.com/archives/%id%-%title%.html, and it works again.

a little odd.

Another thing is, the .htaccess file is constantly fiddled with, meaning some of the links in the right hand link list won't work. Namely the gallery one, which just redirects to the mainpage of serendipity.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

The .htaccess file is only tried to be changed when you change paths in your serendipity configuration!

If you use url rewriting, it is vital that the .htaccess can be written to.

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/
Dalif
Regular
Posts: 40
Joined: Mon Aug 21, 2006 9:33 am
Location: Under your bed
Contact:

Post by Dalif »

Well I've settled on using /archives/%id%-%title%.html now, with mod_rewrite activated. Also, I've commented out #DirectoryIndex /index.php so as to have the gallery link working.

Everything seems to work fine now, so I guess I won't be messing with the stuff again. Don't really have a reason to either. If it ain't broke, don't fix it, right?
runner
Posts: 3
Joined: Mon Jul 10, 2006 3:24 am

I had found same problem.

Post by runner »

I had found same problem. I had changed Permalink Entry URL structure. When I changed it back to archives/%id%-%title%.html, it works again.
Post Reply