Posted on: 12/18/02 09:05pm
By: Anonymous (Anonymous)
I was running geeklog version 1.3.6 with no issues, Ive upgraded to geeklog 1.3.7 and my main site, www.thedarkrealm.info, doesnt display anymore

It just keeps refreshing, checked the html for the page it generates and this is all thats generated:
<html><head><meta http-equiv="refresh" content="0; URL=http://www.thedarkrealm.info/index.php"></head></html>
Someone has stated this may be caused by cookies, but that doesnt help me any cause even with this info it doesnt tell me how to fix it!
Ive left my site running, take a look and tell me what im doing wrong please
Thanks
install probelms with geeklog 1.3.7
Posted on: 12/19/02 12:43am
By: Dirk
What is the real URL of your site and what do you have for $_CONF['site_url']? Is there some sort of redirection involved?
bye, Dirk
install probelms with geeklog 1.3.7
Posted on: 12/19/02 07:44am
By: Anonymous (Anonymous)
Cool, While I'm making my Theme up ill list anything that I don't think is quite right and let you know.
I'll try to be thorough, wanna make the ultimate seemless theme and that means little tweeks like for Example:
In Success.php the css <h2> is used in line:
<h2>Installation of Geeklog $VERSION complete!</h2>
but <h2> is also used in the Poll Block for the Question, with the block background color being different from the body the text will not be suitably customisable for best viewing.
I'll see if I make a list up.
I said I was fussy, but hopefully I can help out on the layout side of things.
install probelms with geeklog 1.3.7
Posted on: 12/19/02 02:40pm
By: Anonymous (Anonymous)
No redirection on my site, the URL is http://www.thedarkrealm.info, which points straight to the IP address of my server, I have changed it back to geeklog 1.3.6 so the site is working now, Ill post both my config.php file and my lib-common.php file once I get home so you can view them, but I have only changed that is needed, not added anything else
install probelms with geeklog 1.3.7
Posted on: 12/19/02 07:13pm
By: Anonymous (Anonymous)
Got my
config.php[*1] and
lib-common.php[*2] posted now, theres no mistakes is there?
any help is appreciated, and these files are hosted on my ISP, not my webserver, thanks
install probelms with geeklog 1.3.7
Posted on: 12/20/02 11:06am
By: Dirk
Hmm, looks fine as far as I can tell from here ...
Can you check what your server returns for $HTTP_SERVER_VARS['HTTP_HOST']? Something like
<?php echo $HTTP_SERVER_VARS['HTTP_HOST']; ?>
in a file called host.php (or something) should do. Or could you point me to a file that does a phpinfo() on your server (there's one in Geeklog's install directory: admin/install/info.php). The PHP version you're running could also be of interest ...
bye, Dirk
install probelms with geeklog 1.3.7
Posted on: 12/20/02 02:08pm
By: Anonymous (Anonymous)
Ive left the PHP info file running, my site is up and running again, but its only geeklog 1.3.6

http://www.thedarkrealm.info/admin/install/info.php hopefully should give you the info you need.
Ive tried running MySQL version 3.23 normal/max and Ive tried running 4.0.6 normal/max
Ive even tried changing webservers, Ive tried Apache, IIS (both 5+6) and omni httpd, all with the same effect.
I cant work out whats going on, Ive gone through a 500(ish) page PHP book trying to give me clues to whats going on, but I still have no clue!
The admin page loads ok, it only happens when i try to open the index.php file!
Its starting to annoy me now, I dont like it when things beat me!
install probelms with geeklog 1.3.7
Posted on: 12/20/02 03:06pm
By: Dirk
Okay, I see two problems:
1) You don't have an HTTP_HOST variable, thus it will be treated as empty which is always different from the string it's compared against. So that explains the endless loop you've seen ...
2) Your server is named "localhost" (instead of "thedarkrealm.info"

, so even if you had an HTTP_HOST variable, it wouldn't work as expected ...
The solution for both problems is to take out the code that's new in index.php (as of 1.3.7): Just after the require_once('lib-common.php'), there's a preg_match(), followed by an if block. Take those out and it should work.
Need to come up with a more portable solution for 1.3.8, it seems ...
bye, Dirk
install probelms with geeklog 1.3.7
Posted on: 12/22/02 03:48am
By: Anonymous (Anonymous)
Thanks, its working fine now!