Advanced search  

News:

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

Pages: 1 2 3 4 [5]   Go Down

Author Topic: HTML5 multi-file upload plugin  (Read 142421 times)

0 Members and 1 Guest are viewing this topic.

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 665
Re: HTML5 multi-file upload plugin
« Reply #80 on: July 11, 2016, 05:15:33 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.
Logged

united-networking

  • Coppermine newbie
  • Country: 00
  • Offline Offline
  • Posts: 5
    • United Networking GmbH
Re: HTML5 multi-file upload plugin
« Reply #81 on: July 11, 2016, 05:21:04 pm »

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
Logged
--
regards,
United-Networking

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 665
Re: HTML5 multi-file upload plugin
« Reply #82 on: July 12, 2016, 01:15:09 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.
« Last Edit: July 12, 2016, 01:28:56 pm by ron4mac »
Logged

united-networking

  • Coppermine newbie
  • Country: 00
  • Offline Offline
  • Posts: 5
    • United Networking GmbH
Re: HTML5 multi-file upload plugin
« Reply #83 on: July 14, 2016, 01:48:46 pm »

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.
Code: [Select]
<?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
Logged
--
regards,
United-Networking

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 665
Re: HTML5 multi-file upload plugin
« Reply #84 on: July 15, 2016, 12:53:30 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.
Logged

pictureproject.me.ly

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
Re: HTML5 multi-file upload plugin
« Reply #85 on: May 01, 2017, 01:25:10 pm »

Hi Ron,

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

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 665
Re: HTML5 multi-file upload plugin
« Reply #86 on: May 01, 2017, 02:22:36 pm »

Thank you!
Logged

pictureproject.me.ly

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
Re: HTML5 multi-file upload plugin
« Reply #87 on: May 01, 2017, 02:38:58 pm »

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

pictureproject.me.ly

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
Re: HTML5 multi-file upload plugin
« Reply #88 on: May 01, 2017, 02:43:10 pm »

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!
Logged

pictureproject.me.ly

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 38
Re: HTML5 multi-file upload plugin
« Reply #89 on: May 01, 2017, 02:50:43 pm »

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 :)
Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 665
Re: HTML5 multi-file upload plugin
« Reply #90 on: May 01, 2017, 03:04:59 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.
Logged
Pages: 1 2 3 4 [5]   Go Up
 

Page created in 0.018 seconds with 24 queries.