We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 31428
    • 3 Posts
    Hello

    I have this error when uploading my pictures with maxigallery

    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »

    PHP error debug
    Error: chmod() [function.chmod]: No such file or directory
    Error type/ Nr.: Warning - 2
    File: /home/www/237887b2effec1b60a09500b56704036/web/assets/snippets/maxigallery/maxigallery.php
    Line: 372
    Line 372 source: chmod($mg->path_to_gal.$name,0666);

    Parser timing
    MySQL: 0.0053 s (5 Requests)
    PHP: 0.3819 s
    Total: 0.3872 s

    The pictures are uploaded but not with the good size
    can anyone help me ?
    Sorry for my bad english, i’m a french people

    Thanks
      • 7923
      • 4,213 Posts
      Are the picture big? have you tried to upload smaller pictures and less pictures at a time? Maybe the script is hitting max execution time settings..


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 31428
        • 3 Posts
        I have tried with smaller pictures and the problem is the same.
        I will investigate a little bit more...

        thanks
          • 31428
          • 3 Posts
          ok, i have tried different snippet call and the problem is always the same.
          Here is my snippet call
          [!MaxiGallery? &disable_rightclick=`1` &pics_per_page=`12` &display=`embedded` &embedtype=`slimbox` &max_pic_size=`750`!]
          The different photo gallery are working well on my website and this problem appears just when i upload new pictures...
          Strange

          Thanks for help smiley
            • 7923
            • 4,213 Posts
            Do you mean that another MaxiGallery installation works in the server or something else? I have had similar bug reports and have no idea what causes them.. It’s hard for me to debug it, because I have not encountered such problems.


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