3.1 & 3.2 Extensions Database 3.1 / 3.2Screen resolution in viewtopic

<span class="qte-attr qte_31_32-qte">3.1.x &amp; 3.2.x</span>
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

spazz
Users
Users
Status: Offline
User theme: Dark
Posts: 13
Joined: Nov 16th, '15, 21:46
    Windows 7 Firefox

Re: Screen resolution in viewtopic

Post by spazz »

It has to be something with sql connection.
I manually tossed in some arbitrary numerxnumber and it didn't get the value.
even after putting this in line 109 of event/listener.php

print print_r('TESTING' . $row['user_resolution']);

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5119
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Screen resolution in viewtopic

Post by martin »

Cant reproduce it in any way no mater what database type or table type it installs ok for me.

But your right it does sound like its not connecting to the database tho.
Last edited by martin on Nov 17th, '15, 12:08, edited 1 time in total.
Image

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

spazz
Users
Users
Status: Offline
User theme: Dark
Posts: 13
Joined: Nov 16th, '15, 21:46
    Windows 7 Firefox

Re: Screen resolution in viewtopic

Post by spazz »

Ok, new development.
I had a few people post and one or 2 show up with a resolution.
I don't get one for myself. I would have thought something in my browser blocks sending that data, but I get resolution display on these boards.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5119
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Screen resolution in viewtopic

Post by martin »

Want to send me a pm with a test account and site link ?

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6484
Joined: Jan 13th, '14, 20:45
    Windows 8 Firefox

Re: Screen resolution in viewtopic

Post by dmzx »

martin wrote:want to send me a pm with a test account and site link ?
Yes me too pls

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

tamarin
Users
Users
Status: Offline
User theme: Dark
Posts: 72
Joined: Mar 15th, '15, 00:07
    Windows 10 Firefox

Re: Screen resolution in viewtopic

Post by tamarin »

martin wrote:want to send me a pm with a test account and site link ?
I also sent you a test account too. Did you check already?

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

spazz
Users
Users
Status: Offline
User theme: Dark
Posts: 13
Joined: Nov 16th, '15, 21:46
    Windows 7 Firefox

Re: Screen resolution in viewtopic

Post by spazz »

Ok I added a value in my table lastnight of 123x123 and it now displays it just out of the blue.
Maybe it is an inherent bug in how cache is cleared in phpbb or something as I have been refreshing/clearing cache alot this morning due to playing with other extensions.
Tho it still doesn't "set" the value.

Update: Got it. One has to log out and back in for it to "take" as in fire
public function login_box_redirect($event)

Wonder if that could be redone or added to to launch an update on posting? (As that is what I thought it was doing initially)
Last edited by spazz on Nov 17th, '15, 18:16, edited 2 times in total.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

tamarin
Users
Users
Status: Offline
User theme: Dark
Posts: 72
Joined: Mar 15th, '15, 00:07
    Windows 10 Firefox

Re: Screen resolution in viewtopic

Post by tamarin »

It doesn't show. (see attachment below)
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
Array

tamarin
Users
Users
Status: Offline
User theme: Dark
Posts: 72
Joined: Mar 15th, '15, 00:07
    Windows 10 Firefox

Re: Screen resolution in viewtopic

Post by tamarin »

Can you help me please? :question:
Thx

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6484
Joined: Jan 13th, '14, 20:45
    Windows 8 Firefox

Re: Screen resolution in viewtopic

Post by dmzx »

tamarin wrote:Can you help me please? :question:
Thx
Yes need to check on this, PM me test account.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

tamarin
Users
Users
Status: Offline
User theme: Dark
Posts: 72
Joined: Mar 15th, '15, 00:07
    Windows 10 Firefox

Re: Screen resolution in viewtopic

Post by tamarin »

dmzx wrote:
tamarin wrote:Can you help me please? :question:
Thx
Yes need to check on this, PM me test account.
I sent you a private message.
You got it?

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6484
Joined: Jan 13th, '14, 20:45
    Android Chrome

Re: Screen resolution in viewtopic

Post by dmzx »

Yes got it will take a look if I have some time :wink:

[ Post made via Samsung Galaxy S4 ] Image

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

tamarin
Users
Users
Status: Offline
User theme: Dark
Posts: 72
Joined: Mar 15th, '15, 00:07
    Windows 10 Firefox

Re: Screen resolution in viewtopic

Post by tamarin »

dmzx wrote:Yes got it will take a look if I have some time :wink:

[ Post made via Samsung Galaxy S4 ] Image
Okay, I will be waiting.
Thx

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

tamarin
Users
Users
Status: Offline
User theme: Dark
Posts: 72
Joined: Mar 15th, '15, 00:07
    Windows 10 Firefox

Re: Screen resolution in viewtopic

Post by tamarin »

dmzx wrote:Yes got it will take a look if I have some time :wink:

[ Post made via Samsung Galaxy S4 ] Image
Have you already watched? :question: :question:
Thanks in advance. :exclaim:

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6484
Joined: Jan 13th, '14, 20:45
    Windows 8 Firefox

Re: Screen resolution in viewtopic

Post by dmzx »

tamarin wrote:
dmzx wrote:Yes got it will take a look if I have some time :wink:

[ Post made via Samsung Galaxy S4 ] Image
Have you already watched? :question: :question:
Thanks in advance. :exclaim:
Is this an extension :question: