Plugin problem after upgrade

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
marceloleaes
Registered User
Posts: 19
Joined: Sun Sep 08, 2019 2:34 am

Plugin problem after upgrade

Post by marceloleaes »

Upgrade from 3.2.8 to 3.3.0

Error:

Exception: The file "/var/www/clients/client1/web58/web/ext/cosmo/sceditor/config/services.yml" does not contain valid YAML: The reserved indicator "@" cannot start a plain scalar; you need to quote the scalar at line 10 (near "- @dbal.conn").

Error on disable plugin

Any idea?
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26869
Joined: Fri Aug 29, 2008 9:49 am

Re: Plugin problem after upgrade

Post by Mick »

Have you got a link to the extension please?
  • "The more connected we get the more alone we become” - Kyle Broflovski© 🇬🇧
User avatar
P_I
Community Team Member
Community Team Member
Posts: 2494
Joined: Tue Mar 01, 2011 8:35 pm
Location: Western Canada 🇨🇦

Re: Plugin problem after upgrade

Post by P_I »

Google seems to indicate it might be [ABD] WYSIWYG SCEditor for phpBB 3.1
Normal people… believe that if it ain’t broke, don’t fix it. Engineers believe that if it ain’t broke, it doesn’t have enough features yet. – Scott Adams
marceloleaes
Registered User
Posts: 19
Joined: Sun Sep 08, 2019 2:34 am

Re: Plugin problem after upgrade

Post by marceloleaes »

Exact
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26869
Joined: Fri Aug 29, 2008 9:49 am

Re: Plugin problem after upgrade

Post by Mick »

Thanks, I saw that but was assuming there was another one as it was, supposedly, working in 3.2? That being the case and the extension being ABD you’ll be on your own getting that to work. Also, there’s no extension support in the support forums.
  • "The more connected we get the more alone we become” - Kyle Broflovski© 🇬🇧
marceloleaes
Registered User
Posts: 19
Joined: Sun Sep 08, 2019 2:34 am

Re: Plugin problem after upgrade

Post by marceloleaes »

Any tips at least to force removal of the extension?
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26869
Joined: Fri Aug 29, 2008 9:49 am

Re: Plugin problem after upgrade

Post by Mick »

There’s this Knowledge Base - Disabling all extensions at once you could try, it looks like it could work. Make sure you have a dB backup just in case.
  • "The more connected we get the more alone we become” - Kyle Broflovski© 🇬🇧
User avatar
Mannix_
Registered User
Posts: 2028
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt

Re: Plugin problem after upgrade

Post by Mannix_ »

can you post the content of services.yml file ? :)
Did I helped You? Consider a donation.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
marceloleaes
Registered User
Posts: 19
Joined: Sun Sep 08, 2019 2:34 am

Re: Plugin problem after upgrade

Post by marceloleaes »

services:
cosmo.sceditor.event.parser:
class: cosmo\sceditor\event\parser
tags:
- { name: event.listener }

cosmo.sceditor.event.sce:
class: cosmo\sceditor\event\sce
arguments:
- @dbal.conn
- @template
- @config
- @user
- %core.root_path%
tags:
- { name: event.listener }
User avatar
Mannix_
Registered User
Posts: 2028
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt

Re: Plugin problem after upgrade

Post by Mannix_ »

marceloleaes wrote: Wed Jan 08, 2020 3:53 pm services:
cosmo.sceditor.event.parser:
class: cosmo\sceditor\event\parser
tags:
- { name: event.listener }

cosmo.sceditor.event.sce:
class: cosmo\sceditor\event\sce
arguments:
- @dbal.conn
- @template
- @config
- @user
- %core.root_path%
tags:
- { name: event.listener }
try replacing it with this

Code: Select all

services: null
cosmo.sceditor.event.parser: null
class: cosmo\sceditor\event\parser
tags:
    -
        name: event.listener
cosmo.sceditor.event.sce: null
arguments:
    - '@dbal.conn'
    - '@template'
    - '@config'
    - '@user'
    - '%core.root_path%'
then purge the cache in acp
Did I helped You? Consider a donation.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: Plugin problem after upgrade

Post by david63 »

The error message tells you exactly what is wrong - the lines starting with @ and % need to be enclosed with '

Had you used this extension prior to upgrading you would have found the problem, and the solution
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
marceloleaes
Registered User
Posts: 19
Joined: Sun Sep 08, 2019 2:34 am

Re: Plugin problem after upgrade

Post by marceloleaes »

Thank you
the tips helped me with the plugin mentioned and two more
Tapatalk and Topic Solved

another plugin i use is SEO sitemap
I made the adjustment but activating the forum starts to give error 500

last lines on error.log

[Wed Jan 08 13:29:18.202026 2020] [fcgid:warn] [pid 3058] [client 131.255.124.131:44272] mod_fcgid: stderr: #3 /var/www/clients/client1/web5 in /var/www/clients/client1/web58/web/vendor/symfony/routing/Loader/YamlFileLoader.php on line 206, referer: https://www.forumitbr.com.br/
[Wed Jan 08 13:29:29.785188 2020] [fcgid:warn] [pid 2957] [client 46.229.168.136:5088] mod_fcgid: stderr: PHP Fatal error: Uncaught InvalidArgumentException: The routing file "/var/www/clients/client1/web58/web/ext/lotusjeff/sitemap/config/routing.yml" contains unsupported keys for "lotusjeff_sitemap_sitemapindex": "pattern". Expected one of: "resource", "type", "prefix", "path", "host", "schemes", "methods", "defaults", "requirements", "options", "condition", "controller". in /var/www/clients/client1/web58/web/vendor/symfony/routing/Loader/YamlFileLoader.php:206

routing content

lotusjeff_sitemap_sitemapindex:
pattern: /sitemap/sitemap.xml
defaults: { _controller: lotusjeff.sitemap.sitemap:index }
lotusjeff_sitemap_current:
pattern: /sitemap/current.xml
defaults: { _controller: lotusjeff.sitemap.sitemap:current }
lotusjeff_sitemap_topics:
pattern: /sitemap/topics-{id}.xml
defaults: { _controller: lotusjeff.sitemap.sitemap:topics }
lotusjeff_sitemap_forums:
pattern: /sitemap/forums-{id}.xml
defaults: { _controller: lotusjeff.sitemap.sitemap:forums }
lotusjeff_sitemap_additional:
pattern: /sitemap/additional.xml
defaults: { _controller: lotusjeff.sitemap.sitemap:additional }
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 28934
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier

Re: Plugin problem after upgrade

Post by Paul »

As said before, you really should contact the extension author to ask for support.

Return to “phpBB Custom Coding”