I'm testing out wdcalendar, a jquery based calendar for a wesbite. Some info on it:
http://www.webappers.com/2010/06/08/wdcalendar-jquery-based-google-calendar-clone/
The installation instructions are simple, but not detailed so maybe im screwing up somewhere. They go as follows:
Copy the unzipped directory into the apache www directory/sub-directory.
For a database:
Create a database, execute setup.sql
Change php/dbconfig.php to fit yours
rename edit.db.php to edit.php and php/datafeed.db.php to php/datafeed/php
And thats it for the instructions. My experience with mysql is nil so i followed a debian guide.
sudo apt-get install mysql-server amarok
$ mysql -u root -p
Enter password:
mysql> create database amarokdb;
mysql> grant usage on *.* to amarokuser@localhost identified by 'amarokpasswd';
mysql> grant all privileges on amarokdb.* to amarokuser@localhost ;
# running the setup.sql as specified
mysql> \. setup.sql
#and check i can connect with:
mysql -u amarokuser -p'amarokpasswd' amarokdb
The dbconfig.php looks like this:
<?php
class DBConnection{
function getConnection(){
//localhost/amarokuser/amarokpasswd
mysql_connect("localhost","root","") or
die("Could not connect: " . mysql_error());
//amarokdb
mysql_select_db("jqcalendar") or
die("Could not select database: " . mysql_error());
}
}
?>
What i changed here were the "//" lines which just said, localhost/user/pass and //databasename.
So after all this i goto the sample.php page. This generates random events on the page, untill the database is specified (i believe). When i browse to the page, the UI is there, but the rest is blank. At the top it says sorry, could not load your data, please try again later.
So any help here would be great, google doesnt have much