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: mmice at Sep 12, 2010, 04:57 AM

    Just using Ditto for the news page, outputting articles plus their galleries if possible (through TV).

    2358 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ’ocured) AND A.cat_left BETWEEN B.cat_left AND B.cat_right’ at line 1
    SELECT A.cat_id FROM modx_easy2_dirs A, modx_easy2_dirs B WHERE B.cat_id IN (Error ocured) AND A.cat_left BETWEEN B.cat_left AND B.cat_right

    what is your ditto call?
      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.
      • 23984
      • 7 Posts
      @goldsky
      e2g 1.3 from http://e2g.info/download.htm
      PHP Version 5.3.3
      Apache/2.2.15 (Fedora)
        • 11055 ☆ A M B ☆
        • 3,112 Posts
        @Psimer,

        try to change install/index.php, line 55, E2G 1.3 (mine is 1.3.5):
        $res = mysql_list_tables(str_replace('`', '', $GLOBALS['dbase']));
        


        with
        $res = mysql_query('SHOW TABLES FROM ' . str_replace('`', '', $GLOBALS['dbase']));
        


        And make sure your site allows fopen()/fwrite().
          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.
          • 23984
          • 7 Posts
          @goldsky

          пока тоже самое - чистый экран после выбора директории для галереи

          /var/log/httpd/error_log
          [Mon Sep 13 10:47:11 2010] [error] [client 127.0.0.1] PHP Warning: fopen(../assets/modules/easy2/config.easy2gallery.php): failed to open stream: \xd0\x9e\xd1\x82\xd0\xba\xd0\xb0\xd0\xb7\xd0\xb0\xd0\xbd\xd0\xbe \xd0\xb2 \xd0\xb4\xd0\xbe\xd1\x81\xd1\x82\xd1\x83\xd0\xbf\xd0\xb5 in /var/www/html/assets/modules/easy2/install/index.php on line 222, referer: http://localhost/manager/index.php?a=112&id=22
          [Mon Sep 13 10:47:11 2010] [error] [client 127.0.0.1] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/html/assets/modules/easy2/install/index.php on line 223, referer: http://localhost/manager/index.php?a=112&id=22
          [Mon Sep 13 10:47:11 2010] [error] [client 127.0.0.1] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/assets/modules/easy2/install/index.php on line 224, referer: http://localhost/manager/index.php?a=112&id=22

          где я могу задать разрешения на fwrite() fclose()?

          победил таки ....... chmod -R 0777 easy2/
            • 11055 ☆ A M B ☆
            • 3,112 Posts
            do you have assets\modules\easy2\config.easy2gallery.php ?

            PS: this is for 1.3.5
              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
              Hello!

              I have installed easy2gallery.
              In gallery page :
              [!easy2?gid=6!]

              1) I can to upload pictures through admin interface ("modules" -> "files" -> "upload").
              I see this photo in gallery page.

              But I don’t understand - how to use FTP with Easy2gallery ? How to syncronize it?
              I upload some pictures to directory http://mysite/photo/dir/ (id=6) - but i don’t see this photo in gallery page.

              2) Can I use my own names for directories and files? (inside main directory "/phoho/")
              (so as to I can to post links (with pictures) in other sites, in blogs, etc.)
              Or Easy2Gallery always will rename this names to identificators?


              (sorry for my bad english =)

              ------------

              Привет!

              1) Установила галерею, всё работает, через админку картинки загружаются. ("модули" - "файлы" - "загрузка")
              А при загрузке картинок через ftp - не вижу этих картинок на странице галереи. Там появляется только то, что загружено через админку.
              Чего не хватает? smiley Как делается синхронизация? Кто-то писал про кнопку "обновить базу данных" - но я не вижу её в админке. sad

              Галерею вызываю так :
              [!easy2?gid=6!]
              По ФТП загружаю в папку http://mysite/photo/dir/ (где id=6, как пишет админка)

              2) Можно ли внутри главной папки /photo/ использовать собственные названия директорий и файлов?
              (мне это было бы удобно, т.к. иногда где-то нужно дать ссылку на отдельное фото, вставить это фото на другом ресурсе, в блоге и т.п.)
              Или Easy2gallery неминуемо будет переименовывать их в свои цифры-идентификаторы?


                • 29487
                • 385 Posts
                @Elena
                Кнопка "Синхронизировать" есть в версиях 1.3.5 и 1.4.x
                Собственные имена файлов и папок только в 1.4.x
                  • 8677
                  • 50 Posts
                  Quote from: Temus at Sep 13, 2010, 11:34 AM

                  @Elena
                  Кнопка "Синхронизировать" есть в версиях 1.3.5 и 1.4.x
                  Собственные имена файлов и папок только в 1.4.x

                  Вот оно что! Как всё просто. smiley) Спасибо огромное!
                  А я скачала 1.3 с http://e2g.info/ (ссылка из первого поста этой темы) - я почему-то думала, что это последняя.
                  Переустановлю.
                    • 8677
                    • 50 Posts
                    Работает! smiley Ура! СПАСИБО!

                    А как сделать, чтобы комментировать можно было и открытую (увеличенную) картинку?
                    Сейчас - комментировать можно только кликнув по цифре в углу превьшки. У большой картинки - формы для комментариев нет...
                    http://perekati-pole.net/photos?sid=1&gid=22#1_22
                      • 11055 ☆ A M B ☆
                      • 3,112 Posts
                      Quote from: Elena at Sep 13, 2010, 07:10 PM

                      Работает! smiley Ура! СПАСИБО!
                      А как сделать, чтобы комментировать можно было и открытую (увеличенную) картинку?
                      Сейчас - комментировать можно только кликнув по цифре в углу превьшки. У большой картинки - формы для комментариев нет...
                      http://perekati-pole.net/photos?sid=1&gid=22#1_22

                      Comment and picture can not be shown on the same frame.
                      They are displayed from the separated javascript’s method.
                      You can see it from their different "onclick" events.

                      However, you can have them on the same "page", if you are not using the iframe style, but the "landingpage" style.
                      See this example: http://arslantic.co.id/evo/e2g-test-page/go-to-landingpage.html

                      One more thing, please activate the reCaptcha.
                      It’ll save you from the spammers.
                        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.