Results 1 to 2 of 2

Thread: [RESOLVED] Some Errors for wrtiing permissions - Help Please

  1. #1

    Thread Starter
    Hyperactive Member jokerfool's Avatar
    Join Date
    Dec 2006
    Location
    Gold Coast, Australia
    Posts
    452

    Resolved [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.

  2. #2
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    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.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width