4images error messages

  • Miss_Bee
  • Guru
  • Guru
  • User avatar
  • Posts: 1306
  • Loc: Eagle Vale, Sydney (Campbo Chickadee)

Post 3+ Months Ago

Hi,

When I go to add a new categorie in my 4images gallery I get this error message. Any idea what it is and how I can fix it??



Warning: mkdir(./../data/media/7): Permission denied in /home2/bee/public_html/photos/admin/categories.php on line 78

Warning: mkdir(./../data/media/7): Permission denied in /home2/bee/public_html/photos/admin/categories.php on line 81

Warning: mkdir(./../data/thumbnails/7): Permission denied in /home2/bee/public_html/photos/admin/categories.php on line 78

Warning: mkdir(./../data/thumbnails/7): Permission denied in /home2/bee/public_html/photos/admin/categories.php on line 81
Category added
  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Posts: 3422
  • Loc: Richland, WA

Post 3+ Months Ago

well depending on how the script is set up, the file may need to be set to 777.
  • Miss_Bee
  • Guru
  • Guru
  • User avatar
  • Posts: 1306
  • Loc: Eagle Vale, Sydney (Campbo Chickadee)

Post 3+ Months Ago

I tried that it didnt work
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13504
  • Loc: Florida

Post 3+ Months Ago

0777 maybe ? (php isn't my thing, but I've seen that with mkdir in another script :wink: )
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23458
  • Loc: Woodbridge VA

Post 3+ Months Ago

Looking at this:

Quote:
Warning: mkdir(./../data/media/7)


It appears that you are trying to create a new directory off of the root, In which case it is your root directory that doesn't have the proper permissions. I'm thinking you may be trying to change permissions on the wrong directory.
  • Miss_Bee
  • Guru
  • Guru
  • User avatar
  • Posts: 1306
  • Loc: Eagle Vale, Sydney (Campbo Chickadee)

Post 3+ Months Ago

I'm also getting this error when I try to upload an image to an album...


Warning: move_uploaded_file(./data/media/2/ATT04790.JPG): failed to open stream: No such file or directory in /home2/bee/public_html/photos/includes/upload.php on line 114

Warning: move_uploaded_file(): Unable to move '/tmp/phpAvpSyT' to './data/media/2/ATT04790.JPG' in /home2/bee/public_html/photos/includes/upload.php on line 114


Do you guys have any idea what permissions I'm meant to be changing. I'm so hopeless at phpbb
  • Miss_Bee
  • Guru
  • Guru
  • User avatar
  • Posts: 1306
  • Loc: Eagle Vale, Sydney (Campbo Chickadee)

Post 3+ Months Ago

Any help is soooooooo appreciated guys. My members of my parents site wanna upload pics of their kids
  • xinete
  • Born
  • Born
  • xinete
  • Posts: 1

Post 3+ Months Ago

hi,
i just had the same error, i found out this...


If you add new categories, the script creates folders in "data/media" and "data/thumbnails". The name of the folder is the ID of the category. If you get this error, the script has not created the folder correctly. In this case we are talking about the folder "1":

./../data/media/1/file.gif

Maybe your error message shows you another foldername.


Check if the folder "1" exists in "data/media" AND "data/thumbnails"

If yes, check the permissions (must be chmod 777). Sometimes it will help to delete the folder and create it again via FTP (don't forget chmod 777 after doing this).

If the folder doesn't exists, create it via FTP and chmod 777

Post Information

  • Total Posts in this topic: 8 posts
  • Users browsing this forum: No registered users and 34 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.