Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > VodaHost Web Hosting Support > mySQL & PHP

Notices

mySQL & PHP Discussions, information and help with mySQL and PHP.

Reply
 
LinkBack Thread Tools
  #1  
Old 08-22-2007, 12:04 PM
AWS's Avatar
AWS AWS is offline
First Lieutenant
 
Join Date: Jan 2006
Posts: 168
Default adding php calendar script

Hi,

I have a php script for a calander based event handler (see attached zip file) that requires mysql database.

I created the database and uploaded the folder, calendarix_0_7_20070307, containing the php script files to root directory of website www.foreverfitpromotions.com but I must not have done properly as I keep getting the error message...........................


"Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'webcalendar'@'localhost' (using password: YES) in /home/kdlrems/public_html/calendarix_0_7_20070307/cal_db.inc.php on line 23
could not connect"

.................................................

I would be grateful for any help. Navaldesign, would you have any ideas as to what steps I have not taken or need to take?

Thanking you in advance.
Attached Files
File Type: zip calendarix_0_7_20070307.zip (241.5 KB, 6 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 08-22-2007, 01:50 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,346
Default Re: adding php calendar script

I should take the time to install it, which i don't have. From the error message it would appear that the database login details that you have provided to the script are not correct. In the file cal_db.inc.php you will see these lines:

$db = 'cpusername_calendarix';
$dbuser = 'cpusername_webcalendar';
$dbpass = 'webcalendar';
$dbhost = 'localhost';

So you need to change them according to your database details
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 08-22-2007, 05:21 PM
AWS's Avatar
AWS AWS is offline
First Lieutenant
 
Join Date: Jan 2006
Posts: 168
Default Re: adding php calendar script

Thanks navaldesign.

I have edited the php script as indicated.

The calendar is located at: www.foreverfitpromotions.com/calendarix_0_7_20070307


I now have a list of index etc. and with several errors in the index.php

Thanks for your help.

All the Best!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 08-22-2007, 07:05 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,346
Default Re: adding php calendar script

I don't understand. The script consists of many more files, and four aux folders (with yet other files), where are they?

and, did you create database etc ?

Did you try the php calendar that you can install from Fantastico ?
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 08-22-2007, 08:35 PM
AWS's Avatar
AWS AWS is offline
First Lieutenant
 
Join Date: Jan 2006
Posts: 168
Default Re: adding php calendar script

Hi Navaldesign.

Thank you for your reply and I dont mean to keep you as I understand your busy.

Yes, I created the database and edited the file cal_db.inc.php to reflect the databse created in MySQL

I dontt understand either so I will try the calendar in fantastico as you pointed out.

Thanks & Regards.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old 08-22-2007, 08:39 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,346
Default Re: adding php calendar script

I can see you have ONLY uploaded a few files. You need to upload ALL files with the same folder structure as in the zip.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old 08-22-2007, 08:40 PM
AWS's Avatar
AWS AWS is offline
First Lieutenant
 
Join Date: Jan 2006
Posts: 168
Default Re: adding php calendar script

Hi Navaldesign,

Now I understand!!!!

I just checked the files that were uploaded in ftp and most had not transferred to the directory.

I have deleted and I am at present uploading the folder to the root directory using blue ftp.

I will keep you posted and again thanks for the tip on the other calendar.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old 08-22-2007, 08:44 PM
AWS's Avatar
AWS AWS is offline
First Lieutenant
 
Join Date: Jan 2006
Posts: 168
Thumbs up Re: adding php calendar script

Hi Again......

I have just uploaded the folder and all looks to be present.

I typed in the address into browse and received this error message......

"Warning: include(/home/kdlrems/public_html/calendarix_0_7_20070307/themes/default.color.php) [function.include]: failed to open stream: No such file or directory in /home/kdlrems/public_html/calendarix_0_7_20070307/cal_config.inc.php on line 174

Warning: include() [function.include]: Failed opening '/home/kdlrems/public_html/calendarix_0_7_20070307/themes/default.color.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/kdlrems/public_html/calendarix_0_7_20070307/cal_config.inc.php on line 174

Warning: Cannot modify header information - headers already sent by (output started at /home/kdlrems/public_html/calendarix_0_7_20070307/cal_config.inc.php:174) in /home/kdlrems/public_html/calendarix_0_7_20070307/index.php on line 17"


I will delrete the folder again and upload once more and if this fails then I will try the calendar in fantastico as you suggested.

Thanks & Regards,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old 08-22-2007, 08:52 PM
AWS's Avatar
AWS AWS is offline
First Lieutenant
 
Join Date: Jan 2006
Posts: 168
Default Re: adding php calendar script

No Joy!!!

Fantastico it is then.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old 08-22-2007, 09:09 PM
AWS's Avatar
AWS AWS is offline
First Lieutenant
 
Join Date: Jan 2006
Posts: 168
Default Re: adding php calendar script

val try this link....

www.foreverfitpromotions.com/calendarix_0_7_20070307


It has installed but with errors.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #11  
Old 08-22-2007, 09:23 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,346
Default Re: adding php calendar script

It seems that it can not retrieve some info from the database. Check again your database settings.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12  
Old 08-23-2007, 02:57 PM
AWS's Avatar
AWS AWS is offline
First Lieutenant
 
Join Date: Jan 2006
Posts: 168
Default Re: adding php calendar script

Quote:
Originally Posted by navaldesign View Post
It seems that it can not retrieve some info from the database. Check again your database settings.

I deleted the MySQL database and re-done again but no changes in the errors.

Any other ideas? as all are gratefully received.

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 03:02 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176