Slight issue with the archives
Slight issue with the archives
I just moved my blog from hastalasiesta.org/blog to hastalasiesta.org. Just a slight case of moving the files around on the server and then validating the paths in serendipity. Now however all my archived entries fail to show up.
They are still available for editing through the admin panel, but clicking on a month, calendar date or otherwise requesting a post from the archives isn't working.
The "archives" folder on my server is also empty. I didn't check if that was the case before I moved the files, but I'd imagine not.
Anyway of fixing this other than posting it all over again?
-m
They are still available for editing through the admin panel, but clicking on a month, calendar date or otherwise requesting a post from the archives isn't working.
The "archives" folder on my server is also empty. I didn't check if that was the case before I moved the files, but I'd imagine not.
Anyway of fixing this other than posting it all over again?
-m
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Seems to be a problem with "URL Rewriting". Set it to none, then the URLs should work again.
The 'archives' folder is always empty, it gets generated on the fly...
Regards
Garvin
The 'archives' folder is always empty, it gets generated on the fly...
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/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
This is really strange, I don't have the problems on my installation...
Can you check and see if the same happens with the default template? If it works there, please tell me which modifications you've made to your template and if you're using smarty templating or layout.php.
Regards,
Garvin
Can you check and see if the same happens with the default template? If it works there, please tell me which modifications you've made to your template and if you're using smarty templating or layout.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/
# 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'm afraid it's the same story with the default template. I've also noticed that although the url in the adress bar seems to be correct, the title of the window and the calendar shows up as "Entries from December 1999".
For reference I am using smarty templates, and I've only modded them in small fashions such as switching the places of the sidebars and adding a footer on the mainpage. I haven't gone near anything I believe to have to do with archives.
Like I mentiioned, this problem appeared when I was moving the site, so to begin with I thought I might have a path problem but I really can't think of where that should be...
-M
For reference I am using smarty templates, and I've only modded them in small fashions such as switching the places of the sidebars and adding a footer on the mainpage. I haven't gone near anything I believe to have to do with archives.
Like I mentiioned, this problem appeared when I was moving the site, so to begin with I thought I might have a path problem but I really can't think of where that should be...
-M
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Did you check your '.htaccess' file for wrong paths? And did you check your serendipity_config_local.inc.php and the path-related settings of 'serendipity_config' DB-table if they are all correct?
My bet is with .htaccess...
Regards,
Garvin
My bet is with .htaccess...
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 by .htaccess you mean the files called htaccess.normal.tpl and so on, I've looked at them and I can't find anything obvious.
Should I have a file named ".htaccess"? Because I don't. And I cant find it in the latest s9y-download either.
I can't reach my serendipity_config_local_inc file at the moment, but I'll check it when I've solved the permissions problem.
-m
Should I have a file named ".htaccess"? Because I don't. And I cant find it in the latest s9y-download either.
I can't reach my serendipity_config_local_inc file at the moment, but I'll check it when I've solved the permissions problem.
-m
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
I think the problem was one I fixed earlier today. If you accessed your url with 'index.php' after the s9y directory it would give you a wrong link with a '/index/' path there which didn't belong there.
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/
Ok...
After a complete reinstall (which cost me my CSS *sniff*) I still have this problem. I am now using the 0.8 beta2.
My url shows up like this:
http://www.hastalasiesta.org/index.php? ... 05/02.html
when I attempt to access the archive, however the page shows up with "Entries from december 1999" and naturally no entries to print.
I've looked around in the htaccess.rewrite.tpl file and I found these lines that looked like they had something to do with the archives.
But I'm not enough of a coder to say whether this is right or wrong.
As for my serendipity_config_local.inc.php I'm not even allowed to open it, so I have no idea whats in it.
Suggestions?
After a complete reinstall (which cost me my CSS *sniff*) I still have this problem. I am now using the 0.8 beta2.
My url shows up like this:
http://www.hastalasiesta.org/index.php? ... 05/02.html
when I attempt to access the archive, however the page shows up with "Entries from december 1999" and naturally no entries to print.
I've looked around in the htaccess.rewrite.tpl file and I found these lines that looked like they had something to do with the archives.
Code: Select all
RewriteRule ^{PAT_ARCHIVES} {indexFile}?url=/{PATH_ARCHIVES}/$1.html [L,QSA]
RewriteRule ^{PAT_ARCHIVES_SHORT} {indexFile}?url=/{PATH_ARCHIVES}/$1-short.html [L,NC,QSA]As for my serendipity_config_local.inc.php I'm not even allowed to open it, so I have no idea whats in it.
Suggestions?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi Martin!
Which template are you using? Could you please try if you face the same issue with the default template?
If it works with default - are you using a manual 'layout.php' file? If the answer is also yes, please compare your layout.php to include/genpage.inc.php and/or templates/newspaper/layout.php (of latest CVS) - there was a problem with the 'range' parameter which needed fixing.
Regards,
Garvin
Which template are you using? Could you please try if you face the same issue with the default template?
If it works with default - are you using a manual 'layout.php' file? If the answer is also yes, please compare your layout.php to include/genpage.inc.php and/or templates/newspaper/layout.php (of latest CVS) - there was a problem with the 'range' parameter which needed fixing.
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/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
So your folder contains no layout.php? And you really have upgraded all files to 0.8-beta2? Especially the files index.php and include/genpage.inc.php are pretty important...
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/