Hi Jamie
Nice Script works very well, One problem I think I have picked up the demo version as it will not allow to change password and acts identical to your demo version if I try and change the password there.??
Thats funny Jamie because I use the script with another and just added the tables into my previous database and use my own dbconnection file but I needed to change all $conn to $link and I noticed the missing var but this still did work..??
Hmmm, this is a little odd
I am at work at the moment and cant get into my actual website due to a ports problem.
Looking at the actual script i cannot see how it would not work..
$updatePassword = mysql_query(”UPDATE user SET password=’$pass1′ WHERE username=’admin’ LIMIT 1″, $conn);
It is passing the proper variables etc.. its just not picking it up, the only thing i can think of is that the passwords are not the same, but i am not thinking that anyone is that stupid not to notice that one!
Sure thing Jamie,
I too am puzzled as you say as the query looks correct and I have crawled over the syntax and spelling and all seems fine.?
Will keep looking too..;)
Hi and thanks for this great script ! But I don’t know how to do if I want to implement this script inside another page. I don’t want to run it “stand alone” in a single page and I also don’t want to use frames.
I’m not so good in PHp, so if you could explain with some examples, it would be very nice !
I’m just wondering if it’s possible to make my translation into Swedish, complete. The whole calendar has I made a translation into Swedish, but I’m missing the name of the month … Where is the calendar collecting the name of the month ? I hav looked around in all files, but I can’t find it anywhere !
hi jamie, I did download the files, created a database sql on the server but it seem that i’ve made an error. here’s what came out on the browser, Help… Please.
Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host ‘darkw2_addict’ (1) in /home/darkw2/public_html/calendar/databaseConnection.php on line 10
Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user ‘darkw2′@’localhost’ (using password: NO) in /home/darkw2/public_html/calendar/databaseConnection.php on line 11
Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /home/darkw2/public_html/calendar/databaseConnection.php on line 11
Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host ‘darkw2_addict’ (1) in /home/darkw2/public_html/calendar/databaseConnection.php on line 10
Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user ‘darkw2′@’localhost’ (using password: NO) in /home/darkw2/public_html/calendar/databaseConnection.php on line 11
Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /home/darkw2/public_html/calendar/databaseConnection.php on line 11
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/darkw2/public_html/calendar/settings.php on line 5
Could not get settings.
This error happens if your database does not connect properly..
It looks like you are not using a password, online databases ususally require a password to connect to them.
If you are using cPanel, create a new MySQL username and password and give them access to the calendar database.
Then update the calendar connection file.
I’ve been trying for days and nothing, Can someone just help me out if possible?, I’m desperate. Thanks for your time
here’s the message:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user ‘darkw2_addict’@'localhost’ (using password: YES) in /home/darkw2/public_html/calendar1/databaseConnection.php on line 10
I cannot connect to the database beacuse:Access denied for user ‘darkw2_addict’@'localhost’ (using password: YES)
Great script, have been altering it to become more of an availability calendar & allowing to set dates to be either Available (green) Booked (red) and book multiple dates so for 7 days without having to click on every date.
The problem i am having is taht when you insert a date, the calendar does not update to show the new colours that have been changed. What can i call to reset & display the calendar?
I have installed your calender succesfull! It works really good but I have one question: If I have a event today, the showed color is the eventcolor. Is it possible to show the todaycolor? If yes, how can I change this?
Thanks!
Rens
How and where do I remove the Login button on the main page? Or change it the color to White? I do not want everyone to see this and try to login to the Calendar.
Also is there a way to make the overall Calendar larger and the description type set also. I have a few complaints it is hard to read.
Thanks for such a great calendar.
Is it possible to show the events of today without clicking on the date? I tried with onLoad but I coudn’t get the events visible.
Hans
25 Responses for "Calendar with Event Manager v1.1"
Hi Jamie
Nice Script works very well, One problem I think I have picked up the demo version as it will not allow to change password and acts identical to your demo version if I try and change the password there.??
Hi Danny,
Thank you for pointing that one out…
I had forgotten to add the $conn variable to the end of the update password mysql_query() so the query was doing nothing, whoops.
It is all fixed now in the ZIP
Jamie.
Thats funny Jamie because I use the script with another and just added the tables into my previous database and use my own dbconnection file but I needed to change all $conn to $link and I noticed the missing var but this still did work..??
Just to clarify all other queries to the database are OK it will let me update colors and add events etc… just the password doesn’t seem to connect.?
Hmmm, this is a little odd
I am at work at the moment and cant get into my actual website due to a ports problem.
Looking at the actual script i cannot see how it would not work..
$updatePassword = mysql_query(”UPDATE user SET password=’$pass1′ WHERE username=’admin’ LIMIT 1″, $conn);
It is passing the proper variables etc.. its just not picking it up, the only thing i can think of is that the passwords are not the same, but i am not thinking that anyone is that stupid not to notice that one!
I’ll have a look when i get home in an hour or so
Thanks for helping out!
Jamie.
Sure thing Jamie,
I too am puzzled as you say as the query looks correct and I have crawled over the syntax and spelling and all seems fine.?
Will keep looking too..;)
Oh my God..!!
It was soooo simple….
the password change tag wasn’t closed:
.
Now it is complete…Thanks
Sorry I posted html tags..?
Form tag no closed on updatePassword form…;)
Hi Danny!
That was amazing, i would NEVER have spotted that one.. the ZIP file has been changed reflecting this change, so all is working!
Thanks!
Jamie.
Hi and thanks for this great script ! But I don’t know how to do if I want to implement this script inside another page. I don’t want to run it “stand alone” in a single page and I also don’t want to use frames.
I’m not so good in PHp, so if you could explain with some examples, it would be very nice !
Hi, How can you get the calendar to show multiple months on one page?
e.g.
August
Sept
Oct
…
Thanks
Hi again !
I’m just wondering if it’s possible to make my translation into Swedish, complete. The whole calendar has I made a translation into Swedish, but I’m missing the name of the month … Where is the calendar collecting the name of the month ? I hav looked around in all files, but I can’t find it anywhere !
Regards Leif
Multilingual months support now in V1.2
http://nodstrum.com/2007/08/24/mysql-calendar-v12-multilingual/
Jamie.
hi jamie, I did download the files, created a database sql on the server but it seem that i’ve made an error. here’s what came out on the browser, Help… Please.
Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host ‘darkw2_addict’ (1) in /home/darkw2/public_html/calendar/databaseConnection.php on line 10
Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user ‘darkw2′@’localhost’ (using password: NO) in /home/darkw2/public_html/calendar/databaseConnection.php on line 11
Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /home/darkw2/public_html/calendar/databaseConnection.php on line 11
Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host ‘darkw2_addict’ (1) in /home/darkw2/public_html/calendar/databaseConnection.php on line 10
Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user ‘darkw2′@’localhost’ (using password: NO) in /home/darkw2/public_html/calendar/databaseConnection.php on line 11
Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /home/darkw2/public_html/calendar/databaseConnection.php on line 11
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/darkw2/public_html/calendar/settings.php on line 5
Could not get settings.
Hi J,
This error happens if your database does not connect properly..
It looks like you are not using a password, online databases ususally require a password to connect to them.
If you are using cPanel, create a new MySQL username and password and give them access to the calendar database.
Then update the calendar connection file.
Jamie.
hi jamie, I tried.. Nothing… Here’s the info when created
Users in calendar
darkw2_addict (Privileges: ALL PRIVILEGES)
Connection Strings
Perl $dbh = DBI->connect(”DBI:mysql:darkw2_calendar:localhost”,”darkw2_addict”,”");
PHP $dbh=mysql_connect (”localhost”, “darkw2_addict”, “”) or die (’I cannot connect to the database because: ‘ . mysql_error());
mysql_select_db (”darkw2_calendar”);
I did the changes on the connection and the same error message page came up.
I’d give up, Don’t know what to do next.
Thanks for your time
J
I’ve been trying for days and nothing, Can someone just help me out if possible?, I’m desperate. Thanks for your time
here’s the message:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user ‘darkw2_addict’@'localhost’ (using password: YES) in /home/darkw2/public_html/calendar1/databaseConnection.php on line 10
I cannot connect to the database beacuse:Access denied for user ‘darkw2_addict’@'localhost’ (using password: YES)
Nice calendar. One thing I’d like to see added is a nav for next and previous month and year. Good job.
Hi Mike,
This will be implemented in v1.3 in the form of arrows back and forth.
Jamie
Hi Jamie,
thanks for all details and tutorials. I have one question though: In this code,
Hi there,
Great script, have been altering it to become more of an availability calendar & allowing to set dates to be either Available (green) Booked (red) and book multiple dates so for 7 days without having to click on every date.
The problem i am having is taht when you insert a date, the calendar does not update to show the new colours that have been changed. What can i call to reset & display the calendar?
Thanks
Hello,
I have installed your calender succesfull! It works really good but I have one question: If I have a event today, the showed color is the eventcolor. Is it possible to show the todaycolor? If yes, how can I change this?
Thanks!
Rens
How and where do I remove the Login button on the main page? Or change it the color to White? I do not want everyone to see this and try to login to the Calendar.
Also is there a way to make the overall Calendar larger and the description type set also. I have a few complaints it is hard to read.
Thanks much and great job on the script.
Hi Jamie,
Thanks for such a great calendar.
Is it possible to show the events of today without clicking on the date? I tried with onLoad but I coudn’t get the events visible.
Hans
i am getting an error whie i run the program
will u please tell wqat is the problem
Notice: Undefined variable: tTop in C:\Program Files\EasyPHP 2.0b1\www\mysqlCalendar_1_2\mysqlCalendar_1_2\rpc.php on line 172
Leave a reply