Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorDodger57
    • CommentTimeSep 18th 2007
     
    Hi,

    After a successful import I get the following error line per imported photo:

    Warning: chmod() [function.chmod]: Operation not permitted in /my directory structure/gallery/admin/plog-admin-functions.php on line 100

    Not sure what to chmod to make the script totally happy - what file/directory is it wanting the permissions adjusted on??

    Thanks
    Dodge
    • CommentAuthordime
    • CommentTimeSep 19th 2007
     
    Well, I receive this message too and posted this bug long time ago on this forum, but nobody reacted. Anyway, everything is works even with this, I didn't see any problem in work because of this.
    • CommentAuthorDodger57
    • CommentTimeSep 20th 2007
     
    Hi,

    Thanks for the reply.

    You are right, it continues to work. But I don't like errors, and I would think that the developers would feel the same.

    Line 99 & 100 of the plog-admin-functions.php

    @unlink($tmpname);
    $res = chmod($final_fqfn, 0755);

    I just can't figure out what the directory in question is - once I can chmod it to 755 I believe the errors will disappear. ;)

    Devs??

    Thanks! Love the Plogger!

    Dodge
    • CommentAuthorjammindice
    • CommentTimeSep 20th 2007
     
    in the install instructions you are told to make the following directories writable:

    thumbs
    images
    uploads

    if you run chmod -R 777 on each directory you should be good

    or chown theses directories with your apache/iis unprivileged user and chmod them 755
    • CommentAuthorDodger57
    • CommentTimeSep 20th 2007
     
    I've got 777 on those directories - still getting the errors. :\ Oh well.
    • CommentAuthordime
    • CommentTimeSep 20th 2007
     
    All this directories were 777 before.
    •  
      CommentAuthormike
    • CommentTimeSep 20th 2007
     
    It's not an error - just a warning. Most PHP installations have these turned off. For some reason yours isn't. You can repress the warning by putting an @ symbol before the function call.

    So $res = chmod($final_fqfn, 0755); becomes $res = @chmod($final_fqfn, 0755); and the "error" should go away.
    • CommentAuthorDodger57
    • CommentTimeSep 20th 2007
     
    Excellent! Thanks!

    Daf