Page 1 of 1

[NOT A BUG] Component route error for PHP 5.0.4

Posted: Fri Sep 05, 2008 12:51 pm
by juanparati
For Joomla 1.5.6

PHP 5.0.4 don't execute correcly the function _parseULR in uri.php.

I had problems and I find the solutions in this thread: http://forum.joomla.org/viewtopic.php?f=428&p=1404482

Some people have the same problem and the solution is change this line in the line 725:

Code: Select all

	if (version_compare( phpversion(), '4.4' ) < 0)
for this one:

Code: Select all

if (version_compare( phpversion(), '4.4' ) < 0 || version_compare(phpversion(), '5.0.4') == 0)
This can fix a lot of 404 errors.

Re: [BUG] Component route error for PHP 5.0.4

Posted: Fri Sep 05, 2008 1:00 pm
by Tonie
Maybe one of the devs does want to change it, but PHP 5.0.4 is not supported on Joomla!. There are just too many specific problems in this versions that affect Joomla!.

Re: [BUG] Component route error for PHP 5.0.4

Posted: Fri Sep 05, 2008 6:06 pm
by juanparati
Actually it is a bug of PHP 5.0.4.

I had some problems in the past when trying to install moodle with this version.

It would be a great idea to make a special mention about this PHP version in the joomla installation.

Re: [BUG] Component route error for PHP 5.0.4

Posted: Fri Sep 05, 2008 10:19 pm
by Stasys
why can't you upgrade to 5.2.6 ???

Re: [BUG] Component route error for PHP 5.0.4

Posted: Sat Sep 06, 2008 9:00 am
by juanparati
Some people like my customers are using virtual hostings, and they can't update the php or mysql version.

Re: [BUG] Component route error for PHP 5.0.4

Posted: Tue Sep 16, 2008 12:46 pm
by juanparati
Ok, I have patched some files for fix the PHP 5.0.4 compatibility and few minutes ago I wrote to the system administrate for update or downgrade the PHP version.

All patches was made around uri.php and functions relatives to the routes.

I have learnt the lesson: PHP 5.0.4 don't can have sex with Joomla 1.5.x :'(

Re: [BUG] Component route error for PHP 5.0.4

Posted: Tue Sep 16, 2008 11:30 pm
by ircmaxell
It's plain and simple. 5.0.4 has a LARGE number of CRITICAL bugs. The URL routing is only one of these bugs. We WILL NOT support 5.0.4. If you modify the core to work on it, do not expect ANY support what so ever (or don't expect security either)... My recommendation: If your host refuses to update, find a new host. They obviously don't care about security...

Re: [NOT A BUG] Component route error for PHP 5.0.4

Posted: Wed Sep 17, 2008 8:17 pm
by juanparati
Thanks you for you advice ircmaxell.

I assume that PHP 5.0.4 is equal to problems (For Joomla, for Moodle, Drupal, etc), I still have bad experiencies with this version in the past. Today I am waiting for the Hosting provider response about the upgrade/downgrade.

Re: [NOT A BUG] Component route error for PHP 5.0.4

Posted: Thu Sep 18, 2008 4:24 pm
by mihu
I will move this thread to resolved.
Lesson Learned, avoid PHP 5.0.4