3.2 & 3.3 Extensions Database 3.2 / 3.3Download System

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.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

Hamidouki-dz
Users
Users
Status: Offline
User theme: Dark
Posts: 164
Joined: Sep 1st, '18, 09:26
    Android Chrome

Re: Download System

Post by Hamidouki-dz »

Screenshot_20230208_115525_Chrome.jpg
See this picture
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

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

Re: Download System

Post by dmzx »

Hamidouki-dz wrote: Feb 8th, '23, 10:56 Screenshot_20230208_115525_Chrome.jpg
See this picture
Can you switch to 8.1.x ? and try it.

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

ssl
Users
Users
Status: Offline
User theme: Dark
Posts: 139
Joined: Aug 19th, '20, 10:54
    Mac OS X Opera

Re: Download System

Post by ssl »

Your server said you use a 7.4 version of PHP but in your ACP it said 7.2, WTF?
phpBB: 3.3.15 | PHP: 8.4
[Some French translation of extensions]

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

Re: Download System

Post by martin »

ssl wrote: Feb 8th, '23, 12:54 Your server said you use a 7.4 version of PHP but in your ACP it said 7.2, WTF?
His domain is using 7.2 but server has php version 72. up to 7.4 installed in short his domain is using 7.2 nothing wrong with that but i would suggest an update to 8 atleast.
Image

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

Hamidouki-dz
Users
Users
Status: Offline
User theme: Dark
Posts: 164
Joined: Sep 1st, '18, 09:26
    Android Chrome

Re: Download System

Post by Hamidouki-dz »

PHP 8.0 . Error solved
Thanks

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

alsthom
Users
Users
Status: Offline
User theme: Dark
Posts: 15
Joined: Jan 19th, '20, 10:28
    Windows 10 Chrome

Re: Download System

Post by alsthom »

Hello there.
I would like to ask if there is a limit on the file size.
I have uploaded with ftp a large file (645 mb). I can download it but it ends with only 500mb size. It's like a limit or something.
Please give me your advise.

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

nexosenz
Users
Users
Status: Offline
User theme: Dark
Posts: 9
Joined: Jan 22nd, '23, 17:14
    Android Chrome

Re: Download System

Post by nexosenz »

Hello

I have a conflict with "localurltotext 1.2.0" extension.

In the admin part, when i click on "manage download"

Image

I have this error

Image

:( What do you think ?

Other thing, in download part, only in one category, i have ajax error info. I haven't identified what this category is différent from others that work.

Image

Thank for your help

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

Hamidouki-dz
Users
Users
Status: Offline
User theme: Dark
Posts: 164
Joined: Sep 1st, '18, 09:26
    Android Chrome

Re: Download System

Post by Hamidouki-dz »

alsthom wrote: Feb 12th, '23, 12:47 Hello there.
I would like to ask if there is a limit on the file size.
I have uploaded with ftp a large file (645 mb). I can download it but it ends with only 500mb size. It's like a limit or something.
Please give me your advise.
Me too
The download is showing errors upon complete at 100% ( file 1Go )

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

Anuj Dhawan
Users
Users
Status: Offline
User theme: Dark
Posts: 109
Joined: Aug 31st, '15, 08:32
    Windows 10 Chrome

Re: Download System

Post by Anuj Dhawan »

Hi,

I had been using it for some time. Though lately updated the board and it was disabled for that. 've uploaded the latest version of it now and ran in to couple of situations:
1. Firs was soled with this:
dmzx wrote: May 13th, '19, 11:54 Check you database dm_eds table.
Check download_desc and if there are descriptions starting without < add them to the fields like:
<t>Latest version</t>

so starting with a <t> some text </t>
2. In Admin Panel, under "Extensions", clicking on "ACP_USERGUIDE' shows:

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_module.php on line 964: Undefined property: dmzx/downloadsystem/acp/downloadsystem_module::$tpl_name
3. On the Forum, when 'actual file is downloaded', it downloads the file with same name but it has php errors and the source code seems to get downloaded.

Any guidance on this is appreciated.

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

VixenPic
New user
New user
Status: Offline
User theme: Dark
Posts: 1
Joined: May 23rd, '24, 12:24
    Windows 10 Chrome

Re: Download System

Post by VixenPic »

Hi, I have this error

Code: Select all

General Error
SQL ERROR [ mysqli ]

Expression #17 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'stlfreei79758 .bd.download_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by [1055]

SQL

SELECT bc.*, bd.*, COUNT(bd.download_id) AS number_downloads, MAX(bd.last_changed_time) AS last_download FROM phpbb_dm_eds_cat bc LEFT JOIN phpbb_dm_eds_cat bc2 ON ( bc2.left_id < bc.right_id AND bc2.left_id > bc.left_id AND bc2.cat_id = 0 ) LEFT JOIN phpbb_dm_eds bd ON ( bd.download_cat_id = bc.cat_id OR bd.download_cat_id = bc2.cat_id ) WHERE bc.parent_id = 0 GROUP BY bc.cat_id ORDER BY bc.left_id ASC LIMIT 25

BACKTRACE

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

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

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

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

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 296
CALL: phpbb\db\driver\mysql_base->_sql_query_limit()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 345
CALL: phpbb\db\driver\driver->sql_query_limit()

FILE: [ROOT]/ext/dmzx/downloadsystem/core/functions.php
LINE: 398
CALL: phpbb\db\driver\factory->sql_query_limit()

FILE: [ROOT]/ext/dmzx/downloadsystem/controller/download.php
LINE: 78
CALL: dmzx\downloadsystem\core\functions->generate_cat_list()

FILE: [ROOT]/vendor/symfony/http-kernel/HttpKernel.php
LINE: 151
CALL: dmzx\downloadsystem\controller\download->handle_downloadsystem()

FILE: [ROOT]/vendor/symfony/http-kernel/HttpKernel.php
LINE: 68
CALL: Symfony\Component\HttpKernel\HttpKernel->handleRaw()

FILE: [ROOT]/app.php
LINE: 35
CALL: Symfony\Component\HttpKernel\HttpKernel->handle()

Please note: I have inserted a space above stlfreei79758 .bd.download_id' otherwise it wouldn't let me post a comment
Last edited by VixenPic on May 23rd, '24, 13:59, edited 1 time in total.

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

SAGreen
Users
Users
Status: Offline
User theme: Dark
Posts: 15
Joined: Feb 23rd, '20, 18:17
    Windows 10 Firefox

Re: Download System

Post by SAGreen »

Hi, can you please advise me how to add an entry to the file "overall_header_navigation_append.html" so that the "downloads" button is not displayed to visitors after logging out of the site? Thank you Scott
Let's Go CommAndeR

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

ssl
Users
Users
Status: Offline
User theme: Dark
Posts: 139
Joined: Aug 19th, '20, 10:54
    Mac OS X Firefox

Re: Download System

Post by ssl »

Open overall_header_navigation_append.html


Find This may be a partial find and not the whole line

Code: Select all

{% if S_EDS_EXIST %}
Replace with Replace the preceding lines with the following

Code: Select all

{% if S_USER_LOGGED_IN %}

Clear cache after

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

SAGreen
Users
Users
Status: Offline
User theme: Dark
Posts: 15
Joined: Feb 23rd, '20, 18:17
    Windows 10 Firefox

Re: Download System

Post by SAGreen »

ssl wrote: Dec 2nd, '24, 04:51
Thank you :thumbup:

[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: 6485
Joined: Jan 13th, '14, 20:45
    Windows 10 Chrome

Re: Download System

Post by dmzx »

First post updated.

[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: 6485
Joined: Jan 13th, '14, 20:45
    Windows 10 Chrome

Re: Download System

Post by dmzx »

First post updated.

Previous topicNext topic