We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11055 ☆ A M B ☆
    • 3,112 Posts
    Quote from: Hardoman at Mar 31, 2010, 07:47 PM

    Hello Goldsky,

    thanks for your information and the new version. As I can see you made big progress there. smiley

    I removed the old module and started over again with version 1.4.0 Beta 1.
    The installation was well described and easy to handle.

    I used the interface to upload a few images into the first folder and created a child folder and added some pictures there too.
    Somehow it will not create the thumbs. I checked that using Firebug and saw the thumbs in the ’./assets/gallery/_thumbnails’ folder were missing and the folder was empty. But I was able to load the original picture by clicking on the links (which actually should contain the missed thumbs) on the gallery page.
    So...
    Let me explain how the _thumbnail folder works:
    1. It will be created on the first installation.
    2. Each time the snippet asks about the thumbnail in its call, then it will start check whether the _thumbnail folder exists or not. If NOT, it will create it first. After that, it’ll create small picture from the original one with your default config sizes or snippet’s call parameters, and put that inside _thumbnail folder.

    There were some reasons of bug existence while I switched the way this module should handle the filenames, which deleted the _thumbnail folder. But I believe I’ve already hunt it down.
    Well, just for quick resolving, if each time you find it again, just run the snippet again. It will then create the blank _thumbnails folder again.

    Technically speaking, I use __construct in Module class that will ALWAYS create _thumbnails folder if it does not exist.
    So, logically, the _thumbnails folder will be checked each time you run the Module also.

    Quote from: Hardoman at Mar 31, 2010, 07:47 PM

    Furthermore I recognized that this new version does not rename the files names anymore. It keeps the original names. But I think that should be correct.

    It would be fine, if you could give me some hints regarding the thumbnails. Thanks in advance!
    Yes, that’s what I want too. In my case, my photographer gave me many wrong position pictures, and it was a nightmare since I had to replace the files in the live site. That’s why I switched it. tongue
    Although, this also brings more challenge since I need to fix the UTF-8 filenames issue.

    Btw,
    i’ve done many testing before I publish it, and I guess I’ve passed the _thumbnails folder issue. If you get it again, please post what have you done before, and what text it occurs.
      Rico
      Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
      MODx is great, but knowing how to use it well makes it perfect!

      www.virtudraft.com

      Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

      Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

      Maintainter/contributor of Babel

      Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
      • 11055 ☆ A M B ☆
      • 3,112 Posts
      A bug fix to the pagination calculation, from the russian forum reporting.

        Rico
        Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
        MODx is great, but knowing how to use it well makes it perfect!

        www.virtudraft.com

        Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

        Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

        Maintainter/contributor of Babel

        Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
        • 11798
        • 43 Posts
        *** solved *** laugh

        Thanks for your effords and your explanation!

        I checked everything again and also I checked the snippet call. Since there were a few parameters used in it, I set it back to the minimum required call and cleared the cache thereafter.
        After that, it worked good and I could even delete the thumbnails which were freshly created at the next gallery call! smiley

        Watermark-Image works, too! I’m impressed.

        Thank you!
          • 25803 ☆ A M B ☆
          • 721 Posts
          I’ve just installed 1.4 beta 2 in MODx 1.0.3. I get the following errors in the module:
          Warning: array_diff() [function.array-diff]: Argument #1 is not an array in /home/whatverthepathis/public_html/assets/modules/easy2/classes/e2g.module.class.php  on line 952
          
          Warning: natsort() [function.natsort]: The argument should be an array in /home/whatverthepathis/public_html/assets/modules/easy2/classes/e2g.module.class.php on line 953


          The module still works (can’t get slimbox to work but I suspect this is JS conflict).
            • 11798
            • 43 Posts
            Now, during testing, I ran into a new error:

            If you change picture caption and description using edit, the image entry vanishes from the folder and turns into a red marked entry. After the next synchro, the picture vanishes in the gallery repository (and most proably in the db). The physical image is still in the server folder but the connection seems to be lost.

            By refreshing the gallery page afterwards you get:
              PHP error debug
              Error: 	mysql_num_rows(): supplied argument is not a valid MySQL result resource	 
              Error type/ Nr.: 	Warning - 2	 
              File: 	/..../assets/modules/easy2/classes/e2g.snippet.class.php	 
              Line: 	248	 
              Line 248 source: 	$file_num_rows = mysql_num_rows($file_query_result); 


            embarrassed

            Any ideas?
              • 11055 ☆ A M B ☆
              • 3,112 Posts
              argh!
              why didn’t i get the notification from this forum? sad


              Quote from: rx2 at Apr 05, 2010, 03:07 PM

              I’ve just installed 1.4 beta 2 in MODx 1.0.3. I get the following errors in the module:
              Warning: array_diff() [function.array-diff]: Argument #1 is not an array in /home/whatverthepathis/public_html/assets/modules/easy2/classes/e2g.module.class.php  on line 952
              
              Warning: natsort() [function.natsort]: The argument should be an array in /home/whatverthepathis/public_html/assets/modules/easy2/classes/e2g.module.class.php on line 953


              The module still works (can’t get slimbox to work but I suspect this is JS conflict).
              Are you making an empty folder?
              Did you get this on Module side or Snippet side?

              Quote from: Hardoman at Apr 07, 2010, 04:08 PM

              Now, during testing, I ran into a new error:

              If you change picture caption and description using edit, the image entry vanishes from the folder and turns into a red marked entry. After the next synchro, the picture vanishes in the gallery repository (and most proably in the db). The physical image is still in the server folder but the connection seems to be lost.

              Any ideas?
              Actually I don’t know why, since I continuously update this module, and I always debuged these kind of things.
              From the code I’m holding right now, I don’t get this.

              I’m about to release the 1.4.0 Beta 3.
              But it seems I need to test this in my test site tomorrow first.
              Be patient, guys.
                Rico
                Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
                MODx is great, but knowing how to use it well makes it perfect!

                www.virtudraft.com

                Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

                Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

                Maintainter/contributor of Babel

                Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
                • 11055 ☆ A M B ☆
                • 3,112 Posts
                Anyway,
                if you guys can not wait any longer, you can download the development edge version from the svn address:
                https://easy2modx.googlecode.com/svn/branches/E2G 1.4.x/assets/modules/easy2

                That’s all what I have now, including additional parameter &slideshow (read the Help tab for more info laugh )
                  Rico
                  Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
                  MODx is great, but knowing how to use it well makes it perfect!

                  www.virtudraft.com

                  Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

                  Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

                  Maintainter/contributor of Babel

                  Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
                  • 25803 ☆ A M B ☆
                  • 721 Posts
                  Quote from: goldsky at Apr 12, 2010, 04:32 PM

                  argh!
                  why didn’t i get the notification from this forum? sad


                  Quote from: rx2 at Apr 05, 2010, 03:07 PM

                  I’ve just installed 1.4 beta 2 in MODx 1.0.3. I get the following errors in the module:
                  Warning: array_diff() [function.array-diff]: Argument #1 is not an array in /home/whatverthepathis/public_html/assets/modules/easy2/classes/e2g.module.class.php  on line 952
                  
                  Warning: natsort() [function.natsort]: The argument should be an array in /home/whatverthepathis/public_html/assets/modules/easy2/classes/e2g.module.class.php on line 953


                  The module still works (can’t get slimbox to work but I suspect this is JS conflict).
                  Are you making an empty folder?
                  Did you get this on Module side or Snippet side?

                  Quote from: Hardoman at Apr 07, 2010, 04:08 PM

                  Now, during testing, I ran into a new error:

                  If you change picture caption and description using edit, the image entry vanishes from the folder and turns into a red marked entry. After the next synchro, the picture vanishes in the gallery repository (and most proably in the db). The physical image is still in the server folder but the connection seems to be lost.

                  Any ideas?
                  Actually I don’t know why, since I continuously update this module, and I always debuged these kind of things.
                  From the code I’m holding right now, I don’t get this.

                  I’m about to release the 1.4.0 Beta 3.
                  But it seems I need to test this in my test site tomorrow first.
                  Be patient, guys.

                  Module side. Put images in a folder to manage a gallery. It is inconsistently doing it and this is in 1.0.3 if that makes a difference. For now I switched back to MaxiGallery but will try again fresh when the next version comes out. Thanks for the spectacular work and effort.
                    • 11798
                    • 43 Posts
                    Quote from: Hardoman at Apr 07, 2010, 04:08 PM

                    Now, during testing, I ran into a new error:

                    If you change picture caption and description using edit, the image entry vanishes from the folder and turns into a red marked entry. After the next synchro, the picture vanishes in the gallery repository (and most proably in the db). The physical image is still in the server folder but the connection seems to be lost.

                    By refreshing the gallery page afterwards you get:
                      PHP error debug
                      Error: 	mysql_num_rows(): supplied argument is not a valid MySQL result resource	 
                      Error type/ Nr.: 	Warning - 2	 
                      File: 	/..../assets/modules/easy2/classes/e2g.snippet.class.php	 
                      Line: 	248	 
                      Line 248 source: 	$file_num_rows = mysql_num_rows($file_query_result); 


                    embarrassed

                    Any ideas?

                    Today, I tried Beta 3 and the error seems to be solved. I can edit and change the descriptions now without getting any errors! That’s great.
                    Many thanks, Goldsky smiley
                      • 11055 ☆ A M B ☆
                      • 3,112 Posts
                      Please follow the discussion in the new forum.

                      I found a critical bug on file renaming of the E2G 1.4.0 beta-3, and the solution is in here.
                        Rico
                        Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
                        MODx is great, but knowing how to use it well makes it perfect!

                        www.virtudraft.com

                        Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

                        Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

                        Maintainter/contributor of Babel

                        Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.