francesco
03-29-2008, 07:27 AM
Hi,
I've just uploaded my php scripts (already tested on my local machine) and I have the following errors:
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/devisliv/public_html/index.php:10) in /home/devisliv/public_html/php/identify/SessionLoader.php on line 4
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/devisliv/public_html/index.php:10) in /home/devisliv/public_html/php/identify/SessionLoader.php on line 4
Warning: require(MDB2.php) [function.require]: failed to open stream: No such file or directory in /home/devisliv/public_html/php/db/PearConnection.php on line 2
Fatal error: require() [function.require]: Failed opening required 'MDB2.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/devisliv/public_html/php/db/PearConnection.php on line 2
PearConnection doesn't seem to find MDB2.php, but the file is in the php folder.
So, I have 2 problems:
1) why PearConnection doesn't find MDB2.php
2) why I have a warning when I try to open a session
Can somebody please help me?
Thanks,
Francesco
I've just uploaded my php scripts (already tested on my local machine) and I have the following errors:
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/devisliv/public_html/index.php:10) in /home/devisliv/public_html/php/identify/SessionLoader.php on line 4
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/devisliv/public_html/index.php:10) in /home/devisliv/public_html/php/identify/SessionLoader.php on line 4
Warning: require(MDB2.php) [function.require]: failed to open stream: No such file or directory in /home/devisliv/public_html/php/db/PearConnection.php on line 2
Fatal error: require() [function.require]: Failed opening required 'MDB2.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/devisliv/public_html/php/db/PearConnection.php on line 2
PearConnection doesn't seem to find MDB2.php, but the file is in the php folder.
So, I have 2 problems:
1) why PearConnection doesn't find MDB2.php
2) why I have a warning when I try to open a session
Can somebody please help me?
Thanks,
Francesco