We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4036
    • 239 Posts
    Здравствуйте, goldsky smiley

    У меня снова возникла проблема.
    На сайт www.церковь-при-црб.рф поставила MODxBB, чтобы управлять форумом.
    С этого момента у меня сломалась галерея www.церковь-при-црб.рф/index.php?id=115

    Я обновила версию Easy 2 Gallery 1.4.10-rc3, но это не помогло sad

    Не могу разобраться. Где-то возникает видимо капитальный конфликт.
    Потому что если убираю вызов:
    [!easy2? &gid=`4` &slideshow=`galleryview` &ss_config=`gallerydark` &w=`50` &h=`50`  &ss_w=`550` &ss_h=`400` &ss_limit=`none` !]

    Страница загружается нормально.

    Пробовала даже сократить вызов до
    [!easy2? &gid=`4` !]


    Но это тоже не помогло sad
    Помогите, пожалуйста!
      Портфолио - http://wowstudio.pro
      • 11055 ☆ A M B ☆
      • 3,112 Posts
      Quote from: UnitZ at Feb 20, 2012, 10:45 AM
      О, спасибо большое.
      Еще одна проблема - в E2G 1.4 не показываются изображения с русскими именами, 1.3 показывал. Сайт на utf-8. Может как-то можно автоматически транслитировать имена файлов при закачке? Как я понял, Transalias мне в этом поможет, но что-то не пойму как его прикрутить? Или как починить вывод файлов с русскими именами?
      check the transalias plugin, don't sanitize . (dot).
        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
        Quote from: Bredova at Feb 20, 2012, 03:50 PM
        Здравствуйте, goldsky smiley

        У меня снова возникла проблема.
        На сайт www.церковь-при-црб.рф поставила MODxBB, чтобы управлять форумом.
        С этого момента у меня сломалась галерея www.церковь-при-црб.рф/index.php?id=115

        Я обновила версию Easy 2 Gallery 1.4.10-rc3, но это не помогло sad

        Не могу разобраться. Где-то возникает видимо капитальный конфликт.
        Потому что если убираю вызов:
        [!easy2? &gid=`4` &slideshow=`galleryview` &ss_config=`gallerydark` &w=`50` &h=`50`  &ss_w=`550` &ss_h=`400` &ss_limit=`none` !]

        Страница загружается нормально.

        Пробовала даже сократить вызов до
        [!easy2? &gid=`4` !]


        Но это тоже не помогло sad
        Помогите, пожалуйста!

        I can't open the page.
        This must be a FATAL ERROR.
        What did the error logs say about this?
          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.
          • 8677
          • 50 Posts
          Есть ли в галерее возможность настроить размер изображения таким образом, чтобы картинка подгонялась под размер монитора?

          То есть - загружаем большую картинку, а галерея уменьшает изображение не до какого-то фиксированного размера, а показывает в соответствии с разрешением монитора у пользователя.
          На маленьких мониторах уменьшает настолько, насколько нужно, чтобы картинка поместилась на экран.
          На больших мониторах - показывает как есть.

          Как это настроить?
            • 11055 ☆ A M B ☆
            • 3,112 Posts
            Quote from: elena-gileva at Feb 21, 2012, 05:14 AM
            Есть ли в галерее возможность настроить размер изображения таким образом, чтобы картинка подгонялась под размер монитора?

            То есть - загружаем большую картинку, а галерея уменьшает изображение не до какого-то фиксированного размера, а показывает в соответствии с разрешением монитора у пользователя.
            На маленьких мониторах уменьшает настолько, насколько нужно, чтобы картинка поместилась на экран.
            На больших мониторах - показывает как есть.

            Как это настроить?

            1. Just set the width & image = 0 (zero) BEFORE you synchronize, so the script won't resize the image.
            2. For the window size, you should play with the javascript library's API, and change the JS header script you choose.
              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.
              • 4036
              • 239 Posts
              Quote from: goldsky at Feb 20, 2012, 09:25 PM
              Quote from: Bredova at Feb 20, 2012, 03:50 PM
              Здравствуйте, goldsky smiley

              У меня снова возникла проблема.
              На сайт www.церковь-при-црб.рф поставила MODxBB, чтобы управлять форумом.
              С этого момента у меня сломалась галерея www.церковь-при-црб.рф/index.php?id=115

              Я обновила версию Easy 2 Gallery 1.4.10-rc3, но это не помогло sad

              Не могу разобраться. Где-то возникает видимо капитальный конфликт.
              Потому что если убираю вызов:
              [!easy2? &gid=`4` &slideshow=`galleryview` &ss_config=`gallerydark` &w=`50` &h=`50`  &ss_w=`550` &ss_h=`400` &ss_limit=`none` !]

              Страница загружается нормально.

              Пробовала даже сократить вызов до
              [!easy2? &gid=`4` !]


              Но это тоже не помогло sad
              Помогите, пожалуйста!

              I can't open the page.
              This must be a FATAL ERROR.
              What did the error logs say about this?

              Ничего и это как-то странно sad
              Модуль работает нормально, я могу добавлять/удалять фотографии.
                Портфолио - http://wowstudio.pro
                • 11055 ☆ A M B ☆
                • 3,112 Posts
                Quote from: Bredova at Feb 21, 2012, 04:36 PM

                Ничего и это как-то странно sad
                Модуль работает нормально, я могу добавлять/удалять фотографии.
                Please check the apache's error log
                  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.
                  • 4036
                  • 239 Posts
                  Quote from: goldsky at Feb 21, 2012, 09:38 PM
                  Quote from: Bredova at Feb 21, 2012, 04:36 PM

                  Ничего и это как-то странно sad
                  Модуль работает нормально, я могу добавлять/удалять фотографии.
                  Please check the apache's error log

                  [Wed Feb 22 11:09:35 2012] [error] [client 176.212.198.98] PHP Fatal error: Cannot redeclare utf8_strlen() (previously declared in /var/www/helena/data/www/xn-----clcboul6alffc1ek8f.xn--p1ai/forum/includes/utf/utf_tools.php:233) in /var/www/helena/data/www/xn-----clcboul6alffc1ek8f.xn--p1ai/assets/modules/easy2/includes/utf8/mbstring/core.php on line 28, referer: http://community.modx-cms.ru/blog/questions/6309.html
                    Портфолио - http://wowstudio.pro
                    • 11055 ☆ A M B ☆
                    • 3,112 Posts
                    @Bredova,
                    Just edit file assets/modules/easy2/includes/utf8/mbstring/core.php on line 28,
                    Change it like this
                    if (!function_exists("utf8_strlen")) {
                        function utf8_strlen($str){
                            return mb_strlen($str);
                        }
                    }
                    
                      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.
                      • 4036
                      • 239 Posts
                      Quote from: goldsky at Feb 22, 2012, 06:09 AM
                      @Bredova,
                      Just edit file assets/modules/easy2/includes/utf8/mbstring/core.php on line 28,
                      Change it like this
                      if (!function_exists("utf8_strlen")) {
                          function utf8_strlen($str){
                              return mb_strlen($str);
                          }
                      }
                      

                      /*function utf8_strlen($str){
                          return mb_strlen($str);
                      }*/
                      
                      if (!function_exists("utf8_strlen")) {
                          function utf8_strlen($str){
                              return mb_strlen($str);
                          }
                      }




                      [Wed Feb 22 17:06:52 2012] [error] [client 95.72.45.218] PHP Fatal error: Cannot redeclare utf8_strpos() (previously declared in /var/www/helena/data/www/xn-----clcboul6alffc1ek8f.xn--p1ai/forum/includes/utf/utf_tools.php:183) in /var/www/elena/data/www/xn-----clcboul6alffc1ek8f.xn--p1ai/assets/modules/easy2/includes/utf8/mbstring/core.php on line 55, referer: http://www.xn-----clcboul6alffc1ek8f.xn--p1ai/
                      [ed. note: Bredova last edited this post 14 years, 8 months ago.]
                        Портфолио - http://wowstudio.pro