We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22574
    • 181 Posts
    I have used Maxigallery on a heap of sites but I am having a problem with a server environment that’s not my own.

    I have tried a heap of solutions but none work, would it be the base path or something like that?

    This is one the solutions that apparently works for most ppl but not me:
    http://www.katrinayoungman.com/2008/03/chmod-modx-maxigallery-fix/

    I also check all the permissions 777, and I even tried changing all the permission calls in the code from 777 to 755 as that seams to work in some cases.

    here is the error:

    « 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: /smhhome/9-web/9f/e1/****.com.au/public/www/assets/snippets/maxigallery/maxigallery.php
    Line: 372
    Line 372 source: chmod($mg->path_to_gal.$name,0666);

    Parser timing
    MySQL: 0.0033 s (6 Requests)
    PHP: 0.0550 s
    Total: 0.0583 s
      • 22574
      • 181 Posts
      Does anyone know how to use the ftp option?

      Is there something I am missing.

      &ftp_base_dir =`/public_html/` &ftp_pass=`password` &ftp_server=`ftp.site.com` &ftp_user=`user`
        • 22574
        • 181 Posts
        Not sure how exactly but its working.

        I asked the host a few questions and showed them some working examples on my server.

        They said this:

        "I’ve reset the following server directive which was in error:
        php_admin_value upload_tmp_dir /smhhome/9-web/9f/e1/****.com.au/tmp"