Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: 1 2 3 4 [5]   Go Down

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

0 Members and 1 Guest are viewing this topic.

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
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

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
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

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
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: 41
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

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
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: 41
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: 41
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: 41
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

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
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

theqe2story

  • Coppermine novice
  • *
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 32
  • Rob Lightbody
    • The QE2 Story
Re: HTML5 multi-file upload plugin
« Reply #91 on: September 11, 2019, 07:49:38 pm »

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

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: HTML5 multi-file upload plugin
« Reply #92 on: September 12, 2019, 05:00:16 am »

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:
Code: [Select]
$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:
Code: [Select]
$desclabl .= '&nbsp;'. cpg_display_help('f=empty.htm&amp;h=lang_bbcode_help_title&amp;t=lang_bbcode_help',470,245);
Logged

pclogicnz

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: HTML5 multi-file upload plugin
« Reply #93 on: February 03, 2021, 12:37:19 am »

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

pclogicnz

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: HTML5 multi-file upload plugin
« Reply #94 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.   
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: HTML5 multi-file upload plugin
« Reply #95 on: February 03, 2021, 04:52:08 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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

nambroque

  • Coppermine regular visitor
  • **
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 85
    • Galería Fotometeo
Re: HTML5 multi-file upload plugin
« Reply #96 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.
Logged

nambroque

  • Coppermine regular visitor
  • **
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 85
    • Galería Fotometeo
Re: HTML5 multi-file upload plugin
« Reply #97 on: April 24, 2021, 09:24:22 am »

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
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: HTML5 multi-file upload plugin
« Reply #98 on: April 24, 2021, 05:21:01 pm »

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

nambroque

  • Coppermine regular visitor
  • **
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 85
    • Galería Fotometeo
Re: HTML5 multi-file upload plugin
« Reply #99 on: April 24, 2021, 06:31:54 pm »

Ok, thanks!
Logged
Pages: 1 2 3 4 [5]   Go Up
 

Page created in 0.025 seconds with 20 queries.