Jump to content

Recommended Posts

Warning: imagejpeg() [function.imagejpeg]: Unable to open '/root/public_html/images/category/c7bdfac4bedf72b85713aa675ff9e6f9.jpg' for writing in /home/sites/mydomain.co.uk/public_html/admin/library/functions.php on line 255

 

Warning: Cannot modify header information - headers already sent by (output started at /home/sites/mydomain.co.uk/public_html/admin/library/functions.php:255) in /home/sites/mydomain.co.uk/public_html/admin/category/processCategory.php on line 115

 

Function code reads

        Line 255:  imagejpeg($dest,$destFile, $quality);
         Line 256:  break;
     Line 257:  case 3:
      Line 258:     imagepng($dest,$destFile);
  Line 259:  }
  Line 260:  return $destFile;
Line 261:
Line 262:}

 

Proccess Catagory code

    // finally remove the category from database;
    $sql = "DELETE FROM tbl_category 
            WHERE cat_id IN (" . implode(',', $categories) . ")";
    dbQuery($sql);
    
    header('Location: index.php');
}


/*
Recursively find all children of $catId

 

 

 

Any help appreciated

Link to comment
https://forums.phpfreaks.com/topic/165693-error-while-uploading-image/
Share on other sites

  • 3 weeks later...
  • 2 weeks later...

Could someone please help with this problem ?

Warning: move_uploaded_file(/root/public_html/images/category/1cbb7d02e8a545ff42355f56d40f6cd0.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/sites/mysite.co.uk/public_html/admin/category/processCategory.php on line 149

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phppMcysd' to '/root/public_html/images/category/1cbb7d02e8a545ff42355f56d40f6cd0.jpg' in /home/sites/mysite.co.uk/public_html/admin/category/processCategory.php on line 149

Warning: Cannot modify header information - headers already sent by (output started at /home/sites/mysite.co.uk/public_html/admin/category/processCategory.php:149) in /home/sites/mysite.co.uk/public_html/admin/category/processCategory.php on line 220

  • 2 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.