3.2 & 3.3 Extensions Database 3.1 / 3.2Mobile Device

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

wads24
Users
Users
Status: Offline
User theme: Dark
Posts: 125
Joined: Mar 19th, '17, 18:30
    Android Chrome

Re: Mobile Device

Post by wads24 »

I removed your extension and just tried adding it back but it won't enable or delete data. Getting a 405 error. Have you had any other people with same issue? I posted in topic but no reply.

Did you know registering is disabled on your site?

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

ivailo95
Users
Users
Status: Offline
User theme: Dark
Posts: 919
Joined: Feb 2nd, '18, 11:04
    Windows 7 Opera

Re: Mobile Device

Post by ivailo95 »

Is there any stable version or new version of this extension?
i ask cuz the last time i used it i saw errors in t for some phones.
:roll: :question:
Feed like a disease
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
Array

Topic Author
Sniper_E
VIP
VIP
Status: Offline
User theme: Dark
Posts: 1160
Joined: Oct 14th, '14, 17:01
    Windows 10 Firefox

Re: Mobile Device

Post by Sniper_E »

Version 1.0.6 download on the first post in this topic is a stable version.

@wads24 I'm not sure what problem you are having by not being able to delete data after disabling the extension.
Martin or I would have to take a look for you if you can not get past that.

1. Disable mobile device extension and delete data and remove old files from your server.
2. Download the latest version from the first post, extract and copy to your server via ftp.
3. Enable mobile device extension in ACP. Halla at martin if you run across any problems. :D
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

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

ivailo95
Users
Users
Status: Offline
User theme: Dark
Posts: 919
Joined: Feb 2nd, '18, 11:04
    Windows 7 Opera

Re: Mobile Device

Post by ivailo95 »

Sniper_E wrote: Dec 20th, '18, 19:15 Version 1.0.6 download on the first post in this topic is a stable version.

@wads24 I'm not sure what problem you are having by not being able to delete data after disabling the extension.
Martin or I would have to take a look for you if you can not get past that.

1. Disable mobile device extension and delete data and remove old files from your server.
2. Download the latest version from the first post, extract and copy to your server via ftp.
3. Enable mobile device extension in ACP. Halla at martin if you run across any problems. :D
there is errors in some phones
like this when i try to enter in my forum through your phone

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

Topic Author
Sniper_E
VIP
VIP
Status: Offline
User theme: Dark
Posts: 1160
Joined: Oct 14th, '14, 17:01
    Windows 10 Firefox

Re: Mobile Device

Post by Sniper_E »

Just went to your site on mobile and the mobile device ext was not even on this time.
But I did try to enter in my forum through your phone before and saw no problem.
Martin has connected there on his phone and saw no problems either.

You just may need to...
Sniper_E wrote: Dec 20th, '18, 19:15 1. Disable mobile device extension and delete data and remove old files from your server.
2. Download the latest version from the first post, extract and copy to your server via ftp.
3. Enable mobile device extension in ACP. Halla at martin if you run across any problems. :D
. . . Do it!

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

wads24
Users
Users
Status: Offline
User theme: Dark
Posts: 125
Joined: Mar 19th, '17, 18:30
    Android Chrome

Re: Mobile Device

Post by wads24 »

Sniper_E wrote: Dec 20th, '18, 19:15 Version 1.0.6 download on the first post in this topic is a stable version.

@wads24 I'm not sure what problem you are having by not being able to delete data after disabling the extension.
Martin or I would have to take a look for you if you can not get past that.

1. Disable mobile device extension and delete data and remove old files from your server.
2. Download the latest version from the first post, extract and copy to your server via ftp.
3. Enable mobile device extension in ACP. Halla at martin if you run across any problems. :D
Nope, still not able to enable...

Code: Select all

General Error
SQL ERROR [ mysqli ]

Lost connection to MySQL server during query [2013]

SQL

ALTER TABLE `phpbb_posts` ADD COLUMN `post_device_title` varchar(30) NULL

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 997
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 193
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/tools/tools.php
LINE: 1064
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/phpbb/db/tools/tools.php
LINE: 1272
CALL: phpbb\db\tools\tools->_sql_run_sql()

FILE: [ROOT]/phpbb/db/tools/tools.php
LINE: 549
CALL: phpbb\db\tools\tools->sql_column_add()

FILE: (not given by php)
LINE: (not given by php)
CALL: phpbb\db\tools\tools->perform_schema_changes()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 714
CALL: call_user_func_array()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 661
CALL: phpbb\db\migrator->run_step()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 400
CALL: phpbb\db\migrator->process_data_step()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 288
CALL: phpbb\db\migrator->try_apply()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 241
CALL: phpbb\db\migrator->update_do()

FILE: [ROOT]/phpbb/extension/base.php
LINE: 78
CALL: phpbb\db\migrator->update()

FILE: [ROOT]/phpbb/extension/manager.php
LINE: 190
CALL: phpbb\extension\base->enable_step()

FILE: [ROOT]/ext/boardtools/upload/includes/functions/extensions.php
LINE: 294
CALL: phpbb\extension\manager->enable_step()

FILE: [ROOT]/ext/boardtools/upload/acp/upload_module.php
LINE: 181
CALL: boardtools\upload\includes\functions\extensions::enable()

FILE: [ROOT]/includes/functions_module.php
LINE: 676
CALL: boardtools\upload\acp\upload_module->main()

FILE: [ROOT]/adm/index.php
LINE: 82
CALL: p_master->load_active()
I do have a really large forum with over 300k in posts...

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

Topic Author
Sniper_E
VIP
VIP
Status: Offline
User theme: Dark
Posts: 1160
Joined: Oct 14th, '14, 17:01
    Windows 10 Firefox

Re: Mobile Device

Post by Sniper_E »

Can you look in phpmyadmin and see if the `post_device_title` column is still in the `phpbb_posts` table?

On delete data it is supose to delete that column from the posts table and the other columns from the users table.
Maybe it didn't delete that one and the new install is running into that. I really don't know...

In mobiledevice/migrations/mobiledevice_schema.php these are the columns added.

Code: Select all

			'add_columns' => array(
				$this->table_prefix . 'users' => array(
					'mobile_browser'      => array('UINT:1', 0),
					'device_name'         => array('VCHAR:30', null),
					'user_mobile_welcome' => array('BOOL', 1),
					'user_mobile_header'  => array('BOOL', 1),
					'user_mobile_self'    => array('BOOL', 1),
				),
				$this->table_prefix . 'posts' => array(
					'post_device_title' => array('VCHAR:30', null),
				),
			),
Look into those tables and make sure all of those columns are deleted and then install.
Why are you the only one having this problem??? Don't give up there has to be a reason.

If all of that fails try changing that line before installing.
'post_device_title' => array('VCHAR:30', ''),

[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: 5116
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Mobile Device

Post by martin »

Is it installing ok ? looks like a left over module to me but i not been reading this topic.

Unistal the ext delete data then go into the system tab and look for any modules relating to mobile ext (dont know if i have an account or acp access on yours wads24 to check.
Image

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

wads24
Users
Users
Status: Offline
User theme: Dark
Posts: 125
Joined: Mar 19th, '17, 18:30
    Android Chrome

Re: Mobile Device

Post by wads24 »

Sniper_E wrote: Jan 13th, '19, 23:00 Can you look in phpmyadmin and see if the `post_device_title` column is still in the `phpbb_posts` table?

On delete data it is supose to delete that column from the posts table and the other columns from the users table.
Maybe it didn't delete that one and the new install is running into that. I really don't know...

In mobiledevice/migrations/mobiledevice_schema.php these are the columns added.

Code: Select all

			'add_columns' => array(
				$this->table_prefix . 'users' => array(
					'mobile_browser'      => array('UINT:1', 0),
					'device_name'         => array('VCHAR:30', null),
					'user_mobile_welcome' => array('BOOL', 1),
					'user_mobile_header'  => array('BOOL', 1),
					'user_mobile_self'    => array('BOOL', 1),
				),
				$this->table_prefix . 'posts' => array(
					'post_device_title' => array('VCHAR:30', null),
				),
			),
Look into those tables and make sure all of those columns are deleted and then install.
Why are you the only one having this problem??? Don't give up there has to be a reason.

If all of that fails try changing that line before installing.
'post_device_title' => array('VCHAR:30', ''),
Can you look in phpmyadmin and see if the `post_device_title` column is still in the `phpbb_posts` table?
Nope, I could not find post_device_title
martin wrote: Jan 13th, '19, 23:07 is it installing ok ? looks like a left over module to me but i not been reading this topic.

Unistal the ext delete data then go into the system tab and look for any modules relating to mobile ext (dont know if i have an account or acp access on yours wads24 to check.
Tried to delete data in ACP and got this error:
Fatal error: Maximum execution time of 30 seconds exceeded in /phpbb/request/request.php on line 285

No, I do not see any modules...


Changed max execution time now when I click delete data it takes to page it says requested page cannot be displayed...
adm/index.php?i=acp_extensions&sid=dac57bdaf46bd5dba1250ac48f6a3462&mode=main&action=delete_data&ext_name=sniper%2Fmobiledevic

[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: 5116
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Mobile Device

Post by martin »

Are you using the ext upload ext to upload and install exts ? if so version number and phpbb version pls

3.2.0 has issues on phpbb 3.2.5 so use 3.2.0-RC if your a 3.2.5 use. https://github.com/BoardTools/upload

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

Tarantino
Users
Users
Status: Offline
User theme: Dark
Posts: 42
Joined: Sep 10th, '16, 02:58
    Windows 10 Chrome

Re: Mobile Device

Post by Tarantino »

The problem here is that he has a big posts table and his server has shorts timeouts. It will be impossible to install it.

Only way is to install it locally with xampp for example and then deploy it.

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

wads24
Users
Users
Status: Offline
User theme: Dark
Posts: 125
Joined: Mar 19th, '17, 18:30
    Windows 10 Chrome

Re: Mobile Device

Post by wads24 »

martin wrote: Jan 15th, '19, 08:41 Are you using the ext upload ext to upload and install exts ? if so version number and phpbb version pls

3.2.0 has issues on phpbb 3.2.5 so use 3.2.0-RC if your a 3.2.5 use. https://github.com/BoardTools/upload
Yes, I am using phpbb 3.2.5 and Version:3.2.0-RC - I have also tried other way to manage extensions though.

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

wads24
Users
Users
Status: Offline
User theme: Dark
Posts: 125
Joined: Mar 19th, '17, 18:30
    Windows 10 Chrome

Re: Mobile Device

Post by wads24 »

Tarantino wrote: Jan 15th, '19, 19:01 The problem here is that he has a big posts table and his server has shorts timeouts. It will be impossible to install it.

Only way is to install it locally with xampp for example and then deploy it.
If so; why was I able to install the first time?
wads24 wrote: Jan 16th, '19, 01:34
martin wrote: Jan 15th, '19, 08:41 Are you using the ext upload ext to upload and install exts ? if so version number and phpbb version pls

3.2.0 has issues on phpbb 3.2.5 so use 3.2.0-RC if your a 3.2.5 use. https://github.com/BoardTools/upload
Yes, I am using phpbb 3.2.5 and Version:3.2.0-RC - I have also tried other way to manage extensions though.

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

Topic Author
Sniper_E
VIP
VIP
Status: Offline
User theme: Dark
Posts: 1160
Joined: Oct 14th, '14, 17:01
    Windows 10 Firefox

Re: Mobile Device

Post by Sniper_E »

You need someone to come over and look because I don't think you are trying the things suggested.
wads24 wrote: Jan 15th, '19, 02:16 Nope, I could not find post_device_title

No, I do not see any modules...
Is that all you looked for in there? There were other suggestions for you to try.
There has to be a reason why you are having this problem.

And this...
adm/index.php?i=acp_extensions&sid=dac57bdaf46bd5dba1250ac48f6a3462&mode=main&action=delete_data&ext_name=sniper%2Fmobiledevic
Did you not copy all of the error here? The e is missing from mobiledevice - It want find that.

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

wads24
Users
Users
Status: Offline
User theme: Dark
Posts: 125
Joined: Mar 19th, '17, 18:30
    Android Chrome

Re: Mobile Device

Post by wads24 »

Sniper_E wrote: Jan 16th, '19, 02:48 You need someone to come over and look because I don't think you are trying the things suggested.
wads24 wrote: Jan 15th, '19, 02:16 Nope, I could not find post_device_title

No, I do not see any modules...
Is that all you looked for in there? There were other suggestions for you to try.
There has to be a reason why you are having this problem.

And this...
adm/index.php?i=acp_extensions&sid=dac57bdaf46bd5dba1250ac48f6a3462&mode=main&action=delete_data&ext_name=sniper%2Fmobiledevic
Did you not copy all of the error here? The e is missing from mobiledevice - It want find that.
That is the url it takes me to and forum page cannot be displayed. It's not from the error after I extended my Max execution time

Previous topicNext topic