Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Tunnel2CPG compatibility with phpBB3 3.3.0  (Read 3557 times)

0 Members and 1 Guest are viewing this topic.

panhead

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 108
Tunnel2CPG compatibility with phpBB3 3.3.0
« 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,
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Tunnel2CPG compatibility with phpBB3 3.3.0
« Reply #1 on: January 14, 2020, 05:05:28 pm »

Will look into it as soon as I can...
Logged

panhead

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 108
Re: Tunnel2CPG compatibility with phpBB3 3.3.0
« Reply #2 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
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Tunnel2CPG compatibility with phpBB3 3.3.0
« Reply #3 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.
« Last Edit: January 14, 2020, 10:08:22 pm by ron4mac »
Logged

panhead

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 108
Re: Tunnel2CPG compatibility with phpBB3 3.3.0
« Reply #4 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 }
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.