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

SQL DB won't connect even though database is set up properly.
Old 07-02-2006, 03:50 PM   #1
dgrandey
Calendar User
 
dgrandey is offline
Join Date: Jul 2006
Posts: 2
Default SQL DB won't connect even though database is set up properly.

I am moving my calendar from an old server to a new server. It is currently working with no problem on a server running

PHP ==> 4.4.0
MYSQL ==> 4.14

I connect to the db no problem by using the localhost for a server and user name and password that I setup on MYSQL.

In moving to the new server I am now using:

PHP ==> 5.1.2
MYSQL ==> 5.0.18

I setup a user on MYSQL by using the MYSQL utility. As root I entered the following in the command line mysql utility.

grant all privileges on *.* to <USERNAME>@localhost identified by '<PASSWORD>';

What I entered <USERNAME> and <PASSWORD> is what I ented in my setup username and passowrd.

I logged in via mysql login to verify that I can use that account.

When I change the setup in PHP Calendar for the mysql database, the setup page no longer fully loads. All I see is the header with my login name. I look at the source code and it ends the page on an open <TD> tag. I get no error message at all. It just stops creating the page.

It still works fine on my old server and I would like to bring that server down - however I have spent the last 3 hours trying to figure out why this is happening.

The main differences are the SQL and PHP versions - I made sure the user was setup on MYSQL. I also made sure I downloaded the PHP 5 version.

I am using the ioncube decoder.

I am getting ready to punt - any help will be apprecited!

Thanks,

Doug Grandey
 

Old 07-02-2006, 05:06 PM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,885
Default

Some things to try:

1) Try the latest loader from http://www.ioncube.com/loaders.

2) Try using a flat-file database and see if it works.

3) Try another application that uses mySQL.
__________________
-- Brian

Questions?

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

Old 07-02-2006, 05:19 PM   #3
dgrandey
Calendar User
 
dgrandey is offline
Join Date: Jul 2006
Posts: 2
Default

I tried the flat file and was able to post events.

I figure SQL would be better and since I had it working on the other server that way I was trying to get it up and running on the new server. I am good with just getting it to work.

I might look into trying to fix SQL in the future. Any ideas what it might be? If the flat file is working - does that mean the ION Cube setup is ok - I believe I downloaded the latest version.

Is there any downside with the flat file - speed/security?

Thanks for the quick help.

Doug
 

Old 07-02-2006, 07:14 PM   #4
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,885
Default

Since the flat-file is working, I would assume that the calendar is installed correctly.

Are there other mySQL applications working correctly or can you test any?

Quote:
Is there any downside with the flat file - speed/security?
mySQL is recommended for both speed and security.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 
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
Database Creation error in set up pkonstan Installation / Upgrade Questions 3 12-19-2005 10:53 AM
Database setup techslave General Support 1 12-08-2005 04:28 PM
Calendar Won't Connect To Database parkaboy62 General Support 17 11-04-2005 03:07 PM
Need help setting up my SQL Database codenameiceman General Support 4 09-08-2004 11:12 AM
an error writing to the flat-file database 'esdates.txt' Squirrel General Support 12 07-28-2004 12:02 AM



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