forum.coppermine-gallery.net

Support => cpg1.6.x Support => cpg1.6 plugins => Topic started by: panhead on January 14, 2020, 02:51:27 pm

Title: Tunnel2CPG compatibility with phpBB3 3.3.0
Post by: panhead on January 14, 2020, 02:51:27 pm
Ron,

Unfortunately Tunnel2CPG is not compatible with the new phpBB3 3.3.0 version (The services.yml file is invalid). Is that difficult to fix?

regards,
Title: Re: Tunnel2CPG compatibility with phpBB3 3.3.0
Post by: ron4mac on January 14, 2020, 05:05:28 pm
Will look into it as soon as I can...
Title: Re: Tunnel2CPG compatibility with phpBB3 3.3.0
Post by: panhead on January 14, 2020, 06:22:58 pm
Thank you. Apparently: there is a change in Symfony that requires the services.yml file to have a particular syntax
Title: Re: Tunnel2CPG compatibility with phpBB3 3.3.0
Post by: ron4mac on January 14, 2020, 09:54:30 pm
The simple fix is to edit the services.yml file and put single quotes around the entities that start with @

I'll post an updated phpBB3 extension.
Title: Re: Tunnel2CPG compatibility with phpBB3 3.3.0
Post by: panhead on January 21, 2020, 11:48:56 am
Here is an updated version of the services.yml file:

services:
    ron4mac.tunneltocpg.controller:
        class: ron4mac\tunneltocpg\controller\main
        arguments:
            - '@config'
            - '@controller.helper'
            - '@template'
            - '@user'
    ron4mac.tunneltocpg.listener:
        class: ron4mac\tunneltocpg\event\listener
        arguments:
            - '@config'
        tags:
            - { name: event.listener }