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


Go Back   Easy PHP Calendar > General Discussion > Installation / Upgrade Questions

Installation / Upgrade Questions Questions or issues concerning the installation of the Easy PHP Calendar script.

Closed Thread
 
Thread Tools Search this Thread Display Modes

Moved previous install to new server, EPC has mysql issues?
Old 05-23-2012, 11:24 AM   #1
willow
Calendar User
 
willow is offline
Join Date: May 2012
Posts: 5
Default Moved previous install to new server, EPC has mysql issues?

Moved a fully working install from one server to a new server. Old server used php 5.2, new one uses 5.3, so i went from Zend to ioncube.

EPC 6.4.2 ioncube version will load up the setup manager, but if it's told to use the mysql server, it just fails to load properly. Only the banner displays (see attachment).

If you try using the event manager or display an event, it gives a 500.

Blew it all away, tried setting up EPC from scratch. As soon as it tries using the new mysql database.. it dies again, as before.

Every other piece of software I have is working fine after having been moved. Users have the right permissions.

What's changed?
Attached Thumbnails
Click image for larger version

Name:	cal.jpg
Views:	57
Size:	26.3 KB
ID:	467  
 

Old 05-23-2012, 12:16 PM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

What version of the calendar was on the old server before the move?

Are both versions of mySQL the same on both servers?

Can you use a flat-file database on the new server (as a test)?

If the script stops when connecting to mySQL, usually it's a server or configuration error. The calendar just uses basic PHP and mySQL connection code.
__________________
-- Brian

Questions?

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

Old 05-23-2012, 12:49 PM   #3
willow
Calendar User
 
willow is offline
Join Date: May 2012
Posts: 5
Default

6.4.2 prior

mySQL: 5.1.62 on the new box, 5.1.51 on the old.

Flatfile works fine.

The simplicity of this situation is what boggles my mind, and I've double checked the account settings and stuff because that was my first though. No logged mysql errors or anything.

Other software that uses the database/account works just fine. The only thing which broke when I moved the drive from one box to the next, was EPC.

I attached a copy of the html output when I'm in the database portion of the setup, to show you where it dies once I tell it to read the database.
Attached Files
File Type: txt setup.txt (2.3 KB, 39 views)

Last edited by willow; 05-23-2012 at 12:52 PM.
 

Old 05-23-2012, 12:51 PM   #4
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Did you update the paths (see Paths FAQ below).?
__________________
-- Brian

Questions?

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

Old 05-23-2012, 01:08 PM   #5
willow
Calendar User
 
willow is offline
Join Date: May 2012
Posts: 5
Default

Yeah, and I just verified the paths in calendar.php in both the new from scratch build and the old one. In fact, the new one said 'updating paths' or whatnot during install.
 

Old 05-23-2012, 02:10 PM   #6
willow
Calendar User
 
willow is offline
Join Date: May 2012
Posts: 5
Default

I just did it all again a 3rd time to make sure I wasn't missing something. Followed the manual instructions to the tee.

Unpacked the file, set the permissions, it set the server paths, it found the new license, it puts me into the setup manager. Everything checks out good.

I go to database, provide the database connect info, tell it to use it, and click save. It dies. At no point does it even suggest running setupSQL.php

I tried manually running setupSQL.php, it gives an Invalid Access - 6 code, which is new.

The database connect info is correct. User has the following permissions:

Select | Insert | Update | Delete | Create | Drop | Index | Alter | Create temp

Am I missing anything? What's with the invalid access code?
 

Old 05-23-2012, 02:28 PM   #7
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Can you change and save anything else in the settings?

You can see the database variables in the config file. Here is the code the calendar uses to connect (you may want to test this in a separate file).

$db = mysql_connect($sqlHost, $sqlUserLogin, $sqlPassword);
mysql_select_db($sqlName, $db);
__________________
-- Brian

Questions?

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

Old 05-23-2012, 03:11 PM   #8
willow
Calendar User
 
willow is offline
Join Date: May 2012
Posts: 5
Default

Yeah, everything else works.

Consider this issue solved, however.

Found out that one of the mysql-use flags wasn't enabled for EPC, but it was enabled for everything else.

So for anyone else with this exact issue, check your use flags on php 5.3x.

Thanks for the quick support Brian.
 
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
MAC OSX server install problems maninblk1 Installation / Upgrade Questions 8 04-05-2010 11:57 AM
OSX Snow Leopard Server Breaks EPC Asta Installation / Upgrade Questions 1 12-30-2009 11:15 AM
previous install now shows Internal Server Error mkolar Installation / Upgrade Questions 3 10-25-2009 08:43 PM
Moved to new server filch Installation / Upgrade Questions 2 11-23-2007 09:11 AM
Network Solutions Server Issues? tiger2808 Installation / Upgrade Questions 8 08-30-2006 05:25 PM



All times are GMT -4. The time now is 11:40 AM.


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 |