We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30128
    • 78 Posts
    Hi, whenever I try to upload images I get this error:

    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource:
    
    « PHP Parse Error »
    PHP error debug
      Error: 	mkdir() [function.mkdir]: No such file or directory	 
      Error type/ Nr.: 	Warning - 2	 
      File: 	/***/***bit/pub/********/manager/includes/document.parser.class.inc.php(748) : eval()'d code	 
      Line: 	359


    I’ve tried both with 666, 755 and 777 on the assets/gallery folder. I only found one reference to this in the forums, but with no solution.

    I’m using MODx 0.9.5 and MaxiGallery 0.4.1 on Apache 1.3.37 with PHP 5.2.0 (and I don’t control the server)

    TJ
      • 7923
      • 4,213 Posts
      It can be a server environment thing.. You could try to use the ftp command mode what is in RC1

      EDIT: And what I mean by that is these snippet parameters:

      • &use_ftp_commands - If enabled, MaxiGallery uses PHP FTP commands to create filesystem folders for gallery pictures. This is needed in certain server environments. Default: false
      • &ftp_server - FTP address to the server running MODx.
      • &ftp_port - Port number for the FTP service. Default: 21
      • &ftp_user - FTP username
      • &ftp_pass - FTP password


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 30128
        • 78 Posts
        That did the trick, thank you smiley Suberb!