Cool people, people like you, Register or log in...

bblocked forums » Troubleshooting

The title screen works.. not surfing though

(1 post)
  • Started 2 years ago by Shorn

  1. Shorn
    User has not uploaded an avatar
    Member

    Hiya guys. I just tried out a vanilla copy of bblocked 5.6.3 and put it on my server but it doesn't appear to be working. I can see the front page alright but if I try to surf to a site it doesn't load.
    Here is my site (it should probably still be up when you see this)
    [Removed because problem is fixed :]
    Other than the fact that it doesn't work (hehe), it looks awesome and I'm sure when I get it working it will be awesome x 10.

    BTW I am running Abyss web server (http://www.aprelium.com/)
    with the PHP 5 setup instructions here: http://www.aprelium.com/abyssws/php5win.html

    Perhaps it has something to do with the way PHP is configured on Abyss?

    EDIT: Whoo I've figured it out.
    If anybody has had the same problem as me, here is what's wrong:
    The script wants to send me to a https page (SSL) which I don't have on my server so its not loading correctly.
    However I dunno how to fix this (changing the https to http works but I would need to do that everytime I loaded a page..)

    EDIT #2:
    Well I figured out a hack (read: a fix, not a malicious hack) to make it work.
    Changing line 175 in config.php from:
    'script_url_full' => (isset($_SERVER['HTTPS']) ? 'https' : 'http') . '://' . $_SERVER['HTTP_HOST'] . $_SERVER['SCRIPT_NAME'],
    to:
    'script_url_full' => (isset($_SERVER['HTTPS']) ? 'http' : 'http') . '://' . $_SERVER['HTTP_HOST'] . $_SERVER['SCRIPT_NAME'],
    will fix my problem.
    I'm sure there's a much more elegant fix for this somewhere (perhaps even a configuration variable that I missed somewhere!) but for now this works for me. So you guys can ignore this post :)
    (BTW my prediction was right - this just suddenly became 10x more awesome ;)

    Posted 2 years ago #

RSS feed for this topic

Reply

You must log in to post.