Website down after changes as below

Having trouble installing serendipity?
DaClaFleWi
Regular
Posts: 9
Joined: Tue Aug 23, 2011 9:05 pm

Website down after changes as below

Post by DaClaFleWi »

Hi,
following situation: For whatever reason for the first time ever, I wanted to check on an older post, from last year, today. But I could not get to the older posts. Neither by clicking next page at the bottom of the front page, nor by accessing 'older posts' in the side panel. The side panel would open and show that e.g. I had 3 posts in April 2010, but then when I clicked on that, supposedly to open those 3 posts, I jumped back to the current front page.
So, I thought I should check if there was a way via the admin page to set it that all posts will be shown. Went into admin found something that looked like it (sorry, but I cannot tell you the exact name and now I cannot get into it anymore) and changed it to 300 (yeah, probably way too much). Anyways, I saved that and ... then neither the website, nor the admin panel could be accessed anymore.
Hence, I went into the database via mySQL, found the ser_config and in there 'fetchLimit', which showed the '15', which I had changed in the admin panel to '300'. So, I changed it back to 15, which it shows now, but still nothing works.
Needless to say that I don't really know anything about SQL, so I should not have touched it, but... :oops:
I hope one of you can help me get this back on track. Thanks a lot!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Website down after changes as below

Post by garvinhicking »

Hi!

So what's your URL, what do you see at all?

You might want to check your "serendipity_config_local.inc.php" file, does it seem to contain proper information? Also maybe check yoru php.ini settings to see if display_errors is enabled?

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/
DaClaFleWi
Regular
Posts: 9
Joined: Tue Aug 23, 2011 9:05 pm

Re: Website down after changes as below

Post by DaClaFleWi »

Thanks Garvin, I was just going to post the error message (serendipity error: unable to connect to database - exiting.) when I saw your reply and that did the trick. I checked the serendipity_config_local.inc.php file and it had the wrong user name in it. So, now it is working again.

Except for the access to older posts, why doesn't that work? The url is: http://www.willisonnet.com. Thanks a lot for your help!!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Website down after changes as below

Post by garvinhicking »

Hi!

Check your permalink configuration; seems you removed "/archives". "/archives/" (or something other) always needs to exist for the path to properly work.

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/
DaClaFleWi
Regular
Posts: 9
Joined: Tue Aug 23, 2011 9:05 pm

Re: Website down after changes as below

Post by DaClaFleWi »

Thanks, I checked and this is what it looks - that is the default, isn't it?
screenshot.jpg
screenshot.jpg (164.13 KiB) Viewed 9347 times
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Website down after changes as below

Post by garvinhicking »

Hi!

That is odd, you seem to have used a different index file (blog.php instead of index.php). How exactly did you set it up?

Your URL rules cannot be matched properly, you can see this if you call:

http://www.willisonnet.com/index.php?/archives/P2.html
http://www.willisonnet.com/blog.php?/archives/P2.html
http://www.willisonnet.com/index.php?/P2.html
http://www.willisonnet.com/blog.php?/P2.html

None of those actually show you page #2 of your entries. Maybe a complete screenshot of your configuration would help, also show us how your .htaccess file looks like?

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/
DaClaFleWi
Regular
Posts: 9
Joined: Tue Aug 23, 2011 9:05 pm

Re: Website down after changes as below

Post by DaClaFleWi »

Hi, sorry for my late reply, but I kinda got distracted with a different site... So, the problem still exists i.e. my site only shows the first page with 15 entries.
The .htaccess only shows this:
ErrorDocument 403 /fehler.php
ErrorDocument 401 /fehler.php
ErrorDocument 500 /fehler.php
ErrorDocument 404 /fehler.php
And attached is a screen shot of the configuration paths. I am not sure anymore why I had the blog.php instead of the index.php, but it was entered in the paths section of the configuration. Which, I have now changed back to index.php. This works just the same = first page of the website shows, but not the following ones.
It would be great, if you can find out what I have done to prevent more pages to show. If you need any other input, please let me know.
Thanks a lot!
Attachments
configuration.jpg
configuration.jpg (82.05 KiB) Viewed 9256 times
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Website down after changes as below

Post by garvinhicking »

Hi!

Definitely, I need the permalink structure, your screenshot sadly only shows the general path setup.

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/
DaClaFleWi
Regular
Posts: 9
Joined: Tue Aug 23, 2011 9:05 pm

Re: Website down after changes as below

Post by DaClaFleWi »

Hi Garvin,

no problem, here it is.

Thanks!
Attachments
permalink.jpg
permalink.jpg (100.35 KiB) Viewed 9234 times
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Website down after changes as below

Post by garvinhicking »

hi!

Seems to work now, the enxt page? However you seem to have turned on embed mode but do not take care of emitting the HTML head/footer.

If you use embed mode you would need your custom blog.php file and turn it on again, then embed html footer/header, and make sure your blog.php is in the same directory like your s9y directory ("/photoblog"). If you don't want the embed mode, turn it off and then a URL like http://www.willisonnet.com/photoblog/in ... es/P2.html will return the required HTML headers for a styled page...?!

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/
DaClaFleWi
Regular
Posts: 9
Joined: Tue Aug 23, 2011 9:05 pm

Re: Website down after changes as below

Post by DaClaFleWi »

Good morning and Merry Christmas!
Well, I had a look and it kind of works. When I call up the website and then hit 'next page' on the bottom, it opens up the same page again, when I hit 'next page' again, it then opens another page, which says 'no more entries to show'. Then I hit 'previous page' and then again 'next page' and then, finally, it opens up the real 2nd page. Not quite right...
So, I disabled the embed function to see if this would solve it, but no it does not.
I also tried to export all entries as RSS feed and it comes up with this error message:
XML Parsing Error: no element found
Location: http://www.willisonnet.com/photoblog/rs ... =2.0&all=1
Line Number 1, Column 1:
Is that related?
Thanks for your help and I do hope you are enjoying Christmas time!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Website down after changes as below

Post by garvinhicking »

Hi!

This is not what happensn for me; I can browse each page from 1 to 8 properly, it leads to those URLs:

http://www.willisonnet.com/photoblog/in ... es/P1.html (first article: NY City)
http://www.willisonnet.com/photoblog/in ... es/P2.html (first article: Irene's Obituary)
http://www.willisonnet.com/photoblog/in ... es/P3.html (first article: Germany invades USA)
willisonnet.com/photoblog/index.php?/archives/P4.html (first article: Bureaucracy)
willisonnet.com/photoblog/index.php?/archives/P5.html (first article: Bonaire Gazette 4)
willisonnet.com/photoblog/index.php?/archives/P6.html (first article: Safaga Egypt)
willisonnet.com/photoblog/index.php?/archives/P7.html (first article: Frühiing)
willisonnet.com/photoblog/index.php?/archives/P8.html (first article: Luxemburg)

Only on page 9 it says no more articles to show...

(Using Chrome or Firefox)

The RSS-Feed is not actually meant to be opened in a browser; when calling that URL, the RSS output looks good to me. If ou subscribe to it in for example GoogleReader, it works.

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/
DaClaFleWi
Regular
Posts: 9
Joined: Tue Aug 23, 2011 9:05 pm

Re: Website down after changes as below

Post by DaClaFleWi »

Hi!
Strange, I am trying this on firefox 8.01 and it behaves the way I described it.

Ref. RSS - I did try to subscribe to it via GoogleReader by entereing the complete URL and it comes up with a 'cannot find that URL'. If I omit the '&all=1' of the URL, GoogleReader finds it and displays the usual 15 entries. But I thought that the export button from Serendipity would create an XML or RSS file? Of ALL entries? What am I doing wrong?

Thanks a lot!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Website down after changes as below

Post by garvinhicking »

Hi!
DaClaFleWi wrote:Hi!
Strange, I am trying this on firefox 8.01 and it behaves the way I described it.
hm, can you show screenshots of what you get (including the URL navigation bar in your firefox)
Ref. RSS - I did try to subscribe to it via GoogleReader by entereing the complete URL and it comes up with a 'cannot find that URL'. If I omit the '&all=1' of the URL, GoogleReader finds it and displays the usual 15 entries. But I thought that the export button from Serendipity would create an XML or RSS file? Of ALL entries? What am I doing wrong?
The "&all" parameter is there to do a full RSS export of all your blog entries. If that is a lot, it might take up more of your servers RAM than is available to you. In that case, you shouldn't subscribe to "all"-RSS feeds; this is more of a one-time export that you use if you want to switch to other blog systems.

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/
DaClaFleWi
Regular
Posts: 9
Joined: Tue Aug 23, 2011 9:05 pm

Re: Website down after changes as below

Post by DaClaFleWi »

Hi,
no screenshots, but I guess this will help:
1) http://www.willisonnet.com/
click on 'next page'
2) http://www.willisonnet.com/photoblog/index.php?/P2.html
BUT still showing the first page i.e. New York City / Bryant Park etc.
click on 'next page'
3) http://www.willisonnet.com/photoblog/index.php?/P2/archives/P2.html
and it says 'entries from December 2010 - No entries to print - previous page (Page 2 of 1, totaling 0 entries)
click on 'previous page' - I am back on page one (Bryant Park etc.)
click on 'next page' - I finally land on page 2 i.e. Irene's orbituary

So, somehow there is a 'P2' too much in there, right? Because if I delete it, it goes to the correct 2nd page.

How can I correct that?
Thanks!
Post Reply