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

Upgrading PHP version
Old 12-09-2010, 05:10 PM   #1
martynpinches
Calendar User
 
martynpinches is offline
Join Date: Dec 2010
Posts: 14
Default Upgrading PHP version

The server running my calender is presently at php4.4.9 but I need to implement an upgrade to php5 ~ very soon

When I made a quick test upgrade to php5 earlier this week my calendar simply fell over and I reverted to php4.

SO the question is ... what do I need to do to keep my calendar and all its data whilst at the same time upgrading to php5

calendar version: 6.3.28
encoder type: ionCube

Martyn
 

Old 12-10-2010, 06:39 AM   #2
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,968
Default

The encoder that is used to protect the code runs different versions for different versions of PHP. You can use the calendar with PHP5, but you need the version encoded for PHP5

Do your test again, and use the Tester Script to find out exactly which version you have to install to be compatible with your server.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 12-10-2010, 12:04 PM   #3
martynpinches
Calendar User
 
martynpinches is offline
Join Date: Dec 2010
Posts: 14
Default

Quote:
Originally Posted by ve9gra View Post
Do your test again, and use the Tester Script to find out exactly which version you have to install to be compatible with your server.
Cheers ~ will I need to download the entire calendar scrpt again or just activate something different on the server?? Because I have upgraded to php5 activated zend and it all appears to be working
 

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

If it's working then you should be good to go. If you see any strange issues, you might want to use the tester script to download the recommended version for your server and just upload the events, setup, functions and plugins directories.
__________________
-- Brian

Questions?

Instructions | FAQs | Errors FAQ | Forums | Support
| Web Site Hosting
 

Old 12-12-2010, 03:32 PM   #5
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,968
Default

To convert from one version to another (either PHP4 to PHP5, or ionCube to Zend) simply follow the upgrade instructions. That will keep your modifications and configuration.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 01-02-2011, 08:15 PM   #6
BigWing
Calendar User
 
BigWing is offline
Join Date: Jan 2006
Posts: 14
Default

Quote:
Originally Posted by ve9gra View Post
To convert from one version to another (either PHP4 to PHP5, or ionCube to Zend) simply follow the upgrade instructions. That will keep your modifications and configuration.
Well, that's what I've just tried to do...but it didn't work!

I've just upgraded my website from php4 to php5, so now my calendar said "Site error: the file xxxxx/calendar/functions/functions.inc.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator."

I looked in my ioncube directory online, and that 5.2.so is already there from when I uploaded the whole package. So I came looking on here for clues about what to do next...and I found the comments above.

So I downloaded the php5 version of the latest code (v6.4.1) and followed the upgrade instructions carefully. The last one of these says: "Run theSetup Manager..".

When I do that, I get: "Site error: the file xxxxx/calendar/setup/index.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator."!!

So I'm back where I started! Now what?
 

Old 01-03-2011, 06:42 AM   #7
BigWing
Calendar User
 
BigWing is offline
Join Date: Jan 2006
Posts: 14
Default

I've solved it by adding a custom php.ini to loads of folders - including the site root. The php.ini contains just:

zend_extension = "<absolute server path>/calendar/ioncube/ioncube_loader_lin_5.2.so";
 

Old 01-04-2011, 07:24 AM   #8
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,968
Default

This can happen if the host has configured PHP to deny dynamic loading of extensions. However, you should only require one php.ini... you might want to consult with your host for their recommended way.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 
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
Version 7 - Everything you wanted to know! Brian Other Announcements 9 06-21-2011 06:27 PM
I broke my version 6 installation / upgrade to php 5 / 10.4 Cappiels General Support 9 07-06-2007 11:47 AM
undefined function: html_entity_decode() using php prior to version 4.3 jperry1 General Support 4 07-19-2005 12:23 PM
Problem upgrading to new version Help! RMJ General Support 6 07-07-2005 08:01 AM
Upgrading from 5.7 to Version 6 tiamet General 1 05-14-2005 06:11 PM



All times are GMT -4. The time now is 10:27 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 |