We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9084
    • 2 Posts
    I’m trying to install Maxi Gallery. I used the instructions in the Wiki. It all looked good. I was able to get to the Manage pictures screen, choose the pics I wanted, etc. However, when I click on the upload button, I get the following parse error:

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

    PHP error debug
    Error: Function split() is deprecated
    Error type/ Nr.: - 8192
    File: C:\wamp\www\test\assets\snippets\maxigallery\maxigallery.class.inc.php
    Line: 265
    Line 265 source: $sizes = split(’x’, $max_thumb_size);

    I’m a php newbie. Any help would be appreciated.
      • 4172
      • 5,888 Posts
      try replacing this line with

      $sizes = explode('x', $max_thumb_size);  
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 9084
        • 2 Posts
        Quote from: Bruno17 at Oct 20, 2009, 10:56 AM

        try replacing this line with

        $sizes = explode('x', $max_thumb_size);  


        Worked perfectly! Thanks for the help!