php script doest work on server -> works on computer
Posted: Thu Feb 26, 2009 10:43 pm
Hi. Please explain me why some simple script (php) works on my computer (when set as server) and not working uploaded to server. The script is included on page home_top which page is included on page home. When I point directly script file works. Paths are OK because working on my computer. I get folowing errors:
Warning: fopen(banner.db): failed to open stream: No such file or directory in /home/content/m/i/a/miasik/html/Vancouver/skrypty/rotator/banner.php on line 13
Warning: flock(): supplied argument is not a valid stream resource in /home/content/m/i/a/miasik/html/Vancouver/skrypty/rotator/banner.php on line 14
Warning: feof(): supplied argument is not a valid stream resource in /home/content/m/i/a/miasik/html/Vancouver/skrypty/rotator/banner.php on line 15
Warning: fgets(): supplied argument is not a valid stream resource in /home/content/m/i/a/miasik/html/Vancouver/skrypty/rotator/banner.php on line 17
Warning: fgets(): supplied argument is not a valid stream resource in /home/content/m/i/a/miasik/html/Vancouver/skrypty/rotator/banner.php on line 18
Warning: flock(): supplied argument is not a valid stream resource in /home/content/m/i/a/miasik/html/Vancouver/skrypty/rotator/banner.php on line 25
Warning: fclose(): supplied argument is not a valid stream resource in /home/content/m/i/a/miasik/html/Vancouver/skrypty/rotator/banner.php on line 26