Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   New Versions, & Updating (http://forum.bytesforall.com/forumdisplay.php?f=12)
-   -   Deprecated: Function eregi() when installing theme now (http://forum.bytesforall.com/showthread.php?t=5400)

mendocinotim Jan 19, 2010 05:37 PM

Deprecated: Function eregi() when installing theme now
 
I just update to the latest version of WP (v2.9.1), and now my Atahualpa 3.4.5.1 theme (I just updated this from 3.4.1) gives the following message when I try to use it..

Code:

Deprecated: Function eregi() is deprecated in /Library/webserver/documents/wordpress/wp-content/themes/atahualpa345/functions/bfa_rotating_header_images.php on line 33
I have not found any other posts about this here.
Can anyone please help?

Thank you.

juggledad Jan 19, 2010 07:38 PM

What version of PHP are you running?

mendocinotim Jan 19, 2010 08:05 PM

PHP Version 5.3.0

www.entropy.ch Release 3

Universal Binary i386/x86_64/ppc7400/ppc64 - this machine runs: x86_64

mendocinotim Jan 20, 2010 05:34 PM

I found the following page that talks about this and other depreciated functions - though I am not a PHP programmer, this one looks like it might be a quick fix for you to implement.

See: http://takien.com/how-to-fix-functio...-in-php-5-3-0/

I hope you are going to address this, because this theme is awesome!
I love all the customization options.

juggledad Jan 20, 2010 06:40 PM

Hi thanks, I found something similar and am waiting for a reaponse from Flynn of how he wants the code changed.

ronaldo Oct 13, 2010 08:04 AM

For me exactly the same problem occourd when using zingiri webshop.
I managed to solve the rotating header image problem by replacing the line 33 with this one

if(preg_match('#.jpg#', $filename) || preg_match('#.gif#', $filename) || preg_match('#.png#', $filename)) {

more on this theme here http://devthought.com/tumble/2009/06...ors-in-php-53/

however atahualpa and zingiri seem not to get along well since now I'm not able to configure atahualpa options. I have an error from bfa_ata_admin.php line 362


All times are GMT -6. The time now is 02:59 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.