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

problem with database
Old 01-30-2006, 05:43 AM   #1
devashanti
Calendar User
 
devashanti is offline
Join Date: Dec 2005
Posts: 6
Default problem with database

I just did a new install and it never asked me to run the setupSQL.php file. I tried to do it manually but got an error, so i created the database manually but when i try to access the event manager i get a message to use the setup manager to for defining the database (no where is there a place to create the db table - but i shouldn't need it.) I have installed the calendar before on another url without trouble...

Any ideas what to do?
 

Old 01-30-2006, 06:16 AM   #2
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

Make sure you have a database already setup, with appropriate rights for a user. Then enter that information in the Setup Manager. Once you save the settings, the script will check to make sure you have the table. If you don't it will prompt you to run the setupSQL.php. If the rights aren't properly assigned, you'll get an error.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 01-30-2006, 11:55 AM   #3
devashanti
Calendar User
 
devashanti is offline
Join Date: Dec 2005
Posts: 6
Default

I'm using the same user that is used on the other database (that is working) and that user have all priveleges in the database.
 

Old 01-30-2006, 01:16 PM   #4
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

Other database? If the user profile you're using doesn't have root level access to MySQL server, you should create the database manually, or use a database that's already there. What you're specifying in the Setup Manager is the database name and not the table. The table name is preset to "epc_calendar".

I would suggest you use the database you already have, and not worry about creating a separate database (which can cause problems if you're using the calendar in collaboration with a CMS like Joomla or PHP-Nuke).
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 01-30-2006, 02:57 PM   #5
devashanti
Calendar User
 
devashanti is offline
Join Date: Dec 2005
Posts: 6
Default

I should have been clearer, I'm sorry. I plan to install many of these calendars. Several will be on the same domain. The one I have already installed has a database called events, the epc_calendar table exists there. For the new install I created a database called portevents, this database also has a table I manually created called epc_calendar. I have a database/system user called webuser, this user is set up on several databases in my system ( have 8 databases for different apps so far) and have never had a problem with this user. The user was added to my portevents database and given all permissions. My config.inc.php file in the new calendar install has been modified to point to the new portevents database. Everything is defined the same as the config.inc.php file for my existing calendar that works fine, except it points to the portevents database. This should work, but it doesn't.
 

Old 01-30-2006, 05:49 PM   #6
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

FYI, you can use the same database for each install. Just manually change the table name in the config.inc.php file for each installation.

You should also NOT create the table in the database manually. If it already exists, the calendar will not attempt to recreate it.
__________________
-- 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
two calendars in one MySQL database? ashleek007 General Support 3 03-20-2007 09:03 PM
Database setup techslave General Support 1 12-08-2005 04:28 PM
Help with setting up flat-file database ALES General 6 05-15-2005 08:39 AM
Database key mismatch error. Meadowlark General Support 14 01-13-2005 04:16 PM
Error when enabling flatfile database SplitRock General Support 1 05-17-2004 06:22 PM



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