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

Events are not added to my SQL database
Old 05-06-2004, 07:09 AM   #1
juanita
Calendar User
 
juanita is offline
Join Date: May 2004
Posts: 5
Default Events are not added to my SQL database

I've successfully installed the script and am able to go to the admin page to enter events. However, after adding events, it tells me

--Number of events currently in SQL database:0--

and therefore the calendar at

www.mimadrejuanita.com/test.php

does not show any events.

I turned on the option to use MySQL for events.

What am I doing wrong?

Go ahead and test it. The username is Juanita and the password is villagonza.

Thanks.
 

Old 05-06-2004, 09:56 AM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,907
Default

Can you try to use a flat-file database and let me know if it works properly?
__________________
-- Brian

Questions?

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

Old 05-06-2004, 02:21 PM   #3
juanita
Calendar User
 
juanita is offline
Join Date: May 2004
Posts: 5
Default

There's no esdates.txt file in the extracted folder. I added set, set the attributes to 646 and got the following error:

There was an error writing to the flat-file database 'esdates.txt'.

Make sure the database directory has write permissions (chmod 777).

You may also need to set the permissions of the database 'esdates.txt' to at least 646.

So I went back and turned sql on and got the following message:

There was an error reading data from the mySQL database.

However,the connection to the database was successful!

You should run the installation script,setupSQL.php to set up the database.

The error was reported as:

Unknown column 'startDate' in 'where clause'

so I ran setup and got the following message:

> The connection to the mySQL database was successful!

> The calendar table already appears to exist in the mySQL database.

> You should now be able to use the ESCalendar Script with it's mySQL functions.

So i went back to admin, added a test event and got the same thing:

--Number of events currently in SQL database:0--


Thanks and aloha.

Juanita
 

Old 05-06-2004, 04:23 PM   #4
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,907
Default

The esdates.txt file will be created for you as long as the correct permissions are set on the database directory.

Did you upgrade from Version 4?
__________________
-- Brian

Questions?

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

Old 05-06-2004, 04:41 PM   #5
juanita
Calendar User
 
juanita is offline
Join Date: May 2004
Posts: 5
Default

No, I bought whatever is the version that's was emailed to me to download.
 

Old 05-06-2004, 04:54 PM   #6
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,907
Default

Can you PM me FTP access to your server?
__________________
-- Brian

Questions?

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

Old 05-06-2004, 05:24 PM   #7
juanita
Calendar User
 
juanita is offline
Join Date: May 2004
Posts: 5
Default

sorry, what's pm and how do I do it?
 

Old 05-06-2004, 05:27 PM   #8
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,907
Default

Just click my name on the left and select to send me a Private Message (PM).
__________________
-- Brian

Questions?

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

Old 05-06-2004, 07:06 PM   #9
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,907
Default

It appears that calendar was a pre-existing table in the database. I went into your setup and changed the table name to something else then ran the SQL setup script again.

All is well now.
__________________
-- Brian

Questions?

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

Old 05-06-2004, 08:01 PM   #10
juanita
Calendar User
 
juanita is offline
Join Date: May 2004
Posts: 5
Default

Thank you very much. One last question from a novice: which file am I supposed to erase once I get everything working?


Thanks,
Juanita
 

Old 05-06-2004, 08:04 PM   #11
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,907
Default

You shoud remove the setupSQL.php file from the setup directory.
__________________
-- Brian

Questions?

Instructions | FAQs | Errors 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
Showing events in from previous and next months in TOC. charlotte21 General Support 9 03-30-2005 09:25 AM
Can update events, but they aren't showing on page RhombusDesign General Support 9 02-03-2005 09:24 AM
Listing module not displaying one time events ethniccheese General Support 1 07-21-2004 01:24 PM
events aren't showing up pugs421 General Support 3 02-14-2004 12:05 AM



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