Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > General Discussion > General Support

General Support Questions about using the Easy PHP Calendar. (Not installation or customizations)

Closed Thread
 
Thread Tools Search this Thread Display Modes

Update to PHP 5.3.1 generates eregi_replace() error
Old 01-26-2010, 10:27 AM   #1
jhawkins002
Calendar User
 
jhawkins002 is offline
Join Date: Jan 2010
Posts: 3
Default Update to PHP 5.3.1 generates eregi_replace() error

Greetings!

We applied an update yesterday to upgrade our server to PHP 5.3.1 and Easy PHP Calendar was peppered with the following messages:
Deprecated: Function eregi_replace() is deprecated in /home/admin/public_html/labs/reservations/functions/blog.php on line 225

Deprecated: Function eregi_replace() is deprecated in /home/admin/public_html/labs/reservations/functions/blog.php on line 292

Deprecated: Function eregi_replace() is deprecated in /home/admin/public_html/labs/reservations/functions/blog.php on line 321

Deprecated: Function eregi_replace() is deprecated in /home/admin/public_html/labs/reservations/functions/blog.php on line 326

Deprecated: Function eregi_replace() is deprecated in /home/admin/public_html/labs/reservations/functions/blog.php on line 333

Deprecated: Function eregi_replace() is deprecated in /home/admin/public_html/labs/reservations/functions/blog.php on line 341

Deprecated: Function eregi_replace() is deprecated in /home/admin/public_html/labs/reservations/functions/blog.php on line 391
And so on...After a quick google, the issue seems to be the use of eregi_replace() instead of preg_replace() - as it appears eregi_replace() is now depreciated. Will this be fixed in an upcoming version? We are running a full license of the current build (6.3.28).

Thanks for your assistance!
 

Old 01-26-2010, 10:31 AM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Thanks for pointing this out. I'll try to get this updated in the next release. If you would like to test it, please open a support ticket.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 01-26-2010, 10:59 AM   #3
jhawkins002
Calendar User
 
jhawkins002 is offline
Join Date: Jan 2010
Posts: 3
Default

Quote:
Originally Posted by Brian View Post
Thanks for pointing this out. I'll try to get this updated in the next release. If you would like to test it, please open a support ticket.
Thanks for the quick response Brian! Out of curiosity, any news on when the next release might land?
 

Old 01-26-2010, 11:03 AM   #4
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Actually, it was going to be released this week (Version 6.3.29). But I will try to squeeze in this update too.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 01-26-2010, 11:06 AM   #5
jhawkins002
Calendar User
 
jhawkins002 is offline
Join Date: Jan 2010
Posts: 3
Default

You are awesome; best of luck on the release, and congrats on creating a very useful piece of software!
 

Old 01-28-2010, 11:32 AM   #6
PincelDigital
Calendar User
 
PincelDigital is offline
Join Date: Jan 2010
Posts: 3
Exclamation

Hello I'm having the same problem:

Deprecated: Function eregi_replace() is deprecated in /home/****/public_html/calendar/functions/functions.inc.php on line 56

Deprecated: Function eregi_replace() is deprecated in /home/****/public_html/calendar/functions/listings.php on line 260

etc.

I'm also having this error when accessing calendar.php

PHP Warning: Division by zero in /home/****/public_html/calendar/functions/dateMarking.php on line 845

It seems like an endless loop that might be cause due the previous error.

any idea of when will this be fixed?

Thanks!

Last edited by PincelDigital; 01-28-2010 at 11:34 AM.
 

Old 01-28-2010, 11:37 AM   #7
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

We are testing the solution right now...
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 01-28-2010, 02:25 PM   #8
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

If you would like to test the fix for this, please open a support ticket. (We need a few Beta testers before we can release the code).
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 02-03-2010, 03:31 PM   #9
bensaladotx
Calendar User
 
bensaladotx is offline
Join Date: Dec 2009
Posts: 1
Default

I am having a similar problem:

Deprecated: Function eregi_replace() is deprecated in /home/saladoci/public_html/calendar/functions/listings.php on line 260

and more
 

Old 02-03-2010, 03:32 PM   #10
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Please open a support ticket so we can give you access to the test files.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 02-11-2010, 11:07 AM   #11
PincelDigital
Calendar User
 
PincelDigital is offline
Join Date: Jan 2010
Posts: 3
Default

I tested the files and the eregi error has disappeared, but I still get the following one specially when trying to navigate the calendar to a date or month in the past:

PHP Warning: jdtogregorian() expects parameter 1 to be long, string given in /home/****/public_html/calendar/functions/dateMarking.php on line 259
PHP Warning: Division by zero in /home/****/public_html/calendar/functions/dateMarking.php on line 845
PHP Warning: Division by zero in /home/****/public_html/calendar/functions/dateMarking.php on line 845
...
 

Old 02-11-2010, 11:12 AM   #12
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

I'm not sure about your division by zero error. This has nothing to do with the eregi error message.

What database type are you using and how many events do you have in it. It sounds like you have an event set as repeating but set the repeat amount to zero (which isn't possible in the admin).
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 02-12-2010, 12:42 AM   #13
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

PincelDigital, what version of mySQL are you using and which encoder?
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 02-20-2010, 09:31 AM   #14
PincelDigital
Calendar User
 
PincelDigital is offline
Join Date: Jan 2010
Posts: 3
Default

Hi! I'm sorry... I'm using the file database and the ioncube encoder 5.3.
 
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Update to PHP 5.x MIB Installation / Upgrade Questions 28 01-29-2010 05:09 PM
New web host - PHP fatal error MichaelC Installation / Upgrade Questions 3 06-13-2009 07:51 PM
Tester index.php error on UNIX server rcastle Installation / Upgrade Questions 1 08-29-2007 12:21 PM
PHP error velvetrope Installation / Upgrade Questions 10 02-06-2007 03:42 AM
Zend Problem after PHP Update timchase01 Installation / Upgrade Questions 2 05-25-2006 10:05 AM



All times are GMT -4. The time now is 04:42 PM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |