We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32963
    • 1,732 Posts
    Is the page cached?

    try using [!PhotoGallery!]
      xWisdom
      www.xwisdomhtml.com
      The fear of the Lord is the beginning of wisdom:
      MODx Co-Founder - Create and do more with less.
      • 33393
      • 30 Posts
      Quote from: xwisdom at Dec 21, 2005, 01:26 AM

      Is the page cached?

      try using [!PhotoGallery!]

      DOH!

      I’m having a Homer Simpson moment.

      Works great now.

      I need to play with this. I just printed out the module script to read in bed... 29 pages!
        "Adversus solem ne loquitor." -don’t speak against the sun (don’t waste your time arguing the obvious) Something I sometimes need to be reminded of.
        • 30709
        • 1 Posts
        Quote from: xwisdom at Dec 20, 2005, 09:05 PM

        Hmmm,

        Try commenting out lines 68-75 inside the module code. The module is trying to load the GD lib but it seems to be failing on different install.

        // attempt to load GD2 library
        if (!extension_loaded('gd2')) { 
           if (strtoupper(substr(PHP_OS, 0,3) == 'WIN')) { 
        		if(!@dl('php_gd2.dll')) return 0;
           } else { 
        		if(!@dl('gd2.so')) return 0;
           } 
        } 


        Heya, I had the same problem with xammp. The solution is pretty simple. If you have a look had Phpinfo there’s no GD2, but there’s a GD bundled (2.0.28 compatible). So this line:
        if (!extension_loaded(’gd2’)) {


        To

        if (!extension_loaded(’gd’)) {


        It worked perfectly for me.

        Tsa
          • 4095
          • 372 Posts
          Quote from: xwisdom at Dec 19, 2005, 10:26 PM


          3) Run the install/index.php file to install the module
          4) Follow the on screen instructions.

          After install run the PhotoGallery Admin panel and click on the Install/Clear Galleries button.


          A simple question, how do you run the admin module?

          After step 3, I was given the option to close the installer and delete the install directory. The manager then loaded, but gave an error saying that the install directory hadn’t been deleted, so I did that manually. However, I get no "on screen instructions"

          If I try to run the module form within the manager I get an error saying"

          Photo Gallery - Module runtime error:
          An error occurred while loading the module. Please see the event log.

          The log file shows

          Event Id:  	1  	Source:  	Photo Gallery - Module
           
          Date: 	28-Dec-2005 10:41 AM 	User: 	admin
           
          
          Dynamically loaded extentions aren't enabled
            [img]http://www.emanz.ac.nz/assets/images/logo/emanz-icon_16x16.gif[/img] Emergency Management Academy of New Zealand [br] http://www.emanz.ac.nz[br][br]MODx Sandbox Login: sandbox Password: castle [br]
            Admin Sandbox Login: sandbox Password: castle
            • 33337
            • 3,975 Posts
            You need to comment the following lines to run it: (because some server config does not have dynamic loading enabled, including XAMPP on Windows)
            // attempt to load GD2 library
            if (!extension_loaded('gd2')) { 
               if (strtoupper(substr(PHP_OS, 0,3) == 'WIN')) { 
            		if(!@dl('php_gd2.dll')) return 0;
               } else { 
            		if(!@dl('gd2.so')) return 0;
               } 
            } 
            


            OR

            try changing:

            if (!extension_loaded('gd2'))


            to

            if (!extension_loaded('gd'))


            After adopting one method from the 2 above, it should work.

            regards,

            zi
              Zaigham R - MODX Professional | Skype | Email | Twitter

              Digging the interwebs for #MODX gems and bringing it to you. modx.link
              • 4095
              • 372 Posts
              Yup the 2nd option worked fine.

              FYI: The hosting provider is running Apache on Linux and according to PHP info() it has GD 2.0.28, and Dynamic Library Support is enabled. Acording to perl it has the GD module installed.

              It works so I’m happy now smiley Thanks
                [img]http://www.emanz.ac.nz/assets/images/logo/emanz-icon_16x16.gif[/img] Emergency Management Academy of New Zealand [br] http://www.emanz.ac.nz[br][br]MODx Sandbox Login: sandbox Password: castle [br]
                Admin Sandbox Login: sandbox Password: castle
                • 2762
                • 1,198 Posts
                EPG Module works fine for me - good work !
                  Free MODx Graphic resources and Templates www.tattoocms.it
                  -----------------------------------------------------

                  MODx IT  www.modx.it
                  -----------------------------------------------------

                  bubuna.com - Web & Multimedia Design
                  • 2762
                  • 1,198 Posts
                  A little EPG Admin Css Style mod to looks more similiar ti MODx admin wink
                    Free MODx Graphic resources and Templates www.tattoocms.it
                    -----------------------------------------------------

                    MODx IT  www.modx.it
                    -----------------------------------------------------

                    bubuna.com - Web & Multimedia Design
                    • 33337
                    • 3,975 Posts
                    Quote from: banzai at Dec 28, 2005, 11:01 AM

                    A little EPG Admin Css Style mod to looks more similiar ti MODx admin wink

                    THANKS banzai ! Thank you very much smiley

                    regards,

                    zi
                      Zaigham R - MODX Professional | Skype | Email | Twitter

                      Digging the interwebs for #MODX gems and bringing it to you. modx.link
                      • 4095
                      • 372 Posts
                      Quote from: banzai at Dec 28, 2005, 11:01 AM

                      A little EPG Admin Css Style mod to looks more similiar ti MODx admin wink

                      Cheers Banzai, looks good. Only thing is the ZIP file reports its broken and I can’t extract the CSS file. Any chance you can upload it again or PM the CSS file (not ZIP)?

                      Thanks.
                        [img]http://www.emanz.ac.nz/assets/images/logo/emanz-icon_16x16.gif[/img] Emergency Management Academy of New Zealand [br] http://www.emanz.ac.nz[br][br]MODx Sandbox Login: sandbox Password: castle [br]
                        Admin Sandbox Login: sandbox Password: castle