After calling ~../myphpmoney_2.0/public_html/index.php I receive :
Fatal error: Call to undefined function: stripos() in ~../myphpmoney_2.0/public_html/inc/function.inc on line 698
PHP Version 4.3.10,
Apache 2.0 Handler, 4.1.10a-3.2,
perl-Apache-ASP 2.57-suse9.3.build75050824.12,
php 4.3.10-14.1.swsoft,
mysql 4.1.10a-3.2
No error log found in public_html, mySQL has been accessed.
Noone else has reported this ... Hmmm, what have I missed ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for your quick answer hpfn :-)
... I am afraid I would have even more problems (with Chinese language) when upgrading to PHP5 ;-) And, sadly, I can only guess what to do with that patch mentioned, so can you give me a hand please ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you hpfn,
this fixed the actual problem. However, I have then met other missing function (array_combine() )in my PHP4...
I think, it is the most sensible thing to grit my teeth and upgrade to PHP5
Again, thank you
maotouying
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After calling ~../myphpmoney_2.0/public_html/index.php I receive :
Fatal error: Call to undefined function: stripos() in ~../myphpmoney_2.0/public_html/inc/function.inc on line 698
PHP Version 4.3.10,
Apache 2.0 Handler, 4.1.10a-3.2,
perl-Apache-ASP 2.57-suse9.3.build75050824.12,
php 4.3.10-14.1.swsoft,
mysql 4.1.10a-3.2
No error log found in public_html, mySQL has been accessed.
Noone else has reported this ... Hmmm, what have I missed ?
Thank you for your feedback.
You missed nothing. The function stripos only exists on PHP5.
I did not update the 'Requirements '.
Please update php version or use one off the options mentioned on
http://www.php.net/manual/en/function.stripos.php
One example:
rchillet at hotmail dot com
28-Apr-2006 01:45
improvement the function of heavyraptor with int offset parametre.
if (!function_exists("stripos")) {
function stripos($str,$needle,$offset=0)
{
return strpos(strtolower($str),strtolower($needle),$offset);
}
}
Thanks for your quick answer hpfn :-)
... I am afraid I would have even more problems (with Chinese language) when upgrading to PHP5 ;-) And, sadly, I can only guess what to do with that patch mentioned, so can you give me a hand please ?
file inc/function.inc, line 146 is a good place
# --------------------------- Php Function > 4.0.0 ---------------------------
Regards
hpfn
Thank you hpfn,
this fixed the actual problem. However, I have then met other missing function (array_combine() )in my PHP4...
I think, it is the most sensible thing to grit my teeth and upgrade to PHP5
Again, thank you
maotouying
Ok. But to use php5 'register_long_arrays = On' must be
set on php.ini.
If don' t want this, is possible to set 'register_long_arrays = Off'
editing inc/pictures.inc:1144
- if (array_key_exists('flag',$GLOBALS['_REQUEST']) && $GLOBALS['_REQUEST']['flag'] == $img) {
+ if (array_key_exists('flag',$_REQUEST) && $_REQUEST['flag'] == $img) {
echo base64_decode($a); die();
}
Regards