X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   Function eregi() is deprecated (https://forum.x-cart.com/showthread.php?t=56583)

ecommweb 11-15-2010 03:02 PM

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)

balinor 11-15-2010 03:25 PM

Re: Function eregi() is deprecated
 
Did you upgrade the Ioncube loaders?

Moving to Third Party Add-Ons

Emerson 11-15-2010 04:30 PM

Re: Function eregi() is deprecated
 
If those files are not encoded you can edit them and replace eregi with preg_match

BCSE 11-15-2010 05:17 PM

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)


balinor 11-15-2010 05:34 PM

Re: Function eregi() is deprecated
 
Interesting, just found this on a Marketing Manager install as well. Any insight on this one Carrie?

BCSE 11-15-2010 07:31 PM

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?


balinor 11-16-2010 04:47 AM

Re: Function eregi() is deprecated
 
I'll open a ticket with them

ecommweb 11-22-2010 06:37 AM

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

ecommweb 11-22-2010 06:58 AM

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

balinor 11-22-2010 07:02 AM

Re: Function eregi() is deprecated
 
I had to get a new file from Firetank for my issue.


All times are GMT -8. The time now is 10:27 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.