Author Topic: Validation error pleazzzzzz help me  (Read 7070 times)

0 Members and 1 Guest are viewing this topic.

Offline The Sailor

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
Validation error pleazzzzzz help me
« on: October 22, 2002, 11:50:29 PM »
when my visitors upload any images to my 4images .. i go to use Validate
to allow images to be display but this error happend evry time i want to
Validate these pic's
i Set permissions as u tell me and am sure about that , but this what i get:

Quote

Warning: Unable to create './../data/media/16/qandal.jpg': Permission denied in

/home/farasan/public_html/fgallery/admin/admin_functions.php on line 110

Warning: Unable to create './../data/thumbnails/16/.jpg': Permission denied in

/home/farasan/public_html/fgallery/admin/admin_functions.php on line 154
: gandal1 (qandal.jpg)

Warning: Unable to create './../data/media/16/gandall.jpg': Permission denied in

/home/farasan/public_html/fgallery/admin/admin_functions.php on line 110

Warning: Unable to create './../data/thumbnails/16/.jpg': Permission denied in

/home/farasan/public_html/fgallery/admin/admin_functions.php on line 154
Error adding image: gandal2 (gandall.jpg)

(^_^)

Offline The Sailor

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
Validation error pleazzzzzz help me
« Reply #1 on: October 23, 2002, 12:17:15 AM »
i use the 4image script in my computer than i transfer the database
to my host server...

and this when i upload any image

Quote

Warning: Unable to create './../data/media/16/gandal2.jpg': Permission denied in /home/farasan/public_html/fgallery/includes/upload.php on line 114

Warning: Unable to move '/tmp/php4UKeYu' to './../data/media/16/gandal2.jpg' in /home/farasan/public_html/fgallery/includes/upload.php on line 114
(^_^)

Offline The Sailor

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
Validation error pleazzzzzz help me
« Reply #2 on: October 23, 2002, 02:10:58 AM »
this all codes, first in admin_functions.php :
line 110
Quote

$ok = copy($image_src."/".$image_media_file, $image_dest."/".$new_file);

and line 154
Quote

$ok = copy($thumb_src."/".$image_thumb_file, $thumb_dest."/".$new_thumb);

-----------------
about upload.php file
in line 114
Quote

$ok = move_uploaded_file($this->upload_file, $this->upload_path[$this->image_type]."/".$this->file_name);

pleazzzzzzzzzz help me how can i fix these problems ?
(^_^)

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Validation error pleazzzzzz help me
« Reply #3 on: October 23, 2002, 08:29:07 AM »
Check your folder permissions.

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline The Sailor

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
Validation error pleazzzzzz help me
« Reply #4 on: October 23, 2002, 09:08:33 AM »
am sure about all folder permissions check for many times its right but proplem still  :(
(^_^)

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Validation error pleazzzzzz help me
« Reply #5 on: October 23, 2002, 09:20:50 AM »
Are you sure that you checked all permissions of the sunfolder in "media" and "thumbnails"?

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline The Sailor

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
Validation error pleazzzzzz help me
« Reply #6 on: October 23, 2002, 09:39:11 AM »
Quote
but Mr. Jan the permissions of all folder in data->media-> is 755

Yes, thats exactly what i mean. Set the permissions to 777. The same for "thumbnails".

Jan
(^_^)

Offline The Sailor

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
Validation error pleazzzzzz help me
« Reply #7 on: October 23, 2002, 10:08:50 AM »
Yes Yes thanks Jan really U r great , when i transfer all folder i dont think that i need to change the permissions in all folder even that's new folders in media and thumbnails, becuase  i think it's enough to set only media+thumbnails. its work well now (^_^)

thank again
(^_^)