But where is the solution? Modifying the URL by hand? So i changes the behaviour of the account, so he uses PHP 4 again. But now I get the messages "Object not found- 404". You can test it on http://www.programmhaus.de/index.php
This page works, all other links not. I have 3 Gunther-sites running (2 local, 1 online), but this one won't. I have no idea. Anyone? Thanks in advance.
I think, it's not the problem with Version 5.x - especially if it works fine at your equipment. Maybe something with the PHP configurations (safe_mode=off, register_globals=off etc.) And it seems to me as the problem must be around "view.php"
I run the same system (gunther 0.6) on 4 locations and these are the results:
Webserver, Apache 2.0.52, PHP 4.3.10, register_globals=on
safe_mode=off
-> gets errors
Webserver, Apache 1.3.31, PHP 4.3.10, register_globals=on, safe_mode=off
-> runs fine
MAMP local, Apache 2.0.50, PHP 4.3.8, register_globals=off, safe_mode=off
-> runs fine
OS X local, Apache 1.3.33, PHP 4.3.11, register_globals=off, safe_mode=off
-> runs fine
Yes, i know, register_globals should be 'off', i tried it, but as expected, it had no effect. Both Webservers are from the same ISP, but the working one is an 'older model'.
Any ideas where i should look at?
Best regards, Creatoure
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If I change the URL to /view.php?page=mypage then it works fine. Is there a way I can change this globally so that I don't have to hard-code URL's? This would be ideal.
Thanks - Joey
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Seems to be a problem with $PathInfo (PHP) and AcceptPathInfo=Off in httpd.conf of the Apache-Webserver. In my webspace i couldn't change this. So i changed some lines in Gunthers /include/common.php - file. For example, change the function:
function make_view_url($page)
{
global $web_root, $VIEW_SCRIPT;
return $web_root.$VIEW_SCRIPT."/page/".$page;
}
to the following:
function make_view_url($page)
{
global $web_root, $VIEW_SCRIPT;
return $web_root.$VIEW_SCRIPT."?page=".$page;
}
If i remember correctly, there were only changes in common.php, but i'm not very sure. But now it works fine without to change httpd.conf or to use a htacces-file.
I hope, this helps.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I had the same problem as the thread below:
https://sourceforge.net/forum/forum.php?thread_id=1299171&forum_id=341167
But where is the solution? Modifying the URL by hand? So i changes the behaviour of the account, so he uses PHP 4 again. But now I get the messages "Object not found- 404". You can test it on http://www.programmhaus.de/index.php
This page works, all other links not. I have 3 Gunther-sites running (2 local, 1 online), but this one won't. I have no idea. Anyone? Thanks in advance.
phpinfo of problematic site:
http://www.programmhaus.de/phpinfo.php
Not too sure if this is of help but ...
I run a local Gunther site using XAMPP Version 1.4.14 on a window XP Pro box, XAMPP uses PHP: 5.0.4 and I've not had a problem.
I also run PHP: 5.0.4 on my Network server at work and again, I've not had a problem.
When I'm next back back at work I'll see what if the PHP: 5.0.4 configuration matches my Windows system.
Regards ...
thanks a lot...
I think, it's not the problem with Version 5.x - especially if it works fine at your equipment. Maybe something with the PHP configurations (safe_mode=off, register_globals=off etc.) And it seems to me as the problem must be around "view.php"
If i navigate to a page on the 'bad' webspace like this:
http://www.programmhaus.de/view.php/page/_termine
i get an error. If i change the URL manually to:
http://www.programmhaus.de/view.php?page=_termine
the page ist displayed correctly.
I run the same system (gunther 0.6) on 4 locations and these are the results:
Webserver, Apache 2.0.52, PHP 4.3.10, register_globals=on
safe_mode=off
-> gets errors
Webserver, Apache 1.3.31, PHP 4.3.10, register_globals=on, safe_mode=off
-> runs fine
MAMP local, Apache 2.0.50, PHP 4.3.8, register_globals=off, safe_mode=off
-> runs fine
OS X local, Apache 1.3.33, PHP 4.3.11, register_globals=off, safe_mode=off
-> runs fine
Yes, i know, register_globals should be 'off', i tried it, but as expected, it had no effect. Both Webservers are from the same ISP, but the working one is an 'older model'.
Any ideas where i should look at?
Best regards, Creatoure
I'm having the same problem running PHP 4.3.11
If I change the URL to /view.php?page=mypage then it works fine. Is there a way I can change this globally so that I don't have to hard-code URL's? This would be ideal.
Thanks - Joey
Seems to be a problem with $PathInfo (PHP) and AcceptPathInfo=Off in httpd.conf of the Apache-Webserver. In my webspace i couldn't change this. So i changed some lines in Gunthers /include/common.php - file. For example, change the function:
function make_view_url($page)
{
global $web_root, $VIEW_SCRIPT;
return $web_root.$VIEW_SCRIPT."/page/".$page;
}
to the following:
function make_view_url($page)
{
global $web_root, $VIEW_SCRIPT;
return $web_root.$VIEW_SCRIPT."?page=".$page;
}
If i remember correctly, there were only changes in common.php, but i'm not very sure. But now it works fine without to change httpd.conf or to use a htacces-file.
I hope, this helps.