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:
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
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?
Yes, you're right.
After typing description to each image and submit that form I get the error.
Thank you.
Please try to upload just 1 test file, enter some example description on the next page and submit the form immediately.
I've just do it but I get the same error.
Thank you.
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).
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.
If could help I attach checkversion result.
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.
Thank you.
Elia
Any updates? What could be the problem?
Thank you.
Do you get the error also when you try to edit files in an album .. or only right after upload?
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.
It seems that the error happens when you try to update multiple descriptions at a time. It could be due to a PHP setting?
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.
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.
Quote from: epi82 on May 03, 2016, 01:56:18 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
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.
If in doubt, increase both values (and restart your webserver). What are the current values?
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.
I just found this:
Quote from: http://stackoverflow.com/questions/9399315/how-to-increase-maximum-post-variable-in-phpPHP 5.3.9 introduced the max_input_vars config option, which is defaulted to a value of 1000.
Please also check/increase this.