Posted on: 09/24/05 10:53pm
By: Anonymous (greg)
With geeklog 1.3.11 and php5 (both recently upgraded), I am being redirected to index.php whenever I click on the article link or the comments link. I don't get to view article.php or comments.php. This only recently happened with my upgrade from 1.3.9. Any idea why this is occuring?
comment and article.php redirect to index.php
Posted on: 09/25/05 04:06am
By: Dirk
Start here:
Geeklog on PHP 5[*1] . Also try disabling 'url_rewrite', if you have that set to true.
bye, Dirk
comment and article.php redirect to index.php
Posted on: 09/25/05 11:10am
By: Anonymous (greg)
I've added a php.ini file to the root directory of the geeklog installation and included the following lines:
register_long_arrays = On
register_globals = On
as the link above says to do. Unfortunantly, that didn't solve my problem... any other ideas?
comment and article.php redirect to index.php
Posted on: 09/25/05 11:54am
By: Dirk
[QUOTE BY= greg] I've added a php.ini file to the root directory of the geeklog installation[/QUOTE]
That will only work, of course, if your webserver is configured to search for a php.ini there. Is that the case? Usually, the php.ini is located in /usr/local/libs or thereabouts. See
Where is my php.ini?[*2]
bye, Dirk
comment and article.php redirect to index.php
Posted on: 09/25/05 12:09pm
By: Anonymous (greg)
Thanks for the help again Dirk. I've verified using phpinfo that the php.ini file is located in the correct directory. I changed the file permissions to 755, but that didn't seem to fix it. Is there a statement I can insert into the file to make sure it's being read? And if by chance it is being read by the system, that didn't fix the redirects...
comment and article.php redirect to index.php
Posted on: 09/25/05 12:16pm
By: Dirk
Did you restart the webserver? Also check the output of phpinfo() to confirm that register_long_arrays is really on now.
bye, Dirk
comment and article.php redirect to index.php
Posted on: 09/25/05 02:53pm
By: Anonymous (greg)
Yep, register long array's is on:
phpinfo[*3] . Redirection is still occurring... Anything else that could be causing this?
comment and article.php redirect to index.php
Posted on: 09/25/05 03:05pm
By: Anonymous (greg)
Nevermind... I was able to fix it. I re-read the thread and realized I missed the statement about url_rewrite... once I disabled that it worked fine.
Thanks for the help Dirk!
comment and article.php redirect to index.php
Posted on: 09/25/05 03:08pm
By: Dirk
The site seems to work for me. I can read the comments, get the "post a comment" form, ...
What exactly isn't working for you?
Also, you seem to be missing the comment bar on the article pages. Make sure you've updated your theme properly (especially the article/ and comment/ directories). Check with the Professional theme - if things are working there, then it's a theme problem.
bye, Dirk