We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28626
    • 87 Posts
    With TinyMCE activated the save button keeps on showing a progress bar even if it’s saved, I always need to reload to get out of it. Once I turn TinyMCE of in the system settings it works fine again.
      • 7253
      • 97 Posts
      Yeah, I’ve been getting this too, with MODx Revo 2.0.7 and 2.0.8. When you save a document in the manager, the ’Please Wait Saving...’ progress bar just stays there forever, looping round and round. Refreshing the page makes it go away.

      When you’re editing a template or snippet (and therefore not using TinyMCE), saving works fine.
        • 15535
        • 3 Posts
        It appears to be browser related. I had the same problem, tried it in different browsers and had the following result: It works fine in Firefox, Chrome, Safari and Explorer. Not in Opera though, so I don’t edit in Opera anymore smiley
          • 3749
          • 24,544 Posts
          Anything in the MODx error log?
            Did I help you? Buy me a beer
            Get my Book: MODX:The Official Guide
            MODX info for everyone: http://bobsguides.com/modx.html
            My MODX Extras
            Bob's Guides is now hosted at A2 MODX Hosting
            • 15535
            • 3 Posts
            Actually, yes! Didn’t really check it earlier. Guess I should have. Here it is:

            [2011-03-22 01:24:32] (ERROR @ /subfolder/manager/index.php) Error preparing statement for query: SELECT modActionDom.*, 
            Set.constraint_class, Set.constraint_field, Set.constraint, Set.template FROM `modx_actiondom` AS `modActionDom` JOIN 
            `modx_fc_sets` `Set` ON `modActionDom`.`set` =  `Set`.`id` JOIN `modx_fc_profiles` `Profile` ON Set.profile = Profile.id LEFT 
            JOIN `modx_fc_profiles_usergroups` `ProfileUserGroup` ON Profile.id = ProfileUserGroup.profile LEFT JOIN `modx_fc_profiles` 
            `UGProfile` ON UGProfile.id = ProfileUserGroup.profile WHERE  (  ( `modActionDom`.`action` = ? AND `modActionDom`.`for_parent` = 
            ? AND `Set`.`active` = ? AND `Profile`.`active` = ? )  AND  (  ( `ProfileUserGroup`.`usergroup` IN ('1') OR  ( 
            `ProfileUserGroup`.`usergroup` IS ? AND `UGProfile`.`active` = ? )  )  OR `ProfileUserGroup`.`usergroup` IS ? )  )  ORDER BY 
            Set.template ASC, modActionDom.rank ASC  - Array
            (
                [0] => 42000
                [1] => 1064
                [2] => 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 '? AND `UGProfile`.`active` = ? )  )  OR `ProfileUserGroup`.`usergroup` IS ? )  )' at line 1
            )
              • 3749
              • 24,544 Posts
              It looks like one of your form customization rules doesn’t get along with TinyMCE. Do you have a rule that affects a rich text field? That would be the first place to look.
                Did I help you? Buy me a beer
                Get my Book: MODX:The Official Guide
                MODX info for everyone: http://bobsguides.com/modx.html
                My MODX Extras
                Bob's Guides is now hosted at A2 MODX Hosting
                • 15535
                • 3 Posts
                I actually had no real content on the site in question, no forms or such. I had only done some fiddling about with basic settings related to Furls and installed TinyMCE. Interestingly enough, I get the same error log even when I make a completely new installation, even before I install TinyMCE.

                I suspect there might be a problem with MySQL on the server, which is running 5.0.67. I’ll try some other manouvers!

                Maybe this isn’t even related to the topic anymore, but then again, maybe it is smiley
                  • 7253
                  • 97 Posts
                  Yes, I’m seeing this too - on a fresh install of MODx Revolution 2.0.8-pl (traditional), without TinyMCE installed at all. I’m using various versions of Chrome(ium) - currently Chromium 12.0.733.0 (81064) on Ubuntu 10.04, mysql 5.1.41-3ubuntu12.10, php 5.3.2-1ubuntu4.7

                  If I clear the error log, then edit a page and save it, making the Save progress bar go forever, I get this in the MODx Error Log:

                   [2011-04-11 23:32:17] (ERROR @ /connectors/system/phpthumb.php) phpThumb was unable to generate a thumbnail for: /home/duncan/www/modx_revolution/gcd/core/cache/phpthumb/phpThumb_cache_gcd.test_srcffe380b29d9502ecf5fd9c2436aaa273_paradf896d45f319fa323d889e84ccb98c5_dat1302583936.jpeg
                  [2011-04-11 23:32:17] (ERROR @ /connectors/system/phpthumb.php) Error outputting thumbnail:
                  OutputThumbnail() failed because !is_resource($this->gdimg_output) in file "phpthumb.class.php" on line 557
                  [2011-04-11 23:32:35] (ERROR @ /connectors/system/phpthumb.php) phpThumb was unable to generate a thumbnail for: /home/duncan/www/modx_revolution/gcd/core/cache/phpthumb/phpThumb_cache_gcd.test_srcffe380b29d9502ecf5fd9c2436aaa273_paradf896d45f319fa323d889e84ccb98c5_dat1302583936.jpeg
                  [2011-04-11 23:32:35] (ERROR @ /connectors/system/phpthumb.php) Error outputting thumbnail:
                  OutputThumbnail() failed because !is_resource($this->gdimg_output) in file "phpthumb.class.php" on line 557
                  


                  This is repeatable, it would seem. Note that I don’t have phpThumbOf installed - I haven’t installed any packages at all on this install yet - it’s not far off being blank.
                    • 3749
                    • 24,544 Posts
                    Check the permissions on the core/cache directory.
                      Did I help you? Buy me a beer
                      Get my Book: MODX:The Official Guide
                      MODX info for everyone: http://bobsguides.com/modx.html
                      My MODX Extras
                      Bob's Guides is now hosted at A2 MODX Hosting
                      • 7253
                      • 97 Posts
                      I’m not 100% sure what they’re supposed to be set to, but on this install, /core/cache/ is set to 0777/drwxrwxrwx. the subfolders and files are like this:

                      [tt]
                      duncan@duncan-desktop:~/www/modx_revolution/gcd/core/cache$ tree -pu
                      .
                      ├── [-rw-r--r-- www-data] config.cache.php
                      ├── [drwxr-xr-x www-data] elements
                      │ └── [drwxr-xr-x www-data] modsnippet
                      │ ├── [-rw-r--r-- www-data] 1.cache.php
                      │ └── [-rw-r--r-- www-data] 1.include.cache.php
                      ├── [drwxrwxrwx www-data] lexicon
                      │ └── [drwxrwxrwx www-data] en
                      │ ├── [drwxrwxrwx www-data] core
                      │ │ ├── [-rw-r--r-- www-data] action.cache.php
                      │ │ ├── [-rw-r--r-- www-data] category.cache.php
                      │ │ ├── [-rw-r--r-- www-data] dashboard.cache.php
                      │ │ ├── [-rw-r--r-- www-data] default.cache.php
                      │ │ ├── [-rw-r--r-- www-data] element.cache.php
                      │ │ ├── [-rw-r--r-- www-data] file.cache.php
                      │ │ ├── [-rw-r--r-- www-data] menu.cache.php
                      │ │ ├── [-rw-r--r-- www-data] propertyset.cache.php
                      │ │ ├── [-rw-r--r-- www-data] resource.cache.php
                      │ │ ├── [-rw-r--r-- www-data] snippet.cache.php
                      │ │ └── [-rw-r--r-- www-data] topmenu.cache.php
                      │ └── [drwxr-xr-x www-data] filelister
                      │ ├── [-rw-r--r-- www-data] default.cache.php
                      │ └── [-rw-r--r-- www-data] properties.cache.php
                      ├── [drwxrwxrwx www-data] logs
                      │ ├── [-rw-r--r-- www-data] error.log
                      │ └── [-rwxrwxrwx www-data] install.config.2011-04-11T21:21:09
                      ├── [drwxrwxrwx www-data] mgr
                      │ ├── [-rw-r--r-- www-data] actions.cache.php
                      │ ├── [-rw-r--r-- www-data] context.cache.php
                      │ ├── [drwxrwxrwx www-data] menus
                      │ │ └── [-rw-r--r-- www-data] en.cache.php
                      │ ├── [drwxr-xr-x www-data] providers
                      │ │ └── [drwxr-xr-x www-data] updates
                      │ │ └── [drwxr-xr-x www-data] 1
                      │ └── [drwxrwxrwx www-data] smarty
                      │ └── [drwxrwxrwx www-data] default
                      │ ├── [-rw-r--r-- www-data] 0c51f9784072660d9ee0b0fa8ac90c3e00e3da16.file.footer.tpl.php
                      │ ├── [-rw-r--r-- www-data] 436373a8a1e9a92928865be6dfbbef0e60c7536b.file.index.tpl.php
                      │ ├── [-rw-r--r-- www-data] 4fa312ec14deac9fa7f01d679d054a364ee8b5da.file.update.tpl.php
                      │ ├── [-rw-r--r-- www-data] 57057fac3f77b755850008b524e6a4a1a8af1995.file.header.tpl.php
                      │ ├── [-rw-r--r-- www-data] b6a2848478859c8dc17c349e4a4c39a770f8a507.file.navbar.tpl.php
                      │ └── [-rw-r--r-- www-data] c29efde6c29cad8f4751a8d6198b28813e5870c6.file.update.tpl.php
                      ├── [drwxr-xr-x www-data] phpthumb
                      ├── [drwxr-xr-x www-data] registry
                      │ └── [drwxr-xr-x www-data] mgr
                      │ ├── [drwxr-xr-x www-data] clearcache
                      │ └── [drwxr-xr-x www-data] workspace
                      │ └── [drwxr-xr-x www-data] package
                      │ └── [drwxr-xr-x www-data] install
                      │ └── [drwxr-xr-x www-data] filelister-1.1.0-pl
                      ├── [drwxrwxrwx www-data] rss
                      │ ├── [-rwxrwxrwx www-data] 2552d997701d0d006f31cce7d173cba6
                      │ └── [-rwxrwxrwx www-data] 473f87e41ffeb3b17300ae4cbe2fe54b
                      ├── [drwxrwxrwx www-data] setup
                      │ └── [drwxrwxrwx www-data] smarty
                      │ ├── [-rwxrwxrwx www-data] 318aae408ab9562930d7394ea32f8497850337ae.file.install.tpl.php
                      │ ├── [-rwxrwxrwx www-data] 4258b06e7f63b4612c3abec4a158312b1f8c9347.file.header.tpl.php
                      │ ├── [-rwxrwxrwx www-data] 9e2685c3b627575cbbb85557dd8b4111d47a1941.file.complete.tpl.php
                      │ └── [-rwxrwxrwx www-data] eef4ad89f33ba3025384e2643a630bc2af3567a3.file.footer.tpl.php
                      ├── [-rw-r--r-- www-data] sitePublishing.idx.php
                      └── [drwxrwxrwx www-data] web
                      ├── [-rw-r--r-- www-data] context.cache.php
                      └── [drwxrwxrwx www-data] resources

                      27 directories, 35 files
                      [/tt]

                      the www-data user is the owner and also the account that Apache is running as.