3.2 & 3.3 Extensions Database 3.2 / 3.3 ⇒ Image Upload
-
- Donator
- Posts: 18
- Joined: 28 Nov 2014, 22:28
Re: Image Upload
Hello,
French traduction - Version 1.10
@+
French traduction - Version 1.10
@+
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
-
- Users
- Posts: 310
- Joined: 06 Apr 2015, 18:04
Re: Image Upload
German language files v1.1.0
-
If you want to get German translations for extensions: ask me.
If you want to get German translations for extensions: ask me.
-
- New user
- Posts: 2
- Joined: 13 Mar 2020, 08:34
Re: Image Upload
Hi,
I´m currently on version 1.0.7 of the plugin. PHPBB is running 3.3 in the meantime.
I´ve tried to update to newer versions for some time now (1.0.8, 1.0.9 and now 1.0.10).
However if I do so the entire forum breaks down and I only get an HTTP 500 error back.
The lighthttpd error log says:
Any ideas what could cause this?
Many thanks,
Fusion
I´m currently on version 1.0.7 of the plugin. PHPBB is running 3.3 in the meantime.
I´ve tried to update to newer versions for some time now (1.0.8, 1.0.9 and now 1.0.10).
However if I do so the entire forum breaks down and I only get an HTTP 500 error back.
The lighthttpd error log says:
Code: Select all
2020-03-13 08:20:34: (mod_fastcgi.c.2543) FastCGI-stderr: Stack trace:
2020-03-13 08:20:34: (mod_fastcgi.c.2543) FastCGI-stderr: #0 /var/www/html/cache/production/container_4335734bbdd20f586549a504dff5f80c.php(3200): dmzx\imageupload\event\listener->__construct()
2020-03-13 08:20:34: (mod_fastcgi.c.2543) FastCGI-stderr: #1 /var/www/html/cache/production/container_4335734bbdd20f586549a504dff5f80c.php(2526): phpbb_cache_container->getDmzx_Imageupload_ListenerService()
2020-03-13 08:20:34: (mod_fastcgi.c.2543) FastCGI-stderr: #2 /var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php(231): phpbb_cache_container->{closure}()
2020-03-13 08:20:34: (mod_fastcgi.c.2543) FastCGI-stderr: #3 /var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php(61): Symfony\Component\EventDispatcher\EventDispatcher->sortListeners()
2020-03-13 08:20:34: (mod_fastcgi.c.2543) FastCGI-stderr: #4 /var/www/html/vendor/symfony/event-dispatcher/ContainerAwareEventDispatcher.php(129): Symfony\ in /var/www/html/ext/dmzx/imageupload/event/listener.php on line 98
2020-03-13 08:20:34: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Fatal error: Uncaught TypeError: Argument 15 passed to dmzx\imageupload\event\listener::__construct() must be an instance of phpbb\collapsiblecategories\operator\o perator or null, instance of phpbb\files\factory given, called in /var/www/html/cache/production/container_4335734bbdd20f586549a504dff5f80c.php on line 3200 and defined in /var/www/html/ext/dmzx/imageupload/event/listener.php: 98
Many thanks,
Fusion
-
- Users
- Posts: 310
- Joined: 06 Apr 2015, 18:04
Re: Image Upload
May be you need to update more than one extension.
see: ... Uncaught TypeError: Argument 15 passed to dmzx\imageupload\event\listener::__construct() must be an instance of phpbb\collapsiblecategories\operator\o
see: ... Uncaught TypeError: Argument 15 passed to dmzx\imageupload\event\listener::__construct() must be an instance of phpbb\collapsiblecategories\operator\o
-
- New user
- Posts: 2
- Joined: 13 Mar 2020, 08:34
Re: Image Upload
I already made sure everything else is updated. phpbb/collapsiblecategories is a core extension and 2.0.0 is the most recent version.
-
- Donator
- Posts: 502
- Joined: 24 Sep 2015, 16:23
Re: Image Upload
Hi
I think there may be a small issue I don't know for sure tho.
It seems that after a poster has several thousand images stored in his username and a poster opens a forum to make a new post that forum gets slower to open, chrome being 2 to 3 times slower than FF.
I have tested with my username that has about 6000 images and a few other accounts with a few hundred images and the account with 6000 images is 3 5 times slower to load.
Was wondering if there was a way to have all images saved/stored in a seperate folder and not in each users name/folder.
I don't want the per user to have any control over images.
Thanks
I think there may be a small issue I don't know for sure tho.
It seems that after a poster has several thousand images stored in his username and a poster opens a forum to make a new post that forum gets slower to open, chrome being 2 to 3 times slower than FF.
I have tested with my username that has about 6000 images and a few other accounts with a few hundred images and the account with 6000 images is 3 5 times slower to load.
Was wondering if there was a way to have all images saved/stored in a seperate folder and not in each users name/folder.
I don't want the per user to have any control over images.
Thanks
-
- VIP
- Posts: 1157
- Joined: 14 Oct 2014, 19:01
Re: Image Upload
Yes if it is set to show uploaded images on index page then it would load all of your uploaded images.
Select... Display uploaded images on index: NO in the acp settings if you have people with that many images.
I have had at the most maybe 15 uploaded images at any site. WhoTF has thousands of uploaded images?
But yes, fa-icons had the same problem with loading all of the images on the index page.
Dm moved all of those images in a popup to take care of that issue.
Select... Display uploaded images on index: NO in the acp settings if you have people with that many images.
I have had at the most maybe 15 uploaded images at any site. WhoTF has thousands of uploaded images?
But yes, fa-icons had the same problem with loading all of the images on the index page.
Dm moved all of those images in a popup to take care of that issue.
-
- Donator
- Posts: 502
- Joined: 24 Sep 2015, 16:23
Re: Image Upload
I already have it set to NO on index..Sniper_E wrote: 28 Mar 2020, 00:36 Yes if it is set to show uploaded images on index page then it would load all of your uploaded images.
Select... Display uploaded images on index: NO in the acp settings if you have people with that many images.
I have had at the most maybe 15 uploaded images at any site. WhoTF has thousands of uploaded images?
But yes, fa-icons had the same problem with loading all of the images on the index page.
Dm moved all of those images in a popup to take care of that issue.
The reason for all the images is they are movie covers and we need them.
-
- VIP
- Posts: 1157
- Joined: 14 Oct 2014, 19:01
Re: Image Upload
I would think that your movie covers would be an attachment image. But you know best.
-
- Users
- Posts: 46
- Joined: 22 Mar 2020, 12:59
Re: Image Upload
Estonian translation.
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
-
- New user
- Posts: 2
- Joined: 20 Apr 2020, 11:46
Re: Image Upload
Hello! I knew this extension some months ago when looking for a way to upload images in phpbb forum.
I instaled php3.2.9 and this extension localy and worked fine
Last weekend i instaled the extension in an online forum. At the moment just with permisions for administrator.
All seems to be working well except deleting images.
Doing it in the UCP or extension tab at ACP, both ways remove not only that image, but all folders, including img-files folder
How this could be posible? There is a chance of all img-files folder deleted is related with server or phpbb configuration?
The only change i made was a translation of the languaje files
I hope i explained well, my native languaje is spanish
I instaled php3.2.9 and this extension localy and worked fine
Last weekend i instaled the extension in an online forum. At the moment just with permisions for administrator.
All seems to be working well except deleting images.
Doing it in the UCP or extension tab at ACP, both ways remove not only that image, but all folders, including img-files folder
How this could be posible? There is a chance of all img-files folder deleted is related with server or phpbb configuration?
The only change i made was a translation of the languaje files
I hope i explained well, my native languaje is spanish
-
- New user
- Posts: 2
- Joined: 20 Apr 2020, 11:46
Re: Image Upload
To test it i've done this change:
public function remove_dir($selected_dir)
{
/*
$files = glob($selected_dir. '/*');
foreach ($files as $file)
{
is_dir($file) ? $this->remove_dir($file) : unlink($file);
}
@rmdir($selected_dir);
return;
*/
rename($selected_dir, $selected_dir."BORRAR");
return;
}
avoid recursive, just renaming the folder
so in local works as expected, the folder where the image is, is renamed
but in the server it seems to be different, nothing is deleted, but i got this message

when the function is called, the select_dir parameter is img-files folder, and no recursive here
previousliy, there is a warning with dirname(), but i've not edited that, that maybe where the error is
public function remove_dir($selected_dir)
{
/*
$files = glob($selected_dir. '/*');
foreach ($files as $file)
{
is_dir($file) ? $this->remove_dir($file) : unlink($file);
}
@rmdir($selected_dir);
return;
*/
rename($selected_dir, $selected_dir."BORRAR");
return;
}
avoid recursive, just renaming the folder
so in local works as expected, the folder where the image is, is renamed
but in the server it seems to be different, nothing is deleted, but i got this message


when the function is called, the select_dir parameter is img-files folder, and no recursive here
previousliy, there is a warning with dirname(), but i've not edited that, that maybe where the error is
-
- Users
- Posts: 6
- Joined: 12 Jan 2020, 14:05
Re: Image Upload
As we are almost a month live with our site and using this extension as the main image uploader I do have a few questions / feature requests for the uploader.
We fully enjoy the uploader and pretty easy to use and our members post regularly screenshots of their games, progress in building and playing :)
- We have disabled the use panel in the user control panel for files but when creating a new post there is a tab with 'your uploaded images', is it possible to disable that one as well?
- It is possible to add multiple files in 1 upload? Bij selecting multiple ones.
- As well as a drag/drop? So when dropping multiple files it uploads all at once?
We fully enjoy the uploader and pretty easy to use and our members post regularly screenshots of their games, progress in building and playing :)
- We have disabled the use panel in the user control panel for files but when creating a new post there is a tab with 'your uploaded images', is it possible to disable that one as well?
- It is possible to add multiple files in 1 upload? Bij selecting multiple ones.
- As well as a drag/drop? So when dropping multiple files it uploads all at once?