Hello - I upgraded the Gantry library to 3.2.19 through the Joomla 2.5 extension manager on 5/24 and it appeared as everything went through okay. Today I visited my site and I am getting the following Fatal Error:
Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/#####/public_html/libraries/gantry/core/gantrytemplate.class.php:170 Stack trace: #0 /home/#####/public_html/libraries/gantry/core/gantrytemplate.class.php(170): SimpleXMLElement->__construct('/home/#####/p...', 0, true) #1 /home/#####/public_html/libraries/gantry/core/gantry.class.php(243): GantryTemplate->init(Object(Gantry)) #2 /home/#####/public_html/libraries/gantry/core/gantry.class.php(36): Gantry->Gantry('rt_paradox_j16') #3 /home/#####/public_html/libraries/gantry/gantry.php(258): Gantry::getInstance('rt_paradox_j16') #4 /home/#####/public_html/libraries/gantry/gantry.php(428): gantry_setup() #5 /home/#####/public_html/templates/rt_paradox_j16/lib/gantry/gantry.php(32): require_once('/home/#####/p...') #6 /home/#####/public_html/templates/rt_paradox_j16/index.php(16): require_once('/home/#####/p...') #7 /home/#####/public_html/libraries/joomla/document/html/html.php(531): require('/home/ab in /home/#####/public_html/libraries/gantry/core/gantrytemplate.class.php on line 170
I spoke with my web host and they said that somewhere in the script the full path is getting truncated and I needed to speak with the developer of the script. This is the second time this has happened to my website since I have been using Gantry.
I have tried uninstalling Gantry and reinstalling with no change. Please advise ASAP!
I went back to a previous backup of my template, and now the site is showing properly again. Any thoughts as to why this would be? I would prefer to avoid this problem from happening again. Thank you.
I compared the broken template folder to the previous backup that was working, and the main difference I found was in the template-options.xml file. Over 500 lines were missing in the broken version that were there before the upgrade to Gantry 3.2.19. Could there be something in the Gantry upgrade process that would cause this to happen? I did not make any changes to the template - and I certainly did not delete anything in template-options.xml file.
Any thoughts on this is appreciated - and I hope this information helps in the future development of Gantry.
Currently my site is working - and I am running Joomla 2.5.4 and Gantry 3.2.19 with Paradox.