"Next page" link not working
"Next page" link not working
For the past few weeks (maybe more), my blog hasn't worked whenever someone hits the "next page" link at the bottom. Clicking the link results in a "Bad Request: Your browser sent a request that this server could not understand" page. My blog is here:
http://www.shanekillian.org
Have I configured something in Serendipity wrong? Or is it the server configuration? It was working six months ago; I know that. I upgraded to version 1.1.3, but it's still doing the same thing.
http://www.shanekillian.org
Have I configured something in Serendipity wrong? Or is it the server configuration? It was working six months ago; I know that. I upgraded to version 1.1.3, but it's still doing the same thing.
-
stm999999999
- Regular
- Posts: 1531
- Joined: Tue Mar 07, 2006 11:25 pm
- Location: Berlin, Germany
- Contact:
-
blog.brockha.us
- Regular
- Posts: 695
- Joined: Tue Jul 03, 2007 3:34 am
- Location: Berlin, Germany
- Contact:
Hmm.. There seems to be something wrong with your template.. The "next page" link on your page is
http://www.shanekillian.org/blog/P2.html
(what leads to a not existing static page)
but it should be
http://www.shanekillian.org/blog/index. ... es/P2.html
Later: Hmm.. But the "correct" link doesn't work, too, on your site.. Strange.
http://www.shanekillian.org/blog/P2.html
(what leads to a not existing static page)
but it should be
http://www.shanekillian.org/blog/index. ... es/P2.html
Later: Hmm.. But the "correct" link doesn't work, too, on your site.. Strange.
Hmmm...I've double-checked all the pathnames. I haven't messed with the actual code; I just wrote a stylesheet for it.
It gives me the "correct" path when I go to shanekillian.org/blog but not shanekillian.org. Which is weird, because the index.php at the root just grabs the index.php in the /blog directory and displays it.
It's also weird that the static name is giving me a 400 error and not a 404.
Curiouser and curiouser.
It gives me the "correct" path when I go to shanekillian.org/blog but not shanekillian.org. Which is weird, because the index.php at the root just grabs the index.php in the /blog directory and displays it.
It's also weird that the static name is giving me a 400 error and not a 404.
Curiouser and curiouser.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
You cannot use Serendipity on two different path setups. You either need to use/configure shanekillian.org/blog OR shanekillian.org/ - you cannot use both.
Best regards,
Garvin
You cannot use Serendipity on two different path setups. You either need to use/configure shanekillian.org/blog OR shanekillian.org/ - you cannot use both.
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/
# 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 not using both. The index.php at the root is just a pointer to the one in the /blog/ directory.garvinhicking wrote:Hi!
You cannot use Serendipity on two different path setups. You either need to use/configure shanekillian.org/blog OR shanekillian.org/ - you cannot use both.
Best regards,
Garvin
And it worked absolutely 100% fine until a few weeks ago (or maybe a bit more).
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Hm, maybe I misunderstood then. What did you change since it doesn't work anymore?
How does your index.php look like that is just a "pointer"?
Regards,
Garvin
Hm, maybe I misunderstood then. What did you change since it doesn't work anymore?
How does your index.php look like that is just a "pointer"?
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/
The only change that occurred was that the account went from being on a GoDaddy free hosting site to paid web hosting. And I'm not sure if that change coincided with the problem or not.garvinhicking wrote:Hm, maybe I misunderstood then. What did you change since it doesn't work anymore?
The index.php at the root pulls out the index.php in /blog/ and posts the results.How does your index.php look like that is just a "pointer"?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
HI!
After moving, did you check your .htaccess file and the s9y path configuration? It might need updating!
Regards,
Garvin
After moving, did you check your .htaccess file and the s9y path configuration? It might need updating!
How exactly?The index.php at the root pulls out the index.php in /blog/ and posts the results.
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/
Yes. They look okay.garvinhicking wrote:After moving, did you check your .htaccess file and the s9y path configuration? It might need updating!
I do a chdir to /blog/ followed by an ob_get_contents and then display the results.How exactly?The index.php at the root pulls out the index.php in /blog/ and posts the results.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Something must have changed when your server moved. Maybe the new server doesn't support your URL rewriting you had previously used?

I can't be of any help without specific things. Obviously there's something wrong in your configuration, your scripts or your server setup, because it worked previously (and should work generally).
Best regards,
Garvin
Something must have changed when your server moved. Maybe the new server doesn't support your URL rewriting you had previously used?
How do they look exactly?Yes. They look okay.
Still: How exactly?I do a chdir to /blog/ followed by an ob_get_contents and then display the results.
I can't be of any help without specific things. Obviously there's something wrong in your configuration, your scripts or your server setup, because it worked previously (and should work generally).
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/
# 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/
Maybe, but I would think GoDaddy's servers would be set up consistently. I'll check it out.garvinhicking wrote:Something must have changed when your server moved. Maybe the new server doesn't support your URL rewriting you had previously used?
The only way I can be more specific is to give you the code for the page:I can't be of any help without specific things.
Code: Select all
<?php // Blog code
chdir('blog/');
ob_start();
require("index.php");
$blog = ob_get_contents();
ob_end_clean();
chdir('..');
echo $blog;
?>-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
I suggest to use this index.php instead:
Because when you chdir to a different directory without fixing up the $_SERVER['REQUEST_URI'] path et al, all follow-up links will not check that they were called not within the usual s9y directory.
HTH,
Garvin
I suggest to use this index.php instead:
Code: Select all
<?php
header('Location: http://shanekillian.org/blog/index.php');
?>
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/
# 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/