Hey allen I am a beginner. I wanted to integrate Gantt chart and also ina new tab so i followed all the instruction. copied all the codes that u specified on pg5. but when i tried to run index.php, i get this error
Warning: include(../chartglobal.php) [function.include]: failed to open stream: No such file or directory in /home/www/admin.nixorit.org/application/views/lab/index.php on line 203
Warning: include(../chartglobal.php) [function.include]: failed to open stream: No such file or directory in /home/www/admin.nixorit.org/application/views/lab/index.php on line 203
Warning: include() [function.include]: Failed opening '../chartglobal.php' for inclusion (include_path='.:/usr/local/php5/share/pear') in /home/www/admin.nixorit.org/application/views/lab/index.php on line 203
Warning: mysql_pconnect() [function.mysql-pconnect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/www/admin.nixorit.org/application/views/lab/index.php on line 211
Fatal error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/www/admin.nixorit.org/application/views/lab/index.php on line 211
Please guide me on how to correct it
I have already entered my sql detail. I then also deleted the comment and line mentioning chartglobal.php
which now looks like dis
//(GIMMEGANTT) - Set up our connection to the Feng Office database.
//$hostname_Feng = "pdb1.awardspace.com";
//$database_Feng = "abdsheikh_feng";
//$username_Feng = "abdsheikh_feng";
//$password_Feng = "-----";
// Actually make the connection to the database.
$Feng = mysql_pconnect($hostname_Feng, $username_Feng, $password_Feng) or trigger_error(mysql_error(),E_USER_ERROR)
Now the error i am getting is
Warning: mysql_pconnect() [function.mysql-pconnect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/www/admin.nixorit.org/application/views/lab/index.php on line 205
Fatal error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/www/admin.nixorit.org/application/views/lab/index.php on line 205