Hello,
Today i upgraded my gallery from 1.5.48 to 1.6.07 . Except one incompatible plugin (Social Sharing) i have not found any other issue.
When trying to upload pictures with the HTML5 uploader, i first select the album and then the pictures. No matter how many pictures i select, the progress bar becomes red and i am not given the option to proceed further on editing the pictures details. If after i see the issue go to the homepage of my gallery, the pictures failed previously, are uploaded correctly.
Unfortunatelly my cPanel error log files do not report any error during the upload. Also i have turned on debug from coppermine and i also do not see any errors.
I attach screenshots of the issue.
Coppermine login system is bridged with MyBB 1.8.22
The debug output of the HTML5 upload form after the issue, is below.
Does anybody have an idea why is this happening?
USER:
------------------
Array
(
[ID] => 4f470c1358cc631e3f4b40c05a5eb6d9
[am] => 1
[liv] => Array
(
)
[search] => Array
(
[params] => Array
(
[type] => AND
[newer_than] =>
[older_than] =>
[username] => 1
[user1] => on
)
[search] => 5362
)
[uid] => 3
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 3
[user_name] => dimangelid
[groups] => Array
(
[0] => 104
[1] => 100
)
[disk_max] => 0
[disk_min] => 0
[can_rate_pictures] => 1
[can_send_ecards] => 1
[can_post_comments] => 1
[can_upload_pictures] => 1
[can_create_albums] => 0
[has_admin_access] => 1
[access_level] => 3
[pub_upl_need_approval] => 0
[priv_upl_need_approval] => 1
[group_name] => Administrators
[can_create_public_albums] => 1
[group_quota] => 0
[can_see_all_albums] => 1
[group_id] => 104
[allowed_albums] => Array
(
)
)
==========================
Queries:
------------------
Array
(
[0] => SELECT name, value FROM cpg1410_config [include/init.inc.php:180] (0.47 ms)
[1] => SELECT * FROM cpg1410_plugins ORDER BY priority [include/plugin_api.inc.php:51] (0.19 ms)
[2] => SELECT name, value FROM cpg1410_bridge [include/functions.inc.php:4565] (0.16 ms)
[3] => SELECT u.uid, u.loginkey, additionalgroups
FROM `leofor_forumII`.mybb_sessions AS s
INNER JOIN `leofor_forumII`.mybb_users AS u ON u.uid = s.uid
WHERE sid = '91e1ab979c65741df5a27ad79924d9fe' [bridge/udb_base.inc.php:57] (0.25 ms)
[4] => SELECT u.uid AS id, u.username AS username, loginkey AS password, u.usergroup AS group_id FROM `leofor_forumII`.mybb_users AS u LEFT JOIN `leofor_forumII`.mybb_usergroups AS g ON u.usergroup=g.gid WHERE u.uid='3' [bridge/udb_base.inc.php:57] (0.2 ms)
[5] => SELECT MAX(group_quota) AS disk_max, MIN(group_quota) AS disk_min, MAX(can_rate_pictures) AS can_rate_pictures, MAX(can_send_ecards) AS can_send_ecards, MAX(can_post_comments) AS can_post_comments, MAX(can_upload_pictures) AS can_upload_pictures, MAX(can_create_albums) AS can_create_albums, MAX(has_admin_access) AS has_admin_access, MAX(access_level) AS access_level, MIN(pub_upl_need_approval) AS pub_upl_need_approval, MIN( priv_upl_need_approval) AS priv_upl_need_approval FROM cpg1410_usergroups WHERE group_id in (104,100) [bridge/udb_base.inc.php:353] (0.24 ms)
[6] => SELECT group_name FROM cpg1410_usergroups WHERE group_id= 104 [bridge/udb_base.inc.php:358] (0.17 ms)
[7] => SELECT COUNT(*) FROM cpg1410_categorymap WHERE group_id in (104,100) [bridge/udb_base.inc.php:371] (0.11 ms)
[8] => SELECT lang_id FROM cpg1410_languages WHERE enabled='YES' [include/init.inc.php:337] (0.23 ms)
[9] => SELECT user_favpics FROM cpg1410_favpics WHERE user_id = 3 [include/init.inc.php:395] (0.11 ms)
[10] => DELETE FROM cpg1410_mod_online WHERE last_action < NOW() - INTERVAL 15 MINUTE [plugins/onlinestats/codebase.php:119] (0.15 ms)
[11] => REPLACE INTO cpg1410_mod_online (user_id, user_name, user_ip, last_action) VALUES ('3', 'dimangelid', '207.180.229.212', NOW()) [plugins/onlinestats/codebase.php:121] (0.15 ms)
[12] => DELETE FROM cpg1410_banned WHERE expiry < '2020-01-06 00:22:54' [include/init.inc.php:450] (0.14 ms)
[13] => SELECT null FROM cpg1410_banned WHERE (user_id=3 OR '207.180.229.212' LIKE ip_addr ) AND brute_force=0 LIMIT 1 [include/init.inc.php:466] (0.12 ms)
[14] => SELECT aid, title, cid, name FROM cpg1410_albums INNER JOIN cpg1410_categories ON cid = category WHERE category < 10000 [upload.php:339] (1.33 ms)
[15] => SELECT aid, title FROM cpg1410_albums WHERE category = 0 [upload.php:341] (0.13 ms)
[16] => SELECT aid, title FROM cpg1410_albums WHERE category='10003' ORDER BY title [upload.php:367] (0.14 ms)
[17] => SELECT COUNT(*) FROM cpg1410_pictures WHERE approved = 'NO' [include/functions.inc.php:2524] (1.77 ms)
[18] => SELECT lang_id, abbr FROM cpg1410_languages WHERE available='YES' AND enabled='YES' [include/themes.inc.php:2287] (0.16 ms)
[19] => SELECT aid, title, category FROM cpg1410_albums WHERE 1 ORDER BY pos [include/functions.inc.php:6079] (0.51 ms)
[20] => SELECT cid, rgt, name FROM cpg1410_categories ORDER BY lft [include/functions.inc.php:6100] (0.19 ms)
[21] => SELECT uid AS user_id, username AS user_name FROM `leofor_forumII`.mybb_users ORDER BY username [bridge/udb_base.inc.php:57] (3.16 ms)
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
)
==========================
COOKIE :
------------------
Array
(
[__utma] => 89771270.1808273682.1514322230.1578261423.1578266128.139
[__utmz] => 89771270.1577663680.135.5.utmcsr=facebook.com|utmccn=(referral)|utmcmd=referral|utmcct=/
[em_cdn_uid] => t=1577127305657&u=01a805204296478e9e6198128609a603
[em_p_uid] => l:1565036301060|t:1560466356138|u:6b8633f1285345b8a4c66e1f5bedeb88
[multiquote] =>
[cpg1425_data] => YTo1OntzOjI6IklEIjtzOjMyOiI0ZjQ3MGMxMzU4Y2M2MzFlM2Y0YjQwYzA1YTVlYjZkOSI7czoyOiJhbSI7aToxO3M6MzoibGl2IjthOjA6e31zOjY6InNlYXJjaCI7YToyOntzOjY6InBhcmFtcyI7YTo1OntzOjQ6InR5cGUiO3M6MzoiQU5EIjtzOjEwOiJuZXdlcl90aGFuIjtzOjA6IiI7czoxMDoib2xkZXJfdGhhbiI7czowOiIiO3M6ODoidXNlcm5hbWUiO2I6MTtzOjU6InVzZXIxIjtzOjI6Im9uIjt9czo2OiJzZWFyY2giO3M6NDoiNTM2MiI7fXM6MzoidWlkIjtpOjM7fQ==
[_ga] => GA1.2.1808273682.1514322230
[cookieaccept] => yes
[mybb] => Array
(
[announcements] => 0
[lastvisit] => 1577127307
[lastactive] => 1578270146
)
[roundcube_cookies] => enabled
[opengal_data] => YTo0OntzOjI6IklEIjtzOjMyOiI1MGNiMjVlYzk0NmE4YWRjY2VjYWI0YTBlYTMwYzAyMyI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo1OiJncmVlayI7czozOiJsaXYiO2E6MDp7fX0=
[loginattempts] => 1
[__utmc] => 89771270
[c1641a0a95a70d40b87d6ebd06a6447c] => fa5c0336db98e557f450bb33dee4b33d
[PHPSESSID] => 6ecd793e7f0ec875c76447c7e2ca8085
[__utmb] => 89771270.130.10.1578266128
[__utmt] => 1
[sid] => 91e1ab979c65741df5a27ad79924d9fe
[mybbuser] => 3_4lQnpU99vMG5D42mRMjRAVUeyDZj4R3M9lq896niOUyEii429E
)
==========================
SESSION :
------------------
Array
(
)
==========================
VERSION INFO :
------------------
PHP version 7.3.13 OK
MySQL version 5.7.28 OK
Coppermine version 1.6.07 stable
==========================
Module: GD
------------------
Exact version 2.1.0
GD Version bundled (2.1.0 compatible)
FreeType Support 1
FreeType Linkage with freetype
GIF Read Support 1
GIF Create Support 1
JPEG Support 1
PNG Support 1
WBMP Support 1
XPM Support 1
XBM Support 1
WebP Support 1
BMP Support 1
JIS-mapped Japanese Font Support
==========================
Key config settings
------------------
site_url https://leoforeia.gr/photos/
charset utf-8
allow_private_albums 1
cookie_name cpg1425
cookie_path /
impath /usr/bin/
lang english
main_page_layout breadcrumb/catlist/alblist/lastup,2/lastcom/random/onlinestats
silly_safe_mode 0
smtp_host
theme leofor_blue
thumb_method im
==========================
Plugins
------------------
Name CoreH5A Upload
Enabled 1
Actions upload_form, plugin_install, plugin_uninstall
Filters upload_options
--------------
Name Keyboard Navigation
Enabled 1
Actions
Filters
--------------
Name CoreSWF Upload
Enabled 1
Actions upload_form
Filters upload_options
--------------
Name Who is online?
Enabled 1
Actions plugin_install, page_start, plugin_uninstall, plugin_cleanup, plugin_configure
Filters plugin_block
--------------
Name CoreSGL Upload
Enabled 1
Actions upload_form
Filters upload_options
--------------
Name HTML Embed
Enabled 1
Actions plugin_install
Filters file_info
--------------
Name Link target
Enabled 1
Actions page_start
Filters
--------------
Name Sitemap Generator
Enabled 1
Actions plugin_install, plugin_uninstall
Filters
--------------
Name Social Sharing
Enabled 1
Actions plugin_install, plugin_uninstall
Filters file_data, page_meta
--------------
==========================
Server restrictions
------------------
safe_mode
safe_mode_exec_dir
safe_mode_gid
safe_mode_include_dir
sql.safe_mode
disable_functions show_source, system, shell_exec, passthru, phpinfo, popen, proc_open
file_uploads 1
include_path .:/opt/cpanel/ea-php73/root/usr/share/pear
open_basedir
allow_url_fopen 1
max_execution_time 90
max_input_time 60
upload_max_filesize 20M
post_max_size 8M
memory_limit 512M
suhosin.post.max_vars
suhosin.request.max_vars
==========================
Page (performance)
------------------
Parameter Current Peak
Memory usage 3.85 MiB 4.79 MiB
Page generation 43.15 ms 43.15 ms
Page query time 10.09 ms 10.09 ms
Page query count 22 22
==========================
The culprit has been found... I had not disabled the Social Sharing plugin, which has caused issues with the update.
After disabling it, everything worked as expected.
Hello again! After ron4mac feedback at https://forum.coppermine-gallery.net/index.php?topic=70221.new#new , i made Social Sharing plugin working again.
However, when the Social Sharing plugin is activated, i face the issue described at my first message on this thread. Is there a solution for that?
I installed and enabled Social Sharing plugin (v1.5) after replacing all mysql_ with cpg_db_.
I had no problems with uploading.
Make sure you replace all instances of mysql_ with cpg_db_ in all the plugin files.
Quote from: ron4mac on January 08, 2020, 03:22:05 AM
I installed and enabled Social Sharing plugin (v1.5) after replacing all mysql_ with cpg_db_.
I had no problems with uploading.
Make sure you replace all instances of mysql_ with cpg_db_ in all the plugin files.
Hello Ron! I searched all files under the plugin folder for mysql_ and i have replaced them all. When social sharing plugin is enabled, also flash uploader does not work. I paste the debug output and screenshots!
USER:
------------------
Array
(
[ID] => f3dfa5900c0fe6d757f3ae6d1196a941
[am] => 1
[lang] => english
[upload_method] => upload_swf
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 3
[user_name] => dimangelid
[groups] => Array
(
[0] => 104
[1] => 100
)
[disk_max] => 0
[disk_min] => 0
[can_rate_pictures] => 1
[can_send_ecards] => 1
[can_post_comments] => 1
[can_upload_pictures] => 1
[can_create_albums] => 0
[has_admin_access] => 1
[access_level] => 3
[pub_upl_need_approval] => 0
[priv_upl_need_approval] => 1
[group_name] => Administrators
[can_create_public_albums] => 1
[group_quota] => 0
[can_see_all_albums] => 1
[group_id] => 104
[allowed_albums] => Array
(
)
)
==========================
Queries:
------------------
Array
(
[0] => SELECT name, value FROM cpg1410_config [include/init.inc.php:180] (0.37 ms)
[1] => SELECT * FROM cpg1410_plugins ORDER BY priority [include/plugin_api.inc.php:51] (0.23 ms)
[2] => SELECT name, value FROM cpg1410_bridge [include/functions.inc.php:4565] (0.19 ms)
[3] => SELECT u.uid, u.loginkey, additionalgroups
FROM `leofor_forumII`.mybb_sessions AS s
INNER JOIN `leofor_forumII`.mybb_users AS u ON u.uid = s.uid
WHERE sid = '31677231c717b4048b220edb3bba79ed' [bridge/udb_base.inc.php:57] (0.22 ms)
[4] => SELECT u.uid AS id, u.username AS username, loginkey AS password, u.usergroup AS group_id FROM `leofor_forumII`.mybb_users AS u LEFT JOIN `leofor_forumII`.mybb_usergroups AS g ON u.usergroup=g.gid WHERE u.uid='3' [bridge/udb_base.inc.php:57] (0.16 ms)
[5] => SELECT MAX(group_quota) AS disk_max, MIN(group_quota) AS disk_min, MAX(can_rate_pictures) AS can_rate_pictures, MAX(can_send_ecards) AS can_send_ecards, MAX(can_post_comments) AS can_post_comments, MAX(can_upload_pictures) AS can_upload_pictures, MAX(can_create_albums) AS can_create_albums, MAX(has_admin_access) AS has_admin_access, MAX(access_level) AS access_level, MIN(pub_upl_need_approval) AS pub_upl_need_approval, MIN( priv_upl_need_approval) AS priv_upl_need_approval FROM cpg1410_usergroups WHERE group_id in (104,100) [bridge/udb_base.inc.php:353] (0.26 ms)
[6] => SELECT group_name FROM cpg1410_usergroups WHERE group_id= 104 [bridge/udb_base.inc.php:358] (0.13 ms)
[7] => SELECT COUNT(*) FROM cpg1410_categorymap WHERE group_id in (104,100) [bridge/udb_base.inc.php:371] (0.11 ms)
[8] => SELECT lang_id FROM cpg1410_languages WHERE enabled='YES' [include/init.inc.php:337] (0.19 ms)
[9] => SELECT user_favpics FROM cpg1410_favpics WHERE user_id = 3 [include/init.inc.php:395] (0.11 ms)
[10] => DELETE FROM cpg1410_mod_online WHERE last_action < NOW() - INTERVAL 15 MINUTE [plugins/onlinestats/codebase.php:119] (0.14 ms)
[11] => REPLACE INTO cpg1410_mod_online (user_id, user_name, user_ip, last_action) VALUES ('3', 'dimangelid', '2.84.175.74', NOW()) [plugins/onlinestats/codebase.php:121] (0.13 ms)
[12] => DELETE FROM cpg1410_banned WHERE expiry < '2020-01-08 13:13:18' [include/init.inc.php:450] (0.14 ms)
[13] => SELECT null FROM cpg1410_banned WHERE (user_id=3 OR '2.84.175.74' LIKE ip_addr ) AND brute_force=0 LIMIT 1 [include/init.inc.php:466] (0.12 ms)
[14] => SELECT aid, title, cid, name FROM cpg1410_albums INNER JOIN cpg1410_categories ON cid = category WHERE category < 10000 [upload.php:339] (1.27 ms)
[15] => SELECT aid, title FROM cpg1410_albums WHERE category = 0 [upload.php:341] (0.13 ms)
[16] => SELECT aid, title FROM cpg1410_albums WHERE category='10003' ORDER BY title [upload.php:367] (0.14 ms)
[17] => SELECT uid AS user_id, loginkey AS pass_hash FROM `leofor_forumII`.mybb_users WHERE uid = '3' [bridge/udb_base.inc.php:57] (0.14 ms)
[18] => SELECT COUNT(*) FROM cpg1410_pictures WHERE approved = 'NO' [include/functions.inc.php:2524] (1.91 ms)
[19] => SELECT lang_id, abbr FROM cpg1410_languages WHERE available='YES' AND enabled='YES' [include/themes.inc.php:2287] (0.16 ms)
[20] => SELECT aid, title, category FROM cpg1410_albums WHERE 1 ORDER BY pos [include/functions.inc.php:6079] (0.56 ms)
[21] => SELECT cid, rgt, name FROM cpg1410_categories ORDER BY lft [include/functions.inc.php:6100] (0.23 ms)
[22] => SELECT uid AS user_id, username AS user_name FROM `leofor_forumII`.mybb_users ORDER BY username [bridge/udb_base.inc.php:57] (3.19 ms)
)
==========================
GET :
------------------
Array
(
[method] => upload_swf
)
==========================
POST :
------------------
Array
(
)
==========================
COOKIE :
------------------
Array
(
[mybb] => Array
(
[lastvisit] => 1578251279
[lastactive] => 1578481989
)
[em_cdn_uid] => t=1578248610933&u=f98c44ebd0c54e11bd14c604b1d10940
[cpg1425_data] => YTozOntzOjI6IklEIjtzOjMyOiJmM2RmYTU5MDBjMGZlNmQ3NTdmM2FlNmQxMTk2YTk0MSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjt9
[__utma] => 89771270.204362142.1578481984.1578481984.1578481984.1
[__utmb] => 89771270.3.10.1578481984
[__utmc] => 89771270
[__utmz] => 89771270.1578481984.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
[__utmt] => 1
[sid] => 31677231c717b4048b220edb3bba79ed
[loginattempts] => 1
[mybbuser] => 3_4lQnpU99vMG5D42mRMjRAVUeyDZj4R3M9lq896niOUyEii429E
)
==========================
VERSION INFO :
------------------
PHP version 7.3.13 OK
MySQL version 5.7.28 OK
Coppermine version 1.6.07 stable
==========================
Module: GD
------------------
Exact version 2.1.0
GD Version bundled (2.1.0 compatible)
FreeType Support 1
FreeType Linkage with freetype
GIF Read Support 1
GIF Create Support 1
JPEG Support 1
PNG Support 1
WBMP Support 1
XPM Support 1
XBM Support 1
WebP Support 1
BMP Support 1
JIS-mapped Japanese Font Support
==========================
Key config settings
------------------
site_url https://leoforeia.gr/photos/
charset utf-8
allow_private_albums 1
cookie_name cpg1425
cookie_path /
impath /usr/bin/
lang english
main_page_layout breadcrumb/catlist/alblist/lastup,2/lastcom/random/onlinestats
silly_safe_mode 0
smtp_host
theme leofor_blue
thumb_method im
==========================
Plugins
------------------
Name CoreH5A Upload
Enabled 1
Actions upload_form, plugin_install, plugin_uninstall
Filters upload_options
--------------
Name Keyboard Navigation
Enabled 1
Actions
Filters
--------------
Name CoreSWF Upload
Enabled 1
Actions upload_form
Filters upload_options
--------------
Name Who is online?
Enabled 1
Actions plugin_install, page_start, plugin_uninstall, plugin_cleanup, plugin_configure
Filters plugin_block
--------------
Name CoreSGL Upload
Enabled 1
Actions upload_form
Filters upload_options
--------------
Name HTML Embed
Enabled 1
Actions plugin_install
Filters file_info
--------------
Name Link target
Enabled 1
Actions page_start
Filters
--------------
Name Sitemap Generator
Enabled 1
Actions plugin_install, plugin_uninstall
Filters
--------------
Name Social Sharing
Enabled 1
Actions plugin_install, plugin_uninstall
Filters file_data, page_meta
--------------
==========================
Server restrictions
------------------
safe_mode
safe_mode_exec_dir
safe_mode_gid
safe_mode_include_dir
sql.safe_mode
disable_functions show_source, system, shell_exec, passthru, phpinfo, popen, proc_open
file_uploads 1
include_path .:/opt/cpanel/ea-php73/root/usr/share/pear
open_basedir
allow_url_fopen 1
max_execution_time 90
max_input_time 60
upload_max_filesize 20M
post_max_size 85M
memory_limit 512M
suhosin.post.max_vars
suhosin.request.max_vars
==========================
Page (performance)
------------------
Parameter Current Peak
Memory usage 3.85 MiB 4.79 MiB
Page generation 42.43 ms 42.43 ms
Page query time 10.22 ms 10.22 ms
Page query count 23 23
==========================
---SWFUpload Instance Info---
Version: 2.2.0 2009-03-25
Movie Name: SWFUpload_0
Settings:
upload_url: /photos/uniload.php
flash_url: plugins/upload_swf/js/swfupload/swfupload.swf?preventswfcaching=1578482001516
use_query_string: false
requeue_on_error: false
http_success:
assume_success_timeout: 0
file_post_name: Filedata
post_params: [object Object]
file_types: *.*
file_types_description: All Files
file_size_limit: 7168 KB
file_upload_limit: 0
file_queue_limit: 0
debug: true
prevent_swf_caching: true
button_placeholder_id: browse_button_place_holder
button_placeholder: Not Set
button_image_url: /photos/plugins/upload_swf/images/browse_swf.png
button_width: 130
button_height: 20
button_text: Browse...
button_text_style: .browse {font-family: Arial,Helvetica,sans-serif; color: #CCCCCC;}
button_text_top_padding: 0
button_text_left_padding: 30
button_action: -110
button_disabled: true
custom_settings: [object Object]
Event Handlers:
swfupload_loaded_handler assigned: true
file_dialog_start_handler assigned: false
file_queued_handler assigned: true
file_queue_error_handler assigned: true
upload_start_handler assigned: true
upload_progress_handler assigned: true
upload_error_handler assigned: true
upload_success_handler assigned: true
upload_complete_handler assigned: true
debug_handler assigned: true
SWFUpload.SWFObject Plugin settings:
minimum_flash_version: 9.0.28
swfupload_load_failed_handler assigned: true
SWF DEBUG: SWFUpload Init Complete
SWF DEBUG:
SWF DEBUG: ----- SWF DEBUG OUTPUT ----
SWF DEBUG: Build Number: SWFUPLOAD 2.2.0
SWF DEBUG: movieName: SWFUpload_0
SWF DEBUG: Upload URL: /photos/uniload.php
SWF DEBUG: File Types String: *.*
SWF DEBUG: Parsed File Types:
SWF DEBUG: HTTP Success: 0
SWF DEBUG: File Types Description: All Files (*.*)
SWF DEBUG: File Size Limit: 7340032 bytes
SWF DEBUG: File Upload Limit: 0
SWF DEBUG: File Queue Limit: 0
SWF DEBUG: Post Params:
SWF DEBUG: method=upload_swf
SWF DEBUG: timestamp=1578481998
SWF DEBUG: form_token=a988b0045d0a6841b626438e9b545051
SWF DEBUG: ----- END SWF DEBUG OUTPUT ----
SWF DEBUG:
Removing Flash functions hooks (this should only run in IE and should prevent memory leaks)
SWF DEBUG: Event: fileDialogStart : Browsing files. Multi Select. Allowed file types: *.*
SWF DEBUG: Select Handler: Received the files selected from the dialog. Processing the file list...
SWF DEBUG: Event: fileQueued : File ID: SWFUpload_0_0
SWF DEBUG: Event: fileDialogComplete : Finished processing selected files. Files selected: 1. Files Queued: 1
SWF DEBUG: StartUpload: First file in queue
SWF DEBUG: Event: uploadStart : File ID: SWFUpload_0_0
SWF DEBUG: Global Post Item: method=upload_swf
SWF DEBUG: Global Post Item: album=5585
SWF DEBUG: Global Post Item: timestamp=1578481998
SWF DEBUG: Global Post Item: form_token=a988b0045d0a6841b626438e9b545051
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for upload. Starting upload to /photos/uniload.php for File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 32768. Total: 206612
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 65536. Total: 206612
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 131072. Total: 206612
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 163840. Total: 206612
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 206612. Total: 206612
SWF DEBUG: Event: uploadSuccess: File ID: SWFUpload_0_0 Response Received: true Data:
SWF DEBUG: success0|albums/userpics/10003/thumb_Webcam_dionysos_30122019_1252.jpg
SWF DEBUG: Event: uploadComplete : Upload cycle complete.
Quote from: dimangelid on January 08, 2020, 12:19:37 PM
Hello Ron! I searched all files under the plugin folder for mysql_ and i have replaced them all. When social sharing plugin is enabled, also flash uploader does not work. I paste the debug output and screenshots!
USER:
------------------
Array
(
[ID] => f3dfa5900c0fe6d757f3ae6d1196a941
[am] => 1
[lang] => english
[upload_method] => upload_swf
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 3
[user_name] => dimangelid
[groups] => Array
(
[0] => 104
[1] => 100
)
[disk_max] => 0
[disk_min] => 0
[can_rate_pictures] => 1
[can_send_ecards] => 1
[can_post_comments] => 1
[can_upload_pictures] => 1
[can_create_albums] => 0
[has_admin_access] => 1
[access_level] => 3
[pub_upl_need_approval] => 0
[priv_upl_need_approval] => 1
[group_name] => Administrators
[can_create_public_albums] => 1
[group_quota] => 0
[can_see_all_albums] => 1
[group_id] => 104
[allowed_albums] => Array
(
)
)
==========================
Queries:
------------------
Array
(
[0] => SELECT name, value FROM cpg1410_config [include/init.inc.php:180] (0.37 ms)
[1] => SELECT * FROM cpg1410_plugins ORDER BY priority [include/plugin_api.inc.php:51] (0.23 ms)
[2] => SELECT name, value FROM cpg1410_bridge [include/functions.inc.php:4565] (0.19 ms)
[3] => SELECT u.uid, u.loginkey, additionalgroups
FROM `leofor_forumII`.mybb_sessions AS s
INNER JOIN `leofor_forumII`.mybb_users AS u ON u.uid = s.uid
WHERE sid = '31677231c717b4048b220edb3bba79ed' [bridge/udb_base.inc.php:57] (0.22 ms)
[4] => SELECT u.uid AS id, u.username AS username, loginkey AS password, u.usergroup AS group_id FROM `leofor_forumII`.mybb_users AS u LEFT JOIN `leofor_forumII`.mybb_usergroups AS g ON u.usergroup=g.gid WHERE u.uid='3' [bridge/udb_base.inc.php:57] (0.16 ms)
[5] => SELECT MAX(group_quota) AS disk_max, MIN(group_quota) AS disk_min, MAX(can_rate_pictures) AS can_rate_pictures, MAX(can_send_ecards) AS can_send_ecards, MAX(can_post_comments) AS can_post_comments, MAX(can_upload_pictures) AS can_upload_pictures, MAX(can_create_albums) AS can_create_albums, MAX(has_admin_access) AS has_admin_access, MAX(access_level) AS access_level, MIN(pub_upl_need_approval) AS pub_upl_need_approval, MIN( priv_upl_need_approval) AS priv_upl_need_approval FROM cpg1410_usergroups WHERE group_id in (104,100) [bridge/udb_base.inc.php:353] (0.26 ms)
[6] => SELECT group_name FROM cpg1410_usergroups WHERE group_id= 104 [bridge/udb_base.inc.php:358] (0.13 ms)
[7] => SELECT COUNT(*) FROM cpg1410_categorymap WHERE group_id in (104,100) [bridge/udb_base.inc.php:371] (0.11 ms)
[8] => SELECT lang_id FROM cpg1410_languages WHERE enabled='YES' [include/init.inc.php:337] (0.19 ms)
[9] => SELECT user_favpics FROM cpg1410_favpics WHERE user_id = 3 [include/init.inc.php:395] (0.11 ms)
[10] => DELETE FROM cpg1410_mod_online WHERE last_action < NOW() - INTERVAL 15 MINUTE [plugins/onlinestats/codebase.php:119] (0.14 ms)
[11] => REPLACE INTO cpg1410_mod_online (user_id, user_name, user_ip, last_action) VALUES ('3', 'dimangelid', '2.84.175.74', NOW()) [plugins/onlinestats/codebase.php:121] (0.13 ms)
[12] => DELETE FROM cpg1410_banned WHERE expiry < '2020-01-08 13:13:18' [include/init.inc.php:450] (0.14 ms)
[13] => SELECT null FROM cpg1410_banned WHERE (user_id=3 OR '2.84.175.74' LIKE ip_addr ) AND brute_force=0 LIMIT 1 [include/init.inc.php:466] (0.12 ms)
[14] => SELECT aid, title, cid, name FROM cpg1410_albums INNER JOIN cpg1410_categories ON cid = category WHERE category < 10000 [upload.php:339] (1.27 ms)
[15] => SELECT aid, title FROM cpg1410_albums WHERE category = 0 [upload.php:341] (0.13 ms)
[16] => SELECT aid, title FROM cpg1410_albums WHERE category='10003' ORDER BY title [upload.php:367] (0.14 ms)
[17] => SELECT uid AS user_id, loginkey AS pass_hash FROM `leofor_forumII`.mybb_users WHERE uid = '3' [bridge/udb_base.inc.php:57] (0.14 ms)
[18] => SELECT COUNT(*) FROM cpg1410_pictures WHERE approved = 'NO' [include/functions.inc.php:2524] (1.91 ms)
[19] => SELECT lang_id, abbr FROM cpg1410_languages WHERE available='YES' AND enabled='YES' [include/themes.inc.php:2287] (0.16 ms)
[20] => SELECT aid, title, category FROM cpg1410_albums WHERE 1 ORDER BY pos [include/functions.inc.php:6079] (0.56 ms)
[21] => SELECT cid, rgt, name FROM cpg1410_categories ORDER BY lft [include/functions.inc.php:6100] (0.23 ms)
[22] => SELECT uid AS user_id, username AS user_name FROM `leofor_forumII`.mybb_users ORDER BY username [bridge/udb_base.inc.php:57] (3.19 ms)
)
==========================
GET :
------------------
Array
(
[method] => upload_swf
)
==========================
POST :
------------------
Array
(
)
==========================
COOKIE :
------------------
Array
(
[mybb] => Array
(
[lastvisit] => 1578251279
[lastactive] => 1578481989
)
[em_cdn_uid] => t=1578248610933&u=f98c44ebd0c54e11bd14c604b1d10940
[cpg1425_data] => YTozOntzOjI6IklEIjtzOjMyOiJmM2RmYTU5MDBjMGZlNmQ3NTdmM2FlNmQxMTk2YTk0MSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjt9
[__utma] => 89771270.204362142.1578481984.1578481984.1578481984.1
[__utmb] => 89771270.3.10.1578481984
[__utmc] => 89771270
[__utmz] => 89771270.1578481984.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
[__utmt] => 1
[sid] => 31677231c717b4048b220edb3bba79ed
[loginattempts] => 1
[mybbuser] => 3_4lQnpU99vMG5D42mRMjRAVUeyDZj4R3M9lq896niOUyEii429E
)
==========================
VERSION INFO :
------------------
PHP version 7.3.13 OK
MySQL version 5.7.28 OK
Coppermine version 1.6.07 stable
==========================
Module: GD
------------------
Exact version 2.1.0
GD Version bundled (2.1.0 compatible)
FreeType Support 1
FreeType Linkage with freetype
GIF Read Support 1
GIF Create Support 1
JPEG Support 1
PNG Support 1
WBMP Support 1
XPM Support 1
XBM Support 1
WebP Support 1
BMP Support 1
JIS-mapped Japanese Font Support
==========================
Key config settings
------------------
site_url https://leoforeia.gr/photos/
charset utf-8
allow_private_albums 1
cookie_name cpg1425
cookie_path /
impath /usr/bin/
lang english
main_page_layout breadcrumb/catlist/alblist/lastup,2/lastcom/random/onlinestats
silly_safe_mode 0
smtp_host
theme leofor_blue
thumb_method im
==========================
Plugins
------------------
Name CoreH5A Upload
Enabled 1
Actions upload_form, plugin_install, plugin_uninstall
Filters upload_options
--------------
Name Keyboard Navigation
Enabled 1
Actions
Filters
--------------
Name CoreSWF Upload
Enabled 1
Actions upload_form
Filters upload_options
--------------
Name Who is online?
Enabled 1
Actions plugin_install, page_start, plugin_uninstall, plugin_cleanup, plugin_configure
Filters plugin_block
--------------
Name CoreSGL Upload
Enabled 1
Actions upload_form
Filters upload_options
--------------
Name HTML Embed
Enabled 1
Actions plugin_install
Filters file_info
--------------
Name Link target
Enabled 1
Actions page_start
Filters
--------------
Name Sitemap Generator
Enabled 1
Actions plugin_install, plugin_uninstall
Filters
--------------
Name Social Sharing
Enabled 1
Actions plugin_install, plugin_uninstall
Filters file_data, page_meta
--------------
==========================
Server restrictions
------------------
safe_mode
safe_mode_exec_dir
safe_mode_gid
safe_mode_include_dir
sql.safe_mode
disable_functions show_source, system, shell_exec, passthru, phpinfo, popen, proc_open
file_uploads 1
include_path .:/opt/cpanel/ea-php73/root/usr/share/pear
open_basedir
allow_url_fopen 1
max_execution_time 90
max_input_time 60
upload_max_filesize 20M
post_max_size 85M
memory_limit 512M
suhosin.post.max_vars
suhosin.request.max_vars
==========================
Page (performance)
------------------
Parameter Current Peak
Memory usage 3.85 MiB 4.79 MiB
Page generation 42.43 ms 42.43 ms
Page query time 10.22 ms 10.22 ms
Page query count 23 23
==========================
---SWFUpload Instance Info---
Version: 2.2.0 2009-03-25
Movie Name: SWFUpload_0
Settings:
upload_url: /photos/uniload.php
flash_url: plugins/upload_swf/js/swfupload/swfupload.swf?preventswfcaching=1578482001516
use_query_string: false
requeue_on_error: false
http_success:
assume_success_timeout: 0
file_post_name: Filedata
post_params: [object Object]
file_types: *.*
file_types_description: All Files
file_size_limit: 7168 KB
file_upload_limit: 0
file_queue_limit: 0
debug: true
prevent_swf_caching: true
button_placeholder_id: browse_button_place_holder
button_placeholder: Not Set
button_image_url: /photos/plugins/upload_swf/images/browse_swf.png
button_width: 130
button_height: 20
button_text: Browse...
button_text_style: .browse {font-family: Arial,Helvetica,sans-serif; color: #CCCCCC;}
button_text_top_padding: 0
button_text_left_padding: 30
button_action: -110
button_disabled: true
custom_settings: [object Object]
Event Handlers:
swfupload_loaded_handler assigned: true
file_dialog_start_handler assigned: false
file_queued_handler assigned: true
file_queue_error_handler assigned: true
upload_start_handler assigned: true
upload_progress_handler assigned: true
upload_error_handler assigned: true
upload_success_handler assigned: true
upload_complete_handler assigned: true
debug_handler assigned: true
SWFUpload.SWFObject Plugin settings:
minimum_flash_version: 9.0.28
swfupload_load_failed_handler assigned: true
SWF DEBUG: SWFUpload Init Complete
SWF DEBUG:
SWF DEBUG: ----- SWF DEBUG OUTPUT ----
SWF DEBUG: Build Number: SWFUPLOAD 2.2.0
SWF DEBUG: movieName: SWFUpload_0
SWF DEBUG: Upload URL: /photos/uniload.php
SWF DEBUG: File Types String: *.*
SWF DEBUG: Parsed File Types:
SWF DEBUG: HTTP Success: 0
SWF DEBUG: File Types Description: All Files (*.*)
SWF DEBUG: File Size Limit: 7340032 bytes
SWF DEBUG: File Upload Limit: 0
SWF DEBUG: File Queue Limit: 0
SWF DEBUG: Post Params:
SWF DEBUG: method=upload_swf
SWF DEBUG: timestamp=1578481998
SWF DEBUG: form_token=a988b0045d0a6841b626438e9b545051
SWF DEBUG: ----- END SWF DEBUG OUTPUT ----
SWF DEBUG:
Removing Flash functions hooks (this should only run in IE and should prevent memory leaks)
SWF DEBUG: Event: fileDialogStart : Browsing files. Multi Select. Allowed file types: *.*
SWF DEBUG: Select Handler: Received the files selected from the dialog. Processing the file list...
SWF DEBUG: Event: fileQueued : File ID: SWFUpload_0_0
SWF DEBUG: Event: fileDialogComplete : Finished processing selected files. Files selected: 1. Files Queued: 1
SWF DEBUG: StartUpload: First file in queue
SWF DEBUG: Event: uploadStart : File ID: SWFUpload_0_0
SWF DEBUG: Global Post Item: method=upload_swf
SWF DEBUG: Global Post Item: album=5585
SWF DEBUG: Global Post Item: timestamp=1578481998
SWF DEBUG: Global Post Item: form_token=a988b0045d0a6841b626438e9b545051
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for upload. Starting upload to /photos/uniload.php for File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 32768. Total: 206612
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 65536. Total: 206612
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 131072. Total: 206612
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 163840. Total: 206612
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 206612. Total: 206612
SWF DEBUG: Event: uploadSuccess: File ID: SWFUpload_0_0 Response Received: true Data:
SWF DEBUG: success0|albums/userpics/10003/thumb_Webcam_dionysos_30122019_1252.jpg
SWF DEBUG: Event: uploadComplete : Upload cycle complete.
I also tried to change the gallery default theme and use one of the defaults, but both issues persist.
Can you PM me an admin login (or at least a login with upload privileges)?
Can you also please place this file (as .php) in the root of your website? It will allow only me to view/edit files on your site. This may be necessary to resolve both your uploading (Social Sharing plugin) and full sized image scrolling issues.
Quote from: ron4mac on January 09, 2020, 03:40:15 PM
Can you also please place this file (as .php) in the root of your website? It will allow only me to view/edit files on your site. This may be necessary to resolve both your uploading (Social Sharing plugin) and full sized image scrolling issues.
I have uploaded the file, please check your PM's :)
I have resolved your upload issue by removing the PHP end tag and extra lines from the .php files in the Social Sharing plugin. It was causing a small chunk of data to be sent at an inappropriate time that interfered with Flash and HTML5 uploading.
?>
I couldn't see the issue with large image scrolling.
Quote from: ron4mac on January 09, 2020, 09:05:43 PM
I have resolved your upload issue by removing the PHP end tag and extra lines from the .php files in the Social Sharing plugin. It was causing a small chunk of data to be sent at an inappropriate time that interfered with Flash and HTML5 uploading.
?>
I couldn't see the issue with large image scrolling.
Thank you very much for your assistance ron4mac! For the issue with large image scrolling, please take a look at topic https://forum.coppermine-gallery.net/index.php/topic,80047.0.html , i will add more information in a couple of minutes.