forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: epi82 on April 26, 2016, 06:28:19 pm

Title: Fatal error - flash multiple upload
Post by: epi82 on April 26, 2016, 06:28:19 pm
Hello,
I've recently installed CPG 1.5.40 version and I'm having an issue in flash upload.

I select more images and then specify for each one a description. Then clicking so "Continue" I see this error:
Code: [Select]
Fatal error
Scripts run without the required parameters. (User 110679)

Images are correctly uploaded in my album but without description.

What could be the problem?

Thank you very much,
Elia
Title: Re: Fatal error - flash multiple upload
Post by: Αndré on April 27, 2016, 10:56:54 am
So the upload actually works as expected? After the upload you're redirected to the edit pics form. After you submit that form you get the error message, right?
Title: Re: Fatal error - flash multiple upload
Post by: epi82 on April 27, 2016, 12:28:20 pm
Yes, you're right.
After typing description to each image and submit that form I get the error.

Thank you.
Title: Re: Fatal error - flash multiple upload
Post by: Αndré on April 27, 2016, 12:29:59 pm
Please try to upload just 1 test file, enter some example description on the next page and submit the form immediately.
Title: Re: Fatal error - flash multiple upload
Post by: epi82 on April 27, 2016, 12:32:38 pm
I've just do it but I get the same error.

Thank you.
Title: Re: Fatal error - flash multiple upload
Post by: Αndré on April 27, 2016, 12:34:28 pm
Maybe some file got corrupted during upload. To make sure, please perform an "upgrade" as described in the docs (you actually don't upgrade, but just overwrite all Coppermine core files).
Title: Re: Fatal error - flash multiple upload
Post by: epi82 on April 27, 2016, 01:40:30 pm
I've done it as described in the docs and also run the file checker but everythink seems be ok.
This don't fix the error. I've tried but I get it.

Thank you.
Title: Re: Fatal error - flash multiple upload
Post by: epi82 on April 27, 2016, 01:43:29 pm
If could help I attach checkversion result.
Title: Re: Fatal error - flash multiple upload
Post by: Αndré on April 27, 2016, 01:50:38 pm
Please attach 2 screenshots to your next reply, including the address bar each:
1. The form, just before you submit it
2. The screen with the error message.
Title: Re: Fatal error - flash multiple upload
Post by: epi82 on April 27, 2016, 01:59:13 pm
Thank you.

Elia
Title: Re: Fatal error - flash multiple upload
Post by: epi82 on May 03, 2016, 08:49:35 am
Any updates? What could be the problem?

Thank you.
Title: Re: Fatal error - flash multiple upload
Post by: ron4mac on May 03, 2016, 01:42:37 pm
Do you get the error also when you try to edit files in an album .. or only right after upload?
Title: Re: Fatal error - flash multiple upload
Post by: epi82 on May 03, 2016, 01:49:38 pm
If I try to edit one by one each file in an album it works fine.
I'm getting the error only after upload.

Thank you.
Title: Re: Fatal error - flash multiple upload
Post by: epi82 on May 03, 2016, 01:56:18 pm
It seems that the error happens when you try to update multiple descriptions at a time. It could be due to a PHP setting?
Title: Re: Fatal error - flash multiple upload
Post by: ron4mac on May 03, 2016, 02:06:28 pm
I suggest that you try using this plugin for an alternate upload method:
http://forum.coppermine-gallery.net/index.php/topic,75927.0.html

Then let us know if the same thing happens when you try to add descriptions after using the HTML5 upload method rather than flash.
Title: Re: Fatal error - flash multiple upload
Post by: epi82 on May 03, 2016, 02:29:48 pm
I'm getting the same error. HTML5 upload works fine but after typing description to each image in edit pics form I see the fatal error.

Thank you.
Title: Re: Fatal error - flash multiple upload
Post by: Αndré on May 03, 2016, 04:18:22 pm
It could be due to a PHP setting?

I think so. Please check if suhosin is installed on your server: http://stackoverflow.com/questions/3383916/how-to-check-whether-suhosin-is-installed
Title: Re: Fatal error - flash multiple upload
Post by: epi82 on May 03, 2016, 04:39:35 pm
Suhosin in installed on my server.
It depends on "request.max_vars" or "post.max_vars" value? What can I check in sohosin settings?

Thank you.
Title: Re: Fatal error - flash multiple upload
Post by: Αndré on May 03, 2016, 04:44:29 pm
If in doubt, increase both values (and restart your webserver). What are the current values?
Title: Re: Fatal error - flash multiple upload
Post by: epi82 on May 03, 2016, 04:52:12 pm
Now both values are: 4096.
Anyway I get the error uploading 2 or 3 images... I don't think the problem is that setting.
Maybe could be another but I don't know which...

Thank you.
Title: Re: Fatal error - flash multiple upload
Post by: Αndré on May 03, 2016, 04:59:01 pm
I just found this:
Quote from: http://stackoverflow.com/questions/9399315/how-to-increase-maximum-post-variable-in-php
PHP 5.3.9 introduced the max_input_vars config option, which is defaulted to a value of 1000.

Please also check/increase this.