|
InstallDoc
PHP-Calendar Installation DocThe advice in this installation guide are based on the input received from other users on different systems. If you encounter installation issues that are not mentioned here, please notify us either by updating this page, or sending an email to the mailing list or the maintainer. Requirements
For SSH:We recommend PuTTY on Windows - http://www.chiark.greenend.org.uk/~sgtatham/putty/ and OpenSSH on Linux (or UNIX) - http://www.openssh.com/For FTP:We recommend Filezilla for a GUI FTP client - http://filezilla-project.org/ InstallationInstruction for people that are installing on a web host or some computer other than the one that they are working on are indicated with "remote host only" Make sure you have fulfilled all of the requirements listed above. Make sure PHP and MySQL server are properly installed and running on your server.
calendar folder of your webpage (example: http://www.mydomain.com/calendar/install.php) ErrorsMessage: ERROR db:1044: Access denied for user: 'MySQLusername@localhost' Solution: Make sure you have your MySQL username and password correct in the config.php file. Contact your host or administrator if you don't know what they should are. Message: ERROR create db:1044: Access denied for user: 'username@localhost' to database 'databasename': CREATE TABLE phpc_events Solution: You do not have the abilty to create tables. You need to grant permission to create tables on the user that you're using for the calendar. Message: ERROR Software error Couldn't select database Solution: Make sure the name of you MySQL database is correct in the config.php file. Contact your host or administrator if you don't know what the database name is. Make sure the SQL_PREFIX is set to 'phpc', or whatever the prefix of your tables is, in the config.php file TranslationGetting translations working is not automatic yet.
|
Sign in to add a comment
Help please I can not connect to db or setup the config.php file
I'm installing 2.0 beta 1, downloaded today, 7/31/09. install.php line 163 references a variable named my_admin_passwd, it should be my_adminpasswd.
I had this issue in both 1.1 and 2.0 b1; once the install was complete, going to index.php returned a page full of errors similar to this:
PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for '-5.0/DST' instead in M:\Websites\NSJ\phpcal2\includes\setup.php on line 104
I added this towards to top of includes/setup.php: date_default_timezone_set('America/Chicago');
and that fixed it. I'm running this on WinXP Pro/IIS 6.0.
I’m trying to install php-calendar all what I get is a blank page
http://research.map.gla.ac.uk/resmap/test/php-calendar/install/install.php
any help I will a appreciated
cheers
v 2.0 b1: adding a new event results in this error: PHP Notice: Undefined variable: output in M:\Websites\NSJ\phpcal2\includes\html.php on line 124
I'm leaving everything default on the form and typing 'test' in the subject and description fields. The event is created successfully.
Adding $output = ""; to html.php line 103 fixes the problem.
Hi I tried to install the calendar but I got this error
Fatal error: Call to a member function errorInfo() on a non-object in /home/publiweb/public_html/calendario/includes/calendar.php on line 55
Can you plese help me
The problem is an error in the structure of the PDO construct, you can fix it by amending all '... new PDO( ...' commands, see the PDO manual on php.net for instructions. This would be in 4 places in install.php and 1 place in setup.php. I hard coded my credentials into those constructs and got it working. Seems to me the only difference was that my dsn has 'mysql:dbname=xxx;host=xxx' where as his was 'mysql:host=xxx;dbname=xxx'. Either this is important for some servers or possibly, there was a problem with the server reading the config file.
to the developer: it would bea good idea to print out an error message either on the catch or if(!is_object($dbh)) in function db_error() in calendar.php.
Cheers
install.php function add_sql_user_db, the call to db_error at line 170 fails with this message: Fatal error: Call to a member function errorInfo() on a non-object in D:\Hosting\2093257\html\nsj\judocal\includes\calendar.php on line 55
From what I can tell $dbh has not been set to an object when that function is called at that point.
Would it be possible to add a prerequisite check? It would have saved me a few hours if the installation script had told me that I don't have the PDO PHP drivers installed (it's shared hosting, so I'm SOL).
I'm geeting this error
Fatal error: Cannot instantiate non-existent class: pdo in /opt/local/apache/htdocs/rande/inacs/php-calendar/install/install.php on line 251
can you help please
I also get the error: Call to a member function errorInfo() on a non-object on calendar.php line 55
I cannot locate the config.php file, please help
I get the blank screen as well, and for the guy on top the config file i believe is generated by the setup.
Any guidance would be apreciated.
ty.
Dear ALL, When I have copied all files into my local server(localhost:8080) and made the database & user by myself, but there still shows up a msg as below:
Fatal error: Call to undefined function () in C:\AppServ?\www\calendar\install\install.php on line 246
Would you mind to tell how to fix it? Thx~
Penny
Need help
Warning: require_once(adodb/adodb.inc.php) function.require-once?: failed to open stream: No such file or directory in /var/www/calendar/install.php on line 33
Fatal error: require_once() function.require?: Failed opening required 'adodb/adodb.inc.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/calendar/install.php on line 33
Thanx Torinn
I have just tried to install PHP Calendar with the following result: Could not connect to server. 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Backtrace
Can anyone help?
i'm also getting a blank page when i call the install.php script. i assume this could be a permissions related issue. or a code error of some sort. tried modifying permissions for the files within the calendar folder but no luck
Fatal error: Class 'PDO' not found in /usr/home/websites/pjc/www/project_planner/install/install.php on line 242
Any work around for this problem? I cant seem to install pdo for whatever reason.
Hi!! Need help
Warning: require_once(adodb/adodb.inc.php) function.require-once?: failed to open stream: No such file or directory in /var/www/calendar/install.php on line 33
Fatal error: require_once() function.require?: Failed opening required 'adodb/adodb.inc.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/calendar/install.php on line 33
It worked, included the adodb library ;)
Is there a guide somewhere, just to understand smthing about installation?
how many tables have I to create in the DB and what names they must have?
Fatal error: Call to undefined function () in D:\wamp\www\phpcalendar\includes\calendar.php on line 60
Any one who knows how to fix this?