0
Welcome Guest! Login
0 items Join Now

Important Gantry 3.0.12 Information (READ NOW)

    • Andy Miller's Avatar
    • Andy Miller
    • Preeminent Rocketeer
    • Posts: 9919
    • Thanks: 96
    • Web Kahuna

    Important Gantry 3.0.12 Information (READ NOW)

    Posted 14 years 1 month ago
    • OK, i'm posting this because there has been some confusion and also some issues regarding the latest Gantry 3.0.12 release, and we're trying to isolate if there really is a problem or if it's minor things like caches, etc. So, I figured I would give an explanation of what the 'new' feature is in 3.0.12 and why it could potentially cause problems when 3.0.11 works.

      First, Gantry currently uses the default Joomla Template Manager to show all it's config parameters for templates. The template manager has some very strict and pretty unhelpful HTML output, so we have been using JavaScript to do DOM manipulation . What this means is that when the page loads, there is JavaScript code that runs and reorganizes the HTML, moving things, adding classes etc, to allow us to render the parameters the way we want. However, this is quite alot of work that has to be done by the client browser, and causes a delay and 'jump' as the page reorganizes. This client work is also one of the reasons why browsers with slow JavaScript engines (looking at you again IE) have problems and timeouts.

      In an attempt to alleviate this jumping/slow script experience, we implemented a very cool library called phpQuery that is basically a PHP implementation of JQuery. This allows us to manipulate the DOM of the page in PHP before it gets sent to the browser so by the time the browser receives it, it's already contains the proper output we need.

      Gantry 3.0.12 is pretty much exactly the same as 3.0.11 except it has the phpQuery library, a new admin_format.php file that contains the code to manipulate the admin output, and also an updated version of the gantry javascript with the javascript DOM manipulation removed.

      We have seen two distinct problems so far that we know exactly what the solution is.

      1) A user had the problem of running PHP5 (although an older 5.1.x release) that was compiled without "DOM" support. This is very rare as LOTS of PHP5 scripts require/use DOM features. After the user enabled the DOM support, it worked.

      To check if you have DOM support enabled, you can visit the Joomla Administrator -> Help -> System Info -> PHP Information. You should have a "dom" section and line saying DOM/XML enabled. If it is not there, or you see something like --disable-dom in the configuration command section, you will need to talk to your hosting provider to find out how to enable DOM functionality.

      2) The next problem occurs when you upgrade to 3.0.12 and your template parameters have 'chunks' missing. For example, it might be missing the Gantry Version / Update, Diagnostic, or Default / Menu Items block. This is caused by the OLD 3.0.11 JavaScript, the one that's trying to manipulate the DOM, being cached.

      To fix this problem, just perform a refresh/clear cache in the browser you are using. Every browser is slightly different here but checkout this link for information on Firefox cache clearing .

      If you are running a 'live' site, first get your site running again by reverting to Gantry 3.0.11 . Then try to setup a test/dummy site in parallel using 3.0.12. The easiest way to do this is download the latest Gantry 3.0.12 RocketLauncher and install it on the same server. This way we can use that to diagnose any issues.

      If you are still having problems and they are not caused by the two problems above, we want to hear from you ASAP in order to better understand any potential problems. Please leave a message below with detailed information on your server setup, and any errors. Also please ensure you have Error Reporting set to maximum (you can set this in your Server Settings of the Joomla Global Configuration page). If you get a white page, that is usually a PHP error, but you have errors OFF. Turning on the display of errors will better enable us to diagnose any issues.

      Thanks!
    • dle_web's Avatar
    • dle_web
    • Sr. Rocketeer
    • Posts: 105
    • Thanks: 0

    Re: Important Gantry 3.0.12 Information (READ NOW)

    Posted 14 years 1 month ago
    • Congrats guys, this is ways faster than the older releases and running without problems on my site.

      I only had to clear/refresh the browser cache 'cause some options had disappeared (problem No. 2 + the layouts for top, header ... can't be changed and some ordinary checkbox appeared instead of the yes/no buttons).

      cheers
      Carsten
    • TeeBall's Avatar
    • TeeBall
    • Newbie
    • Posts: 1
    • Thanks: 0

    Re: Important Gantry 3.0.12 Information (READ NOW)

    Posted 14 years 1 month ago
    • I'm using the latest Dominion template (1.5,11), RokNavMenu Bundle (2.0) and Gantry framework (3.0.12) running Joomla (1.5.20), PHP 5.2.14 and Apache. On opening my home page I now have top level menu items that are marked for the "Registered" access level now appearing. Prior to this upgrade I was using Gantry 3.0.7 and everything was working fine. Any ideas?
    • Jason See's Avatar
    • Jason See
    • Jr. Rocketeer
    • Posts: 31
    • Thanks: 0
    • Web Applications Developer

    Re: Important Gantry 3.0.12 Information (READ NOW)

    Posted 14 years 1 month ago
    • Perfect instructions....I actually upgraded this on a Panacea site earlier this week and had lots of issues. Luckily I had a copy of 3.0.11 and was able to quickly recover.

      The caching issue was my problem. Works great. Thanks!
    • Kat05's Avatar
    • Kat05
    • Preeminent Rocketeer
    • Posts: 25898
    • Thanks: 334

    Re: Important Gantry 3.0.12 Information (READ NOW)

    Posted 14 years 1 month ago
    • TeeBall wrote:
      I'm using the latest Dominion template (1.5,11), RokNavMenu Bundle (2.0) and Gantry framework (3.0.12) running Joomla (1.5.20), PHP 5.2.14 and Apache. On opening my home page I now have top level menu items that are marked for the "Registered" access level now appearing. Prior to this upgrade I was using Gantry 3.0.7 and everything was working fine. Any ideas?
      hi teeball,

      i was able to replicate your issue but it seems to be related to your version of roknavmenu and unrelated to gantry.

      when i use gantry 3.0.12 and an older version of roknavmenu, it works fine
      when i use an older version of gantry and roknavmenu 2.1, then i have the same problem as you.

      i will let the developers know about this problem. until we have a fix you can revert back to an older version of roknavmenu, you should find that in the dominion extensions package.

      kat :)
    • Kat05 / QA Lead & Support / Germany
  • Re: Important Gantry 3.0.12 Information (READ NOW)

    Posted 14 years 1 month ago
    • After I update the gantry version to 3.0.12 I've been getting this error. It doesn't appear to affect the site. I've tried it on numerous templates and it always happens.

      Warning: Call-time pass-by-reference has been deprecated in /home/content/c/m/s/cmsvisions/html/my_sites/kv6/components/com_gantry/admin/admin_format.php on line 16

      Thank you!
    • Darlene Motley
      http://www.karmicvisions.com
  • Re: Important Gantry 3.0.12 Information (READ NOW)

    Posted 14 years 1 month ago
    • I have setup a Panacea site with the latest RocketLauncher 1.5.4 . When I access the template parameters I have the chunks missing. I checked the DOM and it is not listed. Here is what is listed -

      ./configure' '--build=i686-redhat-linux-gnu' '--host=i686-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--enable-force-cgi-redirect' '--disable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db4=/usr' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd=shared' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-ncurses=shared' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-xml' '--with-expat-dir=/usr' '--with-dom=shared,/usr' '--with-dom-xslt=/usr' '--with-dom-exslt=/usr' '--with-xmlrpc=shared' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-pear=/usr/share/pear' '--with-imap=shared' '--with-imap-ssl' '--with-kerberos' '--with-ldap=shared' '--with-mysql=shared,/usr' '--with-pgsql=shared' '--with-snmp=shared,/usr' '--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mbstring=shared' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mime-magic=/usr/share/file/magic.mime' '--enable-dbase' '--with-apxs2=/usr/sbin/apxs'

      Access from different machine and same problem. Clear cache same problem. Downgrade to Gantry 3.0.11 and no problems.
  • Re: Important Gantry 3.0.12 Information (READ NOW)

    Posted 14 years 1 month ago
    • I do have PHP4

      So that might be the issue.
    • Andy Miller's Avatar
    • Andy Miller
    • Preeminent Rocketeer
    • Posts: 9919
    • Thanks: 96
    • Web Kahuna

    Re: Important Gantry 3.0.12 Information (READ NOW)

    Posted 14 years 1 month ago
    • PHP 5.2+ is now required for all RT template and extensions. You should contact your hosting provider to find out how to use a newer version of PHP.
  • Re: Important Gantry 3.0.12 Information (READ NOW)

    Posted 14 years 1 month ago
    • KarmicVisions wrote:
      After I update the gantry version to 3.0.12 I've been getting this error. It doesn't appear to affect the site. I've tried it on numerous templates and it always happens.

      Warning: Call-time pass-by-reference has been deprecated in /home/content/c/m/s/cmsvisions/html/my_sites/kv6/components/com_gantry/admin/admin_format.php on line 16

      Thank you!

      Is there a solution for this, i have 5.2.14 php, i have the dom enabled, what else that can cause this issue? i tried searching here for solutions to this, but i do not see an true fix? please advise.. thanks guys :o )

Time to create page: 0.062 seconds