Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » New Versions, & Updating »

Deprecated: Function eregi() when installing theme now


  #1  
Old Jan 19, 2010, 05:37 PM
mendocinotim
 
3 posts · Jan 2010
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.
  #2  
Old Jan 19, 2010, 07:38 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What version of PHP are you running?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jan 19, 2010, 08:05 PM
mendocinotim
 
3 posts · Jan 2010
PHP Version 5.3.0

www.entropy.ch Release 3

Universal Binary i386/x86_64/ppc7400/ppc64 - this machine runs: x86_64
  #4  
Old Jan 20, 2010, 05:34 PM
mendocinotim
 
3 posts · Jan 2010
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.
  #5  
Old Jan 20, 2010, 06:40 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Hi thanks, I found something similar and am waiting for a reaponse from Flynn of how he wants the code changed.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #6  
Old Oct 13, 2010, 08:04 AM
ronaldo
 
1 posts · Oct 2010
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

Bookmarks

Tags
atahualpa, depreciated, eregi, function

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem installing Atahualpa with WP 2.8.4 andrewhewson New Versions, & Updating 1 Sep 20, 2009 12:37 PM
Installing Spanish translation gmr1970 Languages & Translations 2 Sep 15, 2009 05:43 PM
[SOLVED] I messed up my widget area and even re-installing theme didn't fix it - help Olivier Sidebars & Widgets 4 Jul 20, 2009 05:00 PM
[SOLVED] Theme's Print Function abroadinspain Post-Kicker, -Byline & -Footer 3 Jul 16, 2009 03:45 PM
Help installing event calendar widget in sidebar echamings Sidebars & Widgets 2 May 7, 2009 04:55 AM


All times are GMT -6. The time now is 12:19 PM.


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