We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8562
    • 4 Posts
    How to call MaxiGallerySolo more than once in one page? Could it possible? Now I get error mesage 
    
    Fatal error: Cannot redeclare regclientscripts() (previously declared in /home/antiquarius/public_html/manager/includes/document.parser.class.inc.php(705) : eval()'d code:17) in /home/antiquarius/public_html/manager/includes/document.parser.class.inc.php(705) : eval()'d code on line 16


    I found topic http://modxcms.com/forums/index.php/topic,1595.0.html
    , but I’m new in PHP.
      • 7923
      • 4,213 Posts
      It is now possible, download the v1.1 from resource repository. wink


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 8562
        • 4 Posts
        Thanks! It’s working great. wink I used it in http://antiquarius.projektas.lt

        But can use only 3 times (call from 3 different galleries), else:

        « MODx Parse Error »
        MODx encountered the following error while attempting to parse the requested resource:
        « `` is not numeric and may not be passed to makeUrl() »

        Parser timing
        MySQL: 0.0093 s s (9 Requests)
        PHP: 0.0179 s s
        Total: 0.0271 s s
          • 7923
          • 4,213 Posts
          Hmm, that sounds weird and seems to be something else going on.. Can you do the fourth snippet call like you do before and then remove some of the others to see if it relates only to that specific call..


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 8562
            • 4 Posts
            OK! Now it work. rolleyes Thanks