We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3425
    • 4 Posts
    Hi!
    Everything works just fine untill i try to upload a picture, i get this error:
    Error: chmod(): Operation not permitted
    Error type/ Nr.: Warning - 2
    File: /pub/home/[my-server-username]/htdocs/assets/snippets/maxigallery/maxigallery.php
    Line: 366
    Line 366 source: chmod($path_to_gal.$name,0666);
    Is there any way to solve this problem?
    I was told by my server management, that there are no blocks set on chmod();
    Thank you, great work in all!
      • 7923
      • 4,213 Posts
      do you have phpsuexec or similar on that server?


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 3425
        • 4 Posts
        It appeared, that i have similar system installed. I was told, that scripts can only be run from my username... Whatever that meant... Trying to figure it out.
          • 3425
          • 4 Posts
          Ummm... but i can’t.
          Any ideas?
            • 3425
            • 4 Posts
            THe image gets uploaded, but there seems to be the problemm with thumbnail creation
              • 7923
              • 4,213 Posts
              You need to change all the chmod settings from 0666 to 0644 and from 0777 to 0755 in maxigallery.php and in maxigallery.class.php... I’ll make those configurable for next version.


                "He can have a lollipop any time he wants to. That's what it means to be a programmer."