HTML5 multi-file upload plugin - Page 5 HTML5 multi-file upload plugin - Page 5
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

HTML5 multi-file upload plugin

Started by ron4mac, January 25, 2013, 01:23:10 AM

Previous topic - Next topic

0 Members and 5 Guests are viewing this topic.

ron4mac

Quote from: united-networking on July 11, 2016, 02:12:46 PM

  • shouldn't there be an icon to access the plugin's configuration?
  • title and version number seem to stem from the plugin in the list above this one; if on first place, they're empty.
Try moving the HTML5 Upload plugin ahead of the other one to see what difference it makes.
I won't be able to look into any possible issue the the HTML5 Upload plugin until several days from now.

united-networking

Hi,

as we said, when moved to first place, title and version number are empty.
For illustration see attached screenshot.

As for fixing this, there's not that much of a hurry, since the plugins function is not affected 8^)
--
regards,
-- united-Networking
--
regards,
United-Networking

ron4mac

#82
Quote from: united-networking on July 11, 2016, 05:21:04 PM
As for fixing this, there's not that much of a hurry, since the plugins function is not affected 8^)

I have not been able to create any condition that causes the behavior that you are seeing ... and there have been no other reports of any similar behavior.
It would seem that whatever is causing the problem is specific to your installation. Perhaps another plugin that is misbehaving or a corrupt CPG installation.
Have you turned on debugging and checked error logs for any clue?
Perhaps try installing a fresh copy of the HTML5 Upload plugin ... it almost seems like the configuration.php file for your current copy must be corrupt.

united-networking

Hi,

the plugin manager list effect we saw was IMHO produced by pluginmgr.php, based on the variables set in your plugin. Thus we suspect a state of those variables where pluginmgr.php is caused to look for title and version number in the previously listed (upper) plugin, empty if none. Or a bug triggered somehow in pluginmgr.php.

Where would we turn on debugging or find logs thereof?

Our unaltered configuration.php from your plugin is as follows. Looks normal.
<?php
if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');

require_once 
'./plugins/html5upload/initialize.inc.php';
global 
$lang_plugin_html5upload$lang_gallery_admin_menu;

$name $lang_plugin_html5upload['html5upload'];
$description $lang_plugin_html5upload['plug_desc'];
$author 'Ron Crans';
$version '1.3.6';
$plugin_cpg_version = array('min' => '1.5');
$extra_info '<a href="index.php?file=html5upload/admin" class="admin_menu">'.cpg_fetch_icon('config'1)."$name {$lang_gallery_admin_menu['admin_lnk']}</a>";
$install_info $lang_plugin_html5upload['plug_info'];
?>


From the $extra_info in there we finally gathered the URL index.php?file=html5upload/admin to access your Config page. But still, where would we be able to access that normally?
--
regards,
-- United Networking
--
regards,
United-Networking

ron4mac

Quote from: united-networking on July 14, 2016, 01:48:46 PM
the plugin manager list effect we saw was IMHO produced by pluginmgr.php, based on the variables set in your plugin. Thus we suspect a state of those variables where pluginmgr.php is caused to look for title and version number in the previously listed (upper) plugin, empty if none. Or a bug triggered somehow in pluginmgr.php.
Assuming that you are running CPG 1.5.42, there is no way that should be happening. Would it be possible for you to provide me with a link to CPG and an admin login? You can send the information to ron4mac atsign me dot com.

pictureproject.me.ly

Hi Ron,

as I cannot send private messages, I need to attach the German lang file here.

ron4mac


pictureproject.me.ly

You're welcome!
If anything missing, pls let me know.

pictureproject.me.ly

I have a suggestion for your plugin:
Please make it possible, that the photos will be uploaded in chronological order (e.g. A-Z).

Recently, I uploaded 15 photos which had to be uploaded in chronological order.
After the upload finished, all the photos have been mixed in their order.
That's a little confusing as now I need to upload pic by pic to keep the correct order.

Many thanks in advance!

pictureproject.me.ly

Well, I think I found my mistake.

When keeping the order while uploading, I need to set "Number of concurrent uploads" to 1 as well to disable the option "Automatically go to edit after error-free upload completes".
Then it works fine to keep the required order :)

ron4mac

Quote from: pictureproject.me.ly on May 01, 2017, 02:43:10 PM
Please make it possible, that the photos will be uploaded in chronological order (e.g. A-Z).
Because of concurrency, files may arrive at the server out of sequence from how they were selected. As you discovered, setting "concurrent uploads" to 1 helps to alleviate that issue. And there are also file sorting options after files are uploaded. Perhaps an option on the upload form asking that this particular upload be done 1 file at a time could be useful.

Thanks for your feedback.

theqe2story

I just added this onto my 1.5.48 Gallery and it worked a treat immediately.

So sorry I hadn't noticed it sooner!

One wee thing - the little yellow question mark for help next to "File Description" brings up a blank help window - anything I can do about that?

Thanks!!

ron4mac

Quote from: theqe2story on September 11, 2019, 07:49:38 PM
One wee thing - the little yellow question mark for help next to "File Description" brings up a blank help window - anything I can do about that?

In the plugin file codebase.php, replace line 109:
$desclabl .= '&nbsp;'. cpg_display_help('f=empty.htm&amp;base=64&amp;h='.urlencode(base64_encode(serialize($lang_bbcode_help_title))).'&amp;t='.urlencode(base64_encode(serialize($lang_bbcode_help))),470,245);

with:
$desclabl .= '&nbsp;'. cpg_display_help('f=empty.htm&amp;h=lang_bbcode_help_title&amp;t=lang_bbcode_help',470,245);

pclogicnz

I have installed this plugin and all works fine on one site. ie upload files and immediately returns to the photolibrary and lists the files.   

The second site once the upload is done , it just sits there for a while then gives an error for the site  http://192.168.66.109:83/editpics.php?album=330&newer_than=1612347624 
This site can't be reached 192.168.66.109 took too long to respond.  You then close that and files are uploaded anyway.
The ip address for the photolibrary server is not 192.168.66.109  but I did find it in the HOSTS file on this CENTOS 5. I have removed that and rebooted.  Still same problem.
Anybody have any ideas why one site does it and another site does not.?
Anybody know how to fix it?

pclogicnz

Sorted this, the CONFIG - GENERAL SETTINGS have the URL for the photogallery, mine had the http://192.168.66.109:83  as the URL. This has been running for years even though local ip address had changed as we went. Only the HTML5 multi file upload does not like it if the URL does not match the IP etc. Changed to a FQDN and works fine now.   

phill104

Quote from: pclogicnz on February 03, 2021, 02:29:09 AM
Sorted this, the CONFIG - GENERAL SETTINGS have the URL for the photogallery, mine had the http://192.168.66.109:83  as the URL. This has been running for years even though local ip address had changed as we went. Only the HTML5 multi file upload does not like it if the URL does not match the IP etc. Changed to a FQDN and works fine now.   

Thanks for resolving your problem. This particular setting is one that is very important to have correct, If wrong things may seem to work but some very odd little errors, like you have found, crop up. Some themes don't behave, some plugins and very often bridging fails if this setting is wrong.
It is a mistake to think you can solve any major problems just with potatoes.

nambroque

I have installed this plugin and it works fine, except for the "Use filename as title" feature.
Can someone please help me with that?
Another valid option for me would be that it does not appear.
My gallery:
Galería Fotometeo

nambroque

Quote from: nambroque on April 23, 2021, 11:19:05 PM
I have installed this plugin and it works fine, except for the "Use filename as title" feature.
Can someone please help me with that?
Another valid option for me would be that it does not appear.

I mean, as that feature doesn´t work, and it's not really necessary, is there any way to make it not to appear?
Thanks
My gallery:
Galería Fotometeo

ron4mac

It never ceases to amaze me ... in over 4000 downloads, no-one ever gave feedback that the feature was not working ::)

Please remove the html5upload plugin and upgrade your site to CPG 1.6.x.  That upload method is included as part of CPG 1.6.x and the filenames as title functions correctly.

nambroque

My gallery:
Galería Fotometeo