As promised below is the code reference from Joomla i used after i upgrades to Joomla 1.5.7.
The error in Joomla was a specific line of code in the function "stripos" because I was using PHP4 at the time of upgrade.
I used the second part:(upgrade to php5) to "fix" it.
I achieve the php5 upgrade through the use of the .htaccess file placed in the root directory of the site. it worked
After doing all this, I upgraded Coopermine to 1.4.19.
After the Coppermine update and invoking bridge, I got error 500
So with all this said, I am back to php4 via the first part of the fix in the code below (* Add this to the end of /libraries/joomla/utilities/compat/php50x.php...).
My goal was to have Joomla at 1.5.7, Coppermine at 1.4.19 and php5. I still need to contact my web server in regard to Error 500 (isn't this fun?)
Thanks again,
GT
Here is the Joomla code:
Why can't users login in version 1.5.7 with php 4?
Jump to: navigation, search
As reported by auciker, because of a change made to improve security, login with redirection will not work for PHP 4 sites. This may also impact other areas where there is redirection, specifically polls and mailto.
To fix this:
* Add this to the end of /libraries/joomla/utilities/compat/php50x.php
if (!function_exists( 'stripos' )) {
function stripos( $haystack, $needle, $offset = 0 ) {
return strpos( strtolower( $haystack ), strtolower( $needle ), $offset );
}
}
* OR - Upgrade to PHP 5. PHP 4 end of life was August 8, 2008. There will not be any more PHP 4 releases, even for security. (Switching PHP versions may cause problems with some 3rd Party Plugins - be sure to test thoroughly).