Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Function eregi() is deprecated

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #1  
Old 11-15-2010, 03:02 PM
  ecommweb's Avatar 
ecommweb ecommweb is offline
 

Advanced Member
  
Join Date: Nov 2008
Posts: 49
 

Default Function eregi() is deprecated

We have upgraded the server recently to php5.3.3
It has caused some excitement, but we have managed to deal with most of the issues now. Stuck with this one below though

Its the Point of Sale module from BCE Engineerring.
They are sure its nothing to do with their module, although the errors point at their encrypted files.

Anyone know where else we could look to correct this error

Its a 4.1.9 installation


Unknown Error: Function eregi() is deprecated in /home/xxxx/public_html/xxxx/pos_files/pos_functions.php(256) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) )'d code(1) : eval()'d code(1) : eval()'d code on line 1
Unknown Error: Function eregi() is deprecated in /home/xxxx/public_html/xxxx/pos_files/pos.php(390)
__________________
www.ecommweb.co.uk
Custom X-Cart design and functions
eCommerce SEO

www.hubmaster.co.uk
Combine all your eCommerce channels in your existing website admin

+44 (0)1302 325 032
Reply With Quote
  #2  
Old 11-15-2010, 03:25 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Function eregi() is deprecated

Did you upgrade the Ioncube loaders?

Moving to Third Party Add-Ons
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 11-15-2010, 04:30 PM
 
Emerson Emerson is offline
 

X-Man
  
Join Date: Mar 2004
Location: Atlanta, GA
Posts: 2,209
 

Default Re: Function eregi() is deprecated

If those files are not encoded you can edit them and replace eregi with preg_match
__________________
Emerson
Total Server Solutions LLC- Quality X-Cart Hosting
Recommended X-Cart Hosting Provider - US and UK servers
Does your host backup your site? We do EVERY HOUR!!!
Shared Hosting | Managed Cloud | Dedicated Servers
Reply With Quote
  #4  
Old 11-15-2010, 05:17 PM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,062
 

Default Re: Function eregi() is deprecated

Yes that function (eregi) is not used in our POS module. I'm not sure why your server is saying it is. I've looked at all the old archives as well. Not in there.

You can email us your zip if you want, or just those two files and we can see if the encryption mechanism has put them in there for some reason.

Carrie

Quote:
Originally Posted by ecommweb
We have upgraded the server recently to php5.3.3
It has caused some excitement, but we have managed to deal with most of the issues now. Stuck with this one below though

Its the Point of Sale module from BCE Engineerring.
They are sure its nothing to do with their module, although the errors point at their encrypted files.

Anyone know where else we could look to correct this error

Its a 4.1.9 installation


Unknown Error: Function eregi() is deprecated in /home/xxxx/public_html/xxxx/pos_files/pos_functions.php(256) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) )'d code(1) : eval()'d code(1) : eval()'d code on line 1
Unknown Error: Function eregi() is deprecated in /home/xxxx/public_html/xxxx/pos_files/pos.php(390)
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
  #5  
Old 11-15-2010, 05:34 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Function eregi() is deprecated

Interesting, just found this on a Marketing Manager install as well. Any insight on this one Carrie?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #6  
Old 11-15-2010, 07:31 PM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,062
 

Default Re: Function eregi() is deprecated

We use the same encryption software. Maybe it has to do with that?

Do you want to drop Kurt an email or should I?

Carrie

Quote:
Originally Posted by balinor
Interesting, just found this on a Marketing Manager install as well. Any insight on this one Carrie?
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
  #7  
Old 11-16-2010, 04:47 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Function eregi() is deprecated

I'll open a ticket with them
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #8  
Old 11-22-2010, 06:37 AM
  ecommweb's Avatar 
ecommweb ecommweb is offline
 

Advanced Member
  
Join Date: Nov 2008
Posts: 49
 

Default Re: Function eregi() is deprecated

Quote:
Did you upgrade the Ioncube loaders?

we have paid to have the ioncube loaders updated, but no joy

PHP 5.3.3 (cli) (built: Nov 17 2010 10:24:13)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v4.0.1, Copyright (c) 2002-2010, by ionCube Ltd.

Sending the files to BCSE
__________________
www.ecommweb.co.uk
Custom X-Cart design and functions
eCommerce SEO

www.hubmaster.co.uk
Combine all your eCommerce channels in your existing website admin

+44 (0)1302 325 032
Reply With Quote
  #9  
Old 11-22-2010, 06:58 AM
  ecommweb's Avatar 
ecommweb ecommweb is offline
 

Advanced Member
  
Join Date: Nov 2008
Posts: 49
 

Default Re: Function eregi() is deprecated

Quote:
You can email us your zip if you want, or just those two files and we can see if the encryption mechanism has put them in there for some reason.

Carrie

Seems to be every file in the set affected. I just quoted the fist few lines
see here
http://www.ecommweb.co.uk/projectfiles/melk.jpg
__________________
www.ecommweb.co.uk
Custom X-Cart design and functions
eCommerce SEO

www.hubmaster.co.uk
Combine all your eCommerce channels in your existing website admin

+44 (0)1302 325 032
Reply With Quote
  #10  
Old 11-22-2010, 07:02 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Function eregi() is deprecated

I had to get a new file from Firetank for my issue.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:42 AM.

   

 
X-Cart forums © 2001-2020