0
Welcome Guest! Login
0 items Join Now

Beware p8pBB Bridge users with latest G5.2.14

    • Dorian's Avatar
    • Dorian
    • Newbie
    • Posts: 4
    • Thanks: 0

    Beware p8pBB Bridge users with latest G5.2.14

    Posted 8 years 2 weeks ago
    • Just a quick note to users of p8pBB Bridge with Joomla, the latest Gantry 5.2.14 broke the phpBB3 bridged forum (error 500, blank pages on every forum pages). Errors in apache log look like this :
      [Sun Apr 17 12:33:45.496313 2016] [:error] [pid 23421] [client 68.180.230.221:40241] PHP Catchable fatal error:  Object of class Gantry\\Component\\Twig\\TwigCacheFilesystem could not be converted to string in /home/sdo/public_html/phpbb3/vendor/twig/twig/lib/Twig/Environment.php on line 253
      [Sun Apr 17 12:33:45.548503 2016] [:error] [pid 23290] [client 68.180.230.221:40319] PHP Catchable fatal error:  Object of class Gantry\\Component\\Twig\\TwigCacheFilesystem could not be converted to string in /home/sdo/public_html/phpbb3/vendor/twig/twig/lib/Twig/Environment.php on line 253
      [Sun Apr 17 12:33:45.591800 2016] [:error] [pid 23426] [client 68.180.230.221:40325] PHP Catchable fatal error:  Object of class Gantry\\Component\\Twig\\TwigCacheFilesystem could not be converted to string in /home/sdo/public_html/phpbb3/vendor/twig/twig/lib/Twig/Environment.php on line 253

      Reinstalling the previous Gantry 5.2.13 framework removes these errors and allows access to bridged forum again.
    • Matias Griese's Avatar
    • Matias Griese
    • Sr. Rocketeer
    • Posts: 249
    • Thanks: 104
    • Lead Developer

    Re: Beware p8pBB Bridge users with latest G5.2.14

    Posted 8 years 2 weeks ago
    • The only change I did was to use the new class in Twig; looks like your version of phpbb3 is using old version of Twig, which breaks the code.

      Try running composer update --no-dev in your phpbb directory. You may need to install composer, though.
    • Gantry 5, enjoy!
    • Dorian's Avatar
    • Dorian
    • Newbie
    • Posts: 4
    • Thanks: 0

    Re: Beware p8pBB Bridge users with latest G5.2.14

    Posted 8 years 1 week ago
    • I'll check the phpBB3 version, but i think it's the latest.
      Anyway, is it possible to avoid this error in the library, by checking if the Twig lib is already loaded or something ? I'm relunctant to update the Gantry 5 package now...
    • Matias Griese's Avatar
    • Matias Griese
    • Sr. Rocketeer
    • Posts: 249
    • Thanks: 104
    • Lead Developer

    Re: Beware p8pBB Bridge users with latest G5.2.14

    Posted 8 years 1 week ago
    • RE: Try running composer update --no-dev in your phpbb directory. You may need to install composer first, though.

      It will update twig to the latest version and fix the conflict between 2 twig versions.
    • Gantry 5, enjoy!

Time to create page: 0.045 seconds