Upgrade to 3.0 and ...
 
Notifications
Clear all

Upgrade to 3.0 and got a Deprecated Error

9 Posts
3 Users
0 Reactions
3,095 Views
(@guest6690)
Posts: 0
 

I upgraded my eFiction ( http://www.fluffhouse.org.uk/jakie/efiction1.1/eFiction1.1) to the newest version 3.5.2 (I believe) and I'm getting this error:

Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 42
Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 42
Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 43
Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 43
Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 44
Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 44
Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 45
Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 45
Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 46
Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 42
Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 42
Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 43
Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 43
Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 44
Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 44
Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 45
Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 45
Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 46
Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 42
Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 42
Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 43
Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 43
Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 44
Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 44
Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 45
Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 45
Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 46
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/jakie/efiction1.1/eFiction1.1/header.php:42) in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 53
Warning: Cannot modify header information - headers already sent by (output started at /var/www/jakie/efiction1.1/eFiction1.1/header.php:42) in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 62
Warning: Cannot modify header information - headers already sent by (output started at /var/www/jakie/efiction1.1/eFiction1.1/header.php:42) in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 63
Warning: Cannot modify header information - headers already sent by (output started at /var/www/jakie/efiction1.1/eFiction1.1/header.php:42) in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 64

I don't have DeBug on that I know of, I've never had it on. I don't have a temp account because nothing is working. I have searched the boards hoping to find something but needless to say, I haven't found anything. I'm sorry if I missed it, I just want to get this resolved so I can start re-working my fic site.

Thanks
Robin Gurl

EDIT: It's also now not happening on the index but on alot of other pages it is. The site is now "useable" except for the long list of deprecated errors. I've searched google and can't find out how to fix it still.


 
Posted : 19/06/2010 12:09 am
(@lyndsie)
Posts: 1263
Member Moderator
 

Please fill out the Support Request template. We particularly need to know your versions of PHP and MySQL in this case. According to php.net, the function eregi() has been deprecated for newer versions (not in use). I'd like to confirm your version.


 
Posted : 19/06/2010 11:04 am
(@guest6690)
Posts: 0
 

URL to your eFiction: http://www.fluffhouse.org.uk/jakie/efiction1.1/eFiction1.1
Version of eFiction: currently running eFiction version 3.5.2
Have you bridged eFiction, if so with what?: No
Version of PHP: can be found out from your host PHP 5.3.2-1
Version of MySQL: can be found out from your host - I'm guessing he upgraded them both at the same time, so what ever the newest is.
Have you searched for your problem: (yes/no) Yes.
If so, what terms did you try:  Deprecated Errors, Eregi Deprecated, Eregi Header, etc. I tried Google and here.
State the nature of your problem: Copy and paste any errors you are receiving.
Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 42

Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 42

Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 43

Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 43

Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 44

Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 44

Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 45

Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 45

Deprecated: Function eregi() is deprecated in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 46

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/jakie/efiction1.1/eFiction1.1/header.php:42) in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 53

Warning: Cannot modify header information - headers already sent by (output started at /var/www/jakie/efiction1.1/eFiction1.1/header.php:42) in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 62

Warning: Cannot modify header information - headers already sent by (output started at /var/www/jakie/efiction1.1/eFiction1.1/header.php:42) in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 63

Warning: Cannot modify header information - headers already sent by (output started at /var/www/jakie/efiction1.1/eFiction1.1/header.php:42) in /var/www/jakie/efiction1.1/eFiction1.1/header.php on line 64

Sometimes it doesn't have it on certain pages, like the Index one has disappeared but just about every other one does.

Do you have a test account for us? I haven't figured out how to make accounts yet...I haven't made any new ones since version 1.1 lol. O.O I do have an account you can sign on if you want. Username: robingirl2 pass: triplowery (it gives you access to everything because it's one of mine that I use to upload stories).

EDIT- It seems on certain pages that the list is short then on pages like looking at reviews or trying to delete reviews it gets extra long like the original list in my first post.


 
Posted : 19/06/2010 12:54 pm
(@lyndsie)
Posts: 1263
Member Moderator
 

The problem is with eFiction's header.php file. It's using the eregi() function in some of the code, which won't work with your version of PHP (which is the newest; as most people's servers aren't updated right away, you're probably the first to hit this trouble). I think this is a problem for Tammy, as the code using it is designed to protect your site from hackers, and I don't want to mess with it.


 
Posted : 19/06/2010 2:50 pm
(@guest6690)
Posts: 0
 

I found this site: http://php.net/manual/en/function.eregi.php but like you said, I didn't want to mess with it either. I know a bit of programming but the Eregi and this new one they say to use is new to me. I'm too afraid of breaking the code for good if I mess with it. πŸ™‚ Either way, Tammy check the link up above ...maybe that'll help a bit.

Thanks for your help Lyndsie! πŸ™‚

Thanks
Robin Gurl


 
Posted : 19/06/2010 9:54 pm
(@tammy)
Posts: 2577
Member Moderator
 

I know about it.  I've run into it for v4.  Turn debug off for now. If as, you say, you don't have debug on, then you need to turn the php error reporting down a notch or two  on your site.  Right now it seems to be reporting EVERYTHING.  That's something you'll have to do by either editing header.php or your php.ini file.  Here's the link in the PHP manual.  http://us3.php.net/manual/en/function.error-reporting.php  It's actually working, it's just telling you that function will not work in future versions of php.  

BTW, you should NOT have debug turned on unless you're actually debugging a problem.


 
Posted : 20/06/2010 2:04 pm
(@guest6690)
Posts: 0
 

I followed the page and changed my error reporting to '0' in my header.php but nothing changed. I can't find my php.ini file.

Any other ideas?

Thanks
Robin Gurl


 
Posted : 20/06/2010 11:15 pm
(@lyndsie)
Posts: 1263
Member Moderator
 

To find your php.ini file, hit the "PHP info" link in your eFiction's admin control panel. It's path should be in one of the first lines, "loaded configuration file."


 
Posted : 20/06/2010 11:33 pm
(@tammy)
Posts: 2577
Member Moderator
 

I've updated the SVN archive with a fix for this.


 
Posted : 19/08/2010 4:05 pm
Share: