We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22840
    • 1,572 Posts
    Hi All,

    We have a big build coming up that wont be going live for a few weeks so I have decide to use 2.2 for it however I've got a couple of problems.

    First off this is on a temp URL www.domainname.com/~username so not sure if that will be causing problems.

    The Issues I've go to so far are as follows:

    1: I've created a page called support no problems but it has children, if I right click and select create resource here I'm good to go, the issue is when I try to change the template, the page refreshes after the warning and everything is blank again and the template hasnt changed.

    I tried just saving the resource with just a title and then I was going to edit it to change the template but I get the following error.

    An error occurred while duplicating the resource.Array ( [pagetitle] => Test [longtitle] => [description] => [introtext] => [template] => 2 [alias] => test [menutitle] => [link_attributes] => [hidemenu] => 0 [published] => 0 [id] => [type] => document [context_key] => web [content] => [create-resource-token] => 4eec9a3ba274a0.69575265 [reloaded] => 1 [parent] => 0 [parent-original] => 0 [parent-cmb] => [class_key] => modDocument [content_type] => 1 [content_dispo] => 0 [menuindex] => 0 [publishedon] => 0 [pub_date] => 0 [unpub_date] => 0 [isfolder] => 0 [searchable] => 1 [richtext] => 1 [cacheable] => 1 [syncsite] => 1 [deleted] => 0 [uri_override] => 0 [uri] => [ta] => [tiny_toggle] => 1 [action] => create [modx-ab-stay] => [resource_groups] => [] [HTTP_MODAUTH] => modx4eec94136b49a1.20543572_14eec9641a87d82.03189590 [donthit] => 0 [createdon] => 2011-12-17 13:34:04 [createdby] => 1 [publishedby] => 0 ) 


    2: I've installed tinymce 4.3.1 but when I try to add a image into the content I get the first popup, however when I click the brouse icon I just get a blank popup.

    Server runs the latest revo without any problems and I have re uploaded all files several times.

    Server Info:

    Apache version 2.2.21
    PHP version 5.2.17
    MySQL version 5.0.92-50-log
    Operating system linux
    Path to sendmail /usr/sbin/sendmail
    Path to Perl /usr/bin/perl
    Perl version 5.8.8
    Kernel version 2.6.18-194.32.1.el5xen
    cPanel Pro 1.0 (RC1)

    Any suggestions would be great.

    Cheers
      • 22840
      • 1,572 Posts
      Just to add to this, on point 1, if I add the documents at top level theres no problems and I can then move them to the correct place and edit them without issue.
        • 22303 MODX Staff
        • 10,725 Posts
        First, confirm you are using 2.2.0-rc2 that was released yesterday.

        Second, once you confirm that, go into System Settings and set the new date_timezone setting you the same value your php.ini is using for date.timezone.

        Once you confirm both of those, try the template changing again and report back.
          • 22840
          • 1,572 Posts
          Thanks Jason,

          I've just uploaded a phpinfo file and it has no value in the date.timezone as below:

          date.default_latitude	31.7667	31.7667
          date.default_longitude	35.2333	35.2333
          date.sunrise_zenith	90.583333	90.583333
          date.sunset_zenith	90.583333	90.583333
          date.timezone	no value	no value
            • 22840
            • 1,572 Posts
            OK adding no value into the settings has resolved issue 1 and yes I can confirm it's the latest ( downloaded about a hour ago )

              • 22303 MODX Staff
              • 10,725 Posts
              FWIW, the only issues you might have with the Apache userdir configurations is if you install Extras that include CMP's (Custom Manager Pages) which use minify to compress css and js on the fly. If/when that becomes a problem we can find the best way to resolve it, likely just disabling css and js compression for now.
                • 22840
                • 1,572 Posts
                Excellent !!!

                Thanks for the speedy replies Jason, all working now smiley

                Love the new look and feel of the manager especially the packages section wink
                  • 9207 ☆ A M B ☆
                  • 2,475 Posts
                  Just to crosslink -- I had posted a bug re the template changing, but I wasn't able to isolate the cause enough for any meaningful diagnosis: http://bugs.modx.com/issues/6139#change-13878
                    • 22303 MODX Staff
                    • 10,725 Posts
                    Quote from: Everettg_99 at Dec 17, 2011, 12:16 PM
                    Just to crosslink -- I had posted a bug re the template changing, but I wasn't able to isolate the cause enough for any meaningful diagnosis: http://bugs.modx.com/issues/6139#change-13878
                    FYI, that was an older bug that was fixed pre 2.2-rc2; a new bug was introduced the day before rc2 was released which was much more severe (it would simply reload the page with no data and no template change) and related only to timezone issues.
                      • 9207 ☆ A M B ☆
                      • 2,475 Posts
                      Dammit... that Template changing bug is back on a fresh install of 2.2.0-RC2. I can't change my templates, but I suspect that it's something to do with my environment.