|
-
Sep 4th, 2007, 01:46 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Some Errors for wrtiing permissions - Help Please
Would someone please have a look at the errors below and tell me whats happening or atleast tell me how I can fix this please, thank you.
Code:
[09-Apr-2007 00:37:07] PHP Warning: fread() [<a href='function.fread'>function.fread</a>]: Length parameter must be greater than 0. in /home/rocketstomars/public_html/admin/includes/manage_templates.php on line 46
[13-Apr-2007 08:05:47] PHP Warning: imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: Unable to open '../images/sponsored/220.jpg' for writing in /home/rocketstomars/public_html/kernel/images.php on line 114
[13-Apr-2007 08:08:03] PHP Warning: imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: Unable to open '../images/screenshots/220.jpg' for writing in /home/rocketstomars/public_html/kernel/images.php on line 114
[13-Apr-2007 08:08:48] PHP Warning: imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: Unable to open '../images/sponsored/220.jpg' for writing in /home/rocketstomars/public_html/kernel/images.php on line 114
[13-Apr-2007 08:22:20] PHP Warning: imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: Unable to open '../images/sponsored/221.jpg' for writing in /home/rocketstomars/public_html/kernel/images.php on line 114
[13-Apr-2007 08:24:00] PHP Warning: imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: Unable to open '../images/sponsored/221.jpg' for writing in /home/rocketstomars/public_html/kernel/images.php on line 114
[29-Apr-2007 07:53:14] PHP Warning: imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: Unable to open '../images/screenshots/150.jpg' for writing in /home/rocketstomars/public_html/kernel/images.php on line 114
[29-Apr-2007 07:54:02] PHP Warning: imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: Unable to open '../images/sponsored/319.jpg' for writing in /home/rocketstomars/public_html/kernel/images.php on line 114
[29-Apr-2007 07:55:29] PHP Warning: imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: Unable to open '../images/sponsored/319.jpg' for writing in /home/rocketstomars/public_html/kernel/images.php on line 114
[29-Apr-2007 07:56:12] PHP Warning: imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: Unable to open '../images/screenshots/319.jpg' for writing in /home/rocketstomars/public_html/kernel/images.php on line 114
[01-Aug-2007 03:44:10] PHP Warning: fopen(../templates/header.tpl) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in /home/rocketstomars/public_html/admin/includes/manage_templates.php on line 60
[01-Aug-2007 03:44:10] PHP Warning: fwrite(): supplied argument is not a valid stream resource in /home/rocketstomars/public_html/admin/includes/manage_templates.php on line 61
[01-Aug-2007 03:44:10] PHP Warning: fclose(): supplied argument is not a valid stream resource in /home/rocketstomars/public_html/admin/includes/manage_templates.php on line 62
[01-Aug-2007 03:50:53] PHP Warning: fopen(../templates/header.tpl) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in /home/rocketstomars/public_html/admin/includes/manage_templates.php on line 60
[01-Aug-2007 03:50:53] PHP Warning: fwrite(): supplied argument is not a valid stream resource in /home/rocketstomars/public_html/admin/includes/manage_templates.php on line 61
[01-Aug-2007 03:50:53] PHP Warning: fclose(): supplied argument is not a valid stream resource in /home/rocketstomars/public_html/admin/includes/manage_templates.php on line 62
Last edited by jokerfool; Sep 4th, 2007 at 01:54 AM.
-
Sep 4th, 2007, 04:09 AM
#2
Re: Some Errors for wrtiing permissions - Help Please
You need to check the permissions of the files. If you upload your files via FTP - you need to right click on the file to find its permissions (in explorer).
Depending on the server - you may need to give the file Owner and Group write permissions. Failing that you will need to give owner, group and world write permissions and ensure that the files are stored in a location inaccessible to the web server, but accessible to PHP.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|