Community « Discussion forum « Installation support «
Colon in a URL results in blank page
Owen Charlotte -- on Feb. 19 2007, from Staffordshire, United KingdomSave the cheerleader, save the world
New YACS user here with a bit of a showstopper...
I'm just starting to evaluate YACS 7.1 as an intranet replacement but I've encountered a bit of a problem. If I go to any URL that contains a colon in the string (e.g. /yacs/versions/list.php?anchor=article:9) then two things happen:
1. The colon gets URL encoded (/yacs/versions/list.php?anchor=article%3A9)
2. A blank page results
Is this something peculiar to our installation or is this a recognised bug in YACS?
We're using a LAMP setup (CentOS, Apache 2.0.52, PHP 5.1.4, MySQL 4.1.20) and I've ran the upgrade scripts to make sure we're up-to-date.
1. The colon gets URL encoded (/yacs/versions/list.php?anchor=article%3A9)
2. A blank page results
Is this something peculiar to our installation or is this a recognised bug in YACS?
We're using a LAMP setup (CentOS, Apache 2.0.52, PHP 5.1.4, MySQL 4.1.20) and I've ran the upgrade scripts to make sure we're up-to-date.
| Bernard from nearby-an-airport Associate, 6927 posts | While the encoding is ok, on my side I have the following error message, which is a bug: Fatal error: Undefined class name 'cache' in /home/yetanoth/www/yacs/versions/list.php on line 118To fix this the right solution is to edit versions/list.php and to insert a line to include the cache library, as follows:This will be made available with next release, thank you for your feed-back. |
| Bernard from nearby-an-airport Associate, 6927 posts | Of course, your nick name has been added to the list of YACS testers for this script... |
SonniesEdge![]() from Staffordshire, United Kingdom 3 posts | Bernard, what a wonderful response time you have! Thank you for the fix and I will of course repay you by testing the script when I next have access to that server. I love open-source.
|
SonniesEdge![]() from Staffordshire, United Kingdom 3 posts |
Bernard: I applied this patch to our test server and after a restart of Apache it worked wonderfully. Thank you. |
| Bernard from nearby-an-airport Associate, 6927 posts | Good to know this has been fixed. Thanks for the feed-back, and for your interest in YACS. |
