oceandiver
Junior Member
Posts: 7
Registered: 7/2/2007
Location: Antwerp, Belgium
Member Is Offline
|
| posted on 7/2/2007 at 12:30 PM |
|
|
installation
Hello!
I tried to install PHP event calendar on my website http://www.info-orthopedie.be, but
unfortunately I seem to run into some installation problems.
A few other users posted similar messages, which I read carefully, but despite this information I am not able to get the program running.
Initially, when running the index.php file, I received some warnings and a fatal error. I managed to solve this by altering the path in global.php.
Now I seem to be a step closer to the solution, but I'm not there yet. When I run cl_files/index.php I still receive some warnings (as posted below).
But in contrast to previous attempt I now get (a part) of the login screen of the control panel. However, access is denied (I use login:admin and
pasword:demo).
Is there anybody who had similar difficulties and found a solution. I would be very gratefull if you could help me.
Kind regards,
Andy
---------------------------
Here are the warnings I receive;
Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 408983 is not allowed to access
/tmp owned by uid 0 in /customers/info-orthopedie.be/info-orthopedie.be/httpd.www/calendar/cl_files/index.php on line 10
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at
/customers/info-orthopedie.be/info-orthopedie.be/httpd.www/calendar/cl_files/index.php:10) in
/customers/info-orthopedie.be/info-orthopedie.be/httpd.www/calendar/cl_files/index.php on line 11
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at
/customers/info-orthopedie.be/info-orthopedie.be/httpd.www/calendar/cl_files/index.php:10) in
/customers/info-orthopedie.be/info-orthopedie.be/httpd.www/calendar/cl_files/index.php on line 11
Warning: include(cl_files/db.php) [function.include]: failed to open stream: No such file or directory in
/customers/info-orthopedie.be/info-orthopedie.be/httpd.www/calendar/cl_files/calendar.php on line 1366
Warning: include() [function.include]: Failed opening 'cl_files/db.php' for inclusion (include_path='.:') in
/customers/info-orthopedie.be/info-orthopedie.be/httpd.www/calendar/cl_files/calendar.php on line 1366
Warning: include(cl_files/events.php) [function.include]: failed to open stream: No such file or directory in
/customers/info-orthopedie.be/info-orthopedie.be/httpd.www/calendar/cl_files/calendar.php on line 1367
Warning: include() [function.include]: Failed opening 'cl_files/events.php' for inclusion (include_path='.:') in
/customers/info-orthopedie.be/info-orthopedie.be/httpd.www/calendar/cl_files/calendar.php on line 1367
Can't open cl_files/data/global.txt file.
Please, check permissions. For more details see Installation Instructions
Warning: key() [function.key]: Passed variable is not an array or object in
/customers/info-orthopedie.be/info-orthopedie.be/httpd.www/calendar/cl_files/index.php on line 29
Can't open cl_files/data/config.php file.
Please, check permissions. For more details see Installation Instructions
Warning: include(cl_files/auth.php) [function.include]: failed to open stream: No such file or directory in
/customers/info-orthopedie.be/info-orthopedie.be/httpd.www/calendar/cl_files/index.php on line 32
Warning: include() [function.include]: Failed opening 'cl_files/auth.php' for inclusion (include_path='.:') in
/customers/info-orthopedie.be/info-orthopedie.be/httpd.www/calendar/cl_files/index.php on line 32
Can't open cl_files/data/groups.php file.
Please, check permissions. For more details see Installation Instructions
Can't open cl_files/data/cl_files/data/groups.php_def.html file.
Please, check permissions. For more details see Installation Instructions
Warning: include(cl_files/zones.php) [function.include]: failed to open stream: No such file or directory in
/customers/info-orthopedie.be/info-orthopedie.be/httpd.www/calendar/cl_files/index.php on line 56
Warning: include() [function.include]: Failed opening 'cl_files/zones.php' for inclusion (include_path='.:') in
/customers/info-orthopedie.be/info-orthopedie.be/httpd.www/calendar/cl_files/index.php on line 56
|
|
|
kvv
Super Administrator
Posts: 84
Registered: 6/17/2003
Member Is Offline
|
| posted on 7/3/2007 at 12:39 PM |
|
|
To fix this warnings please use absolute paths at the top of calendar.php and data/global.php files.
i.e. in your case you need to write:
$PATHS=array(
"path_to_calendar" => "/customers/info-orthopedie.be/info-orthopedie.be/httpd.www/calendar/cl_files/",
"path_to_calendar_img" => "/customers/info-orthopedie.be/info-orthopedie.be/httpd.www/calendar/cl_files/img/",
"WEB_path_to_calendar_img" => "http://www.info-orthopedie.be/calendar/cl_files/img/",
"path_to_data" => "/customers/info-orthopedie.be/info-orthopedie.be/httpd.www/calendar/cl_files/data/"
);
|
|
|
oceandiver
Junior Member
Posts: 7
Registered: 7/2/2007
Location: Antwerp, Belgium
Member Is Offline
|
| posted on 7/4/2007 at 02:23 PM |
|
|
| Quote: | Originally posted by kvv
To fix this warnings please use absolute paths at the top of calendar.php and data/global.php files.
i.e. in your case you need to write:
$PATHS=array(
"path_to_calendar" => "/customers/info-orthopedie.be/info-orthopedie.be/httpd.www/calendar/cl_files/",
"path_to_calendar_img" => "/customers/info-orthopedie.be/info-orthopedie.be/httpd.www/calendar/cl_files/img/",
"WEB_path_to_calendar_img" => "http://www.info-orthopedie.be/calendar/cl_files/img/",
"path_to_data" => "/customers/info-orthopedie.be/info-orthopedie.be/httpd.www/calendar/cl_files/data/"
); |
Thank you very much for your fast reply!
I did as you told me, and used absolute paths in both document. It has certainly improved something, but my calendar does not seem to work yet.
I still receive three warnings (as posted below). My control panel seems to open complety, but when I want to create a new calendar it shows me
the login page, and after logging in I am returned to where I started.
Do you have any more suggestions? Thank you very much, your help is truely appreciated.
Greetings,
Andy
---------------------------------------
Here are the three warnings I receive;
Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 408983 is not allowed to access
/tmp owned by uid 0 in /customers/info-orthopedie.be/info-orthopedie.be/httpd.www/calendar/cl_files/index.php on line 10
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at
/customers/info-orthopedie.be/info-orthopedie.be/httpd.www/calendar/cl_files/index.php:10) in
/customers/info-orthopedie.be/info-orthopedie.be/httpd.www/calendar/cl_files/index.php on line 11
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at
/customers/info-orthopedie.be/info-orthopedie.be/httpd.www/calendar/cl_files/index.php:10) in
/customers/info-orthopedie.be/info-orthopedie.be/httpd.www/calendar/cl_files/index.php on line 11
|
|
|
oceandiver
Junior Member
Posts: 7
Registered: 7/2/2007
Location: Antwerp, Belgium
Member Is Offline
|
| posted on 7/5/2007 at 04:27 PM |
|
|
Hello,
As posted by another user I switched some code in the cl_files/data/index.php file;
line 11 became line 10: (session_start();
and line 10 became 11: if(!is_writable(session_save_path()))session_save_path("/tmp");
This helped to the point that I am now able work with the calendar!! Still one warning, but this does not seem to affect working with the software (i
think)
But if anyone has a suggestion on how to solve this last warning (as posted below), please feel free to contact me!
Greetings,
Andy
-------------------------------
This is the remaining warning;
Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 408983 is not allowed to access
/tmp owned by uid 0 in /customers/info-orthopedie.be/info-orthopedie.be/httpd.www/calendar/cl_files/index.php on line 11
|
|
|
tankest
Newbie
Posts: 1
Registered: 7/13/2007
Location: Estonia, Tallinn
Member Is Offline
|
| posted on 7/14/2007 at 03:04 PM |
|
|
| Quote: | Algselt postitas: oceandiver
Hello,
As posted by another user I switched some code in the cl_files/data/index.php file;
line 11 became line 10: (session_start();
and line 10 became 11: if(!is_writable(session_save_path()))session_save_path("/tmp");
This helped to the point that I am now able work with the calendar!! Still one warning, but this does not seem to affect working with the software (i
think)
But if anyone has a suggestion on how to solve this last warning (as posted below), please feel free to contact me!
Greetings,
Andy
-------------------------------
This is the remaining warning;
Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 408983 is not allowed to access
/tmp owned by uid 0 in /customers/info-orthopedie.be/info-orthopedie.be/httpd.www/calendar/cl_files/index.php on line 11 |
Hello,
first I want to thank you, I got my installation problems fixed thanks to this topic :)
You can easily get rid of the last warning too.
In the index.php, on line 11, replace the bold part
if(!is_writable(session_save_path()))session_save_path("/tmp");
also with the full address to /tmp folder. In your case, line 11 should then look something like this:
if(!is_writable(session_save_path()))session_save_path("/customers/info-orthopedie.be/info-orthopedie.be/httpd.www/calendar/tmp");
|
|
|
oceandiver
Junior Member
Posts: 7
Registered: 7/2/2007
Location: Antwerp, Belgium
Member Is Offline
|
| posted on 7/25/2007 at 12:03 PM |
|
|
Hello Tankest,
Thank you for your reply.
Indeed, after changing the code on line 11 no more warnings appeared, so my calenders is working fine now!
Thank you a lot!
Greetings,
Andy
|
|
|