3.1 & 3.2 Extensions Database 3.1 / 3.2 ⇒ Screen resolution in viewtopic
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Arraymartin
- Admin

- Status: Offline
- User theme: Dark
- Posts: 5123
- Joined: Apr 6th, '14, 14:12
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
ArrayNAPWR
- Donator

- Status: Offline
- User theme: Dark
- Posts: 47
- Joined: May 21st, '17, 12:30
Re: Screen resolution in viewtopic
Works fine on PHPBB3.2.3
purged users, purged cache, and logged out and back in.

purged users, purged cache, and logged out and back in.
My name is Dave I, and all things are out there, and we are in here 
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Arraymax-ima
- Users

- Status: Offline
- User theme: Dark
- Posts: 139
- Joined: Mar 25th, '22, 06:11
Re: Screen resolution in viewtopic
Tested on 3.3.7 and works. Thanks
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Arrayivailo95
- Users

- Status: Offline
- User theme: Dark
- Posts: 919
- Joined: Feb 2nd, '18, 11:04
Re: Screen resolution in viewtopic
Version 3.3.8
Code: Select all
phpBB encountered an error building the container due to an installed extension. For this reason, all extensions have been temporarily disabled. Please try purging your forum cache. All extensions will automatically be re-enabled once the container error is resolved. If this error continues, please visit phpBB.com for support.
Exception: The file "/home/bgrockeu/public_html/ext/dmzx/screenresolution/config/services.yml" does not contain valid YAML: The reserved indicator "@" cannot start a plain scalar; you need to quote the scalar at line 5 (near "- @request").
#0 /home/bgrockeu/public_html/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php(117): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->loadFile('/home/bgrockeu/...')
#1 /home/bgrockeu/public_html/phpbb/extension/di/extension_base.php(99): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->load('services.yml')
#2 /home/bgrockeu/public_html/phpbb/extension/di/extension_base.php(63): phpbb\extension\di\extension_base->load_services(Object(Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationContainerBuilder))
#3 /home/bgrockeu/public_html/vendor/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php(71): phpbb\extension\di\extension_base->load(Array, Object(Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationContainerBuilder))
#4 /home/bgrockeu/public_html/vendor/symfony/http-kernel/DependencyInjection/MergeExtensionConfigurationPass.php(39): Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationPass->process(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#5 /home/bgrockeu/public_html/vendor/symfony/dependency-injection/Compiler/Compiler.php(140): Symfony\Component\HttpKernel\DependencyInjection\MergeExtensionConfigurationPass->process(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#6 /home/bgrockeu/public_html/vendor/symfony/dependency-injection/ContainerBuilder.php(789): Symfony\Component\DependencyInjection\Compiler\Compiler->compile(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#7 /home/bgrockeu/public_html/phpbb/di/container_builder.php(223): Symfony\Component\DependencyInjection\ContainerBuilder->compile()
#8 /home/bgrockeu/public_html/common.php(117): phpbb\di\container_builder->get_container()
#9 /home/bgrockeu/public_html/adm/index.php(23): require('/home/bgrockeu/...')
#10 {main}You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
Feed like a disease
And bring them to their knees
They'll pay for their deceit
And bring them to their knees
They'll pay for their deceit
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Arrayssl
- Users

- Status: Offline
- User theme: Dark
- Posts: 139
- Joined: Aug 19th, '20, 10:54
Re: Screen resolution in viewtopic
Replace services.yml file by this:
Code: Select all
services:
dmzx.screenresolution.listener:
class: dmzx\screenresolution\event\listener
arguments:
- '@request'
- '@dbal.conn'
- '@user'
- '@template'
tags:
- { name: event.listener }-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
ArrayFredisland
- Users

- Status: Offline
- User theme: Dark
- Posts: 7
- Joined: May 10th, '23, 18:26
Re: Screen resolution in viewtopic
(phpBB 3.3.10 - PHP 8.12)
Great extension, but doesn't work
. Resolution field is empty.
I modified services.yml to install the extension, I purged phpBB cache, I logged out, I purged browser cache, I logged in... And the filed is always empty. Do you know if it's just a problem with phpBB 3.3.10 ?
Thank you very much.
Great extension, but doesn't work
I modified services.yml to install the extension, I purged phpBB cache, I logged out, I purged browser cache, I logged in... And the filed is always empty. Do you know if it's just a problem with phpBB 3.3.10 ?
Thank you very much.
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Arraymartin
- Admin

- Status: Offline
- User theme: Dark
- Posts: 5123
- Joined: Apr 6th, '14, 14:12
Re: Screen resolution in viewtopic
It works.
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Arrayclight77
- Donator

- Status: Offline
- User theme: Dark
- Posts: 507
- Joined: Sep 24th, '15, 14:23
Re: Screen resolution in viewtopic
I am on 3.3.10 and it works fine, maybe you have another ext conflicting it.Fredisland wrote: May 19th, '23, 15:02 (phpBB 3.3.10 - PHP 8.12)
Great extension, but doesn't work. Resolution field is empty.
I modified services.yml to install the extension, I purged phpBB cache, I logged out, I purged browser cache, I logged in... And the filed is always empty. Do you know if it's just a problem with phpBB 3.3.10 ?
Thank you very much.
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Arraymartin
- Admin

- Status: Offline
- User theme: Dark
- Posts: 5123
- Joined: Apr 6th, '14, 14:12
Re: Screen resolution in viewtopic
Sll post removed for being a dork
Board version: 3.3.10
Board version: 3.3.10
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
ArraySniper_E
- VIP

- Status: Offline
- User theme: Dark
- Posts: 1160
- Joined: Oct 14th, '14, 17:01
Re: Screen resolution in viewtopic
Same observation, the value is empty in viewtopic. The user_resolution colume value is empty in database also.
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Arraymartin
- Admin

- Status: Offline
- User theme: Dark
- Posts: 5123
- Joined: Apr 6th, '14, 14:12
Re: Screen resolution in viewtopic
You need to log out then back in so it can grab data.
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
ArraySniper_E
- VIP

- Status: Offline
- User theme: Dark
- Posts: 1160
- Joined: Oct 14th, '14, 17:01
Re: Screen resolution in viewtopic
That worked. And those instructions are on the first post in this topic. Now I feel like a ssl.
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Arraymartin
- Admin

- Status: Offline
- User theme: Dark
- Posts: 5123
- Joined: Apr 6th, '14, 14:12
Re: Screen resolution in viewtopic
Just for info it DOES work on 3.3.10 just done a fresh install.
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
ArraySniper_E
- VIP

- Status: Offline
- User theme: Dark
- Posts: 1160
- Joined: Oct 14th, '14, 17:01
Re: Screen resolution in viewtopic
Yea they got it... "Just log out then back in so it can grab data."
I would even add, purge sessions in acp after this install so everyone else is logged out.
Then the grabbing can begin. What do you think?
I would even add, purge sessions in acp after this install so everyone else is logged out.
Then the grabbing can begin. What do you think?
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
ArrayFredisland
- Users

- Status: Offline
- User theme: Dark
- Posts: 7
- Joined: May 10th, '23, 18:26
Re: Screen resolution in viewtopic
Logged out. Sessions purged. Cache purged. All cookies destroyed.
... But no Screen Resolution on Firefox and Chrome, whether with an administrator account or as a simple user 😭,
And I have noticed than no new cookie is created and nothing in the database is created.
Am i cursed? Or maybe an extension is blocking this one?
-----------------------
Reedit : I've deleted it, no more time for that.
Last edited by Fredisland on May 20th, '23, 16:35, edited 1 time in total.

