For reference, my gallery is at https://xtinadaily.com/
Error:
While executing query 'INSERT INTO cpg15x_pictures (aid, filepath, filename, filesize, total_filesize, pwidth, pheight, ctime, owner_id, title, caption, keywords, approved, user1, user2, user3, user4, pic_raw_ip, pic_hdr_ip, position, guest_token) VALUES ('2089', 'userpics/10001/', 'irisvanherpen_118369337_609546009736566_7476548707613591295_n.jpg', '103383', '234158', '1080', '1350', '1599935495', '1', '', '', '', 'YES', '', '', '', '', '', '', '0', '')' in include/picmgmt.inc.php on line 184
database error: 1364 : Field 'md5' doesn't have a default value
The rest of the debug info looks like this:
USER:
------------------
Array
(
[ID] => 21676869892c8ea057b7c9ebd118d5b8
[am] => 1
[lang] => english
[liv] => Array
(
[0] => 47071
[1] => 55335
[2] => 12124
[3] => 44436
[4] => 56033
)
[liv_a] => Array
(
[0] => 1806
[1] => 79
[2] => 1618
[3] => 1886
[4] => 1826
)
[upload_method] => upload_h5a
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_name] => XtinaDaily
[groups] => Array
(
[0] => 1
)
[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] => 1
[has_admin_access] => 1
[access_level] => 3
[pub_upl_need_approval] => 0
[priv_upl_need_approval] => 0
[group_name] => Administrators
[can_create_public_albums] => 0
[group_quota] => 0
[can_see_all_albums] => 1
[group_id] => 1
[allowed_albums] => Array
(
)
)
==========================
Queries:
------------------
Array
(
[0] => SELECT name, value FROM cpg15x_config [include/init.inc.php:176] (0.24 ms)
[1] => SELECT * FROM cpg15x_plugins ORDER BY priority [include/plugin_api.inc.php:51] (0.06 ms)
[2] => SELECT user_id, time FROM `xtinadaily_cpg`.cpg15x_sessions WHERE session_id = '803940534c4db1274bfe9bd773d2018b' [bridge/coppermine.inc.php:237] (0.06 ms)
[3] => SELECT user_id, user_password FROM `xtinadaily_cpg`.cpg15x_users WHERE user_id=1 [bridge/udb_base.inc.php:59] (0.05 ms)
[4] => SELECT u.user_id AS id, u.user_name AS username, user_password AS password, u.user_group AS group_id FROM `xtinadaily_cpg`.cpg15x_users AS u LEFT JOIN `xtinadaily_cpg`.cpg15x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' [bridge/udb_base.inc.php:59] (0.05 ms)
[5] => SELECT user_group_list FROM `xtinadaily_cpg`.cpg15x_users AS u WHERE user_id='1' AND user_group_list <> '' [bridge/udb_base.inc.php:59] (0.04 ms)
[6] => 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 cpg15x_usergroups WHERE group_id in (1) [bridge/udb_base.inc.php:356] (0.05 ms)
[7] => SELECT group_name FROM cpg15x_usergroups WHERE group_id= 1 [bridge/udb_base.inc.php:360] (0.05 ms)
[8] => SELECT COUNT(*) FROM cpg15x_categorymap WHERE group_id in (1) [bridge/udb_base.inc.php:373] (0.04 ms)
[9] => SELECT lang_id FROM cpg15x_languages WHERE enabled='YES' [include/init.inc.php:333] (0.08 ms)
[10] => SELECT user_favpics FROM cpg15x_favpics WHERE user_id = 1 [include/init.inc.php:391] (0.05 ms)
[11] => DELETE FROM cpg15x_mod_online WHERE last_action < NOW() - INTERVAL 10 MINUTE [plugins/onlinestats/codebase.php:119] (0.13 ms)
[12] => REPLACE INTO cpg15x_mod_online (user_id, user_name, user_ip, last_action) VALUES ('1', 'XtinaDaily', '103.212.117.226', NOW()) [plugins/onlinestats/codebase.php:121] (0.11 ms)
[13] => DELETE FROM cpg15x_banned WHERE expiry < '2020-09-12 18:43:37' [include/init.inc.php:446] (0.1 ms)
[14] => SELECT null FROM cpg15x_banned WHERE (user_id=1 OR '103.212.117.226' LIKE ip_addr ) AND brute_force=0 LIMIT 1 [include/init.inc.php:462] (0.04 ms)
[15] => SELECT COUNT(*) FROM cpg15x_pictures WHERE approved = 'NO' [include/functions.inc.php:2525] (0.05 ms)
[16] => SELECT lang_id, abbr FROM cpg15x_languages WHERE available='YES' AND enabled='YES' [themes/responsive/theme.php:2277] (0.05 ms)
[17] => SELECT aid, title, category FROM cpg15x_albums WHERE 1 ORDER BY pos [include/functions.inc.php:6079] (1.03 ms)
[18] => SELECT cid, rgt, name FROM cpg15x_categories ORDER BY lft [include/functions.inc.php:6100] (0.19 ms)
[19] => SELECT user_id AS user_id, user_name AS user_name FROM `xtinadaily_cpg`.cpg15x_users ORDER BY user_name [bridge/udb_base.inc.php:59] (0.1 ms)
)
==========================
GET :
------------------
Array
(
[t] => 184244912
)
==========================
POST :
------------------
Array
(
)
==========================
COOKIE :
------------------
Array
(
[MCPopupClosed] => yes
[_ga] => GA1.2.630921074.1597255634
[cookieconsent_status] => dismiss
[__gads] => ID=8765f86a998af9c7:T=1598595035:S=ALNI_MZTkzxMkAsTBqO5DfxcfV2FyqqCow
[__utmz] => 1.1598763055.24.11.utmcsr=facebook.com|utmccn=(referral)|utmcmd=referral|utmcct=/
[roundcube_cookies] => enabled
[ed46dcd95d6dcff9f6aaafe4a1924966] => 489285c2ff6ff98ad9c1079812fe6d32
[__utmc] => 1
[timezone] => Asia/Shanghai
[cpsession] => xtinadaily:ks_TZwcnuGOc7xoa,2f7522d8820d320b14cfad85451c94ac
[__extfc] => 1
[PHPSESSID] => mvuc78op0a0n8ethull72p8i67
[ips4_IPSSessionFront] => 9ga2inrdkeboner4fr2spl7qs2
[c5cc9da327881607cc7e67f123cbf465] => 30cce3dac97d21b5fd42aa8ec4dacb08
[__utma] => 1.630921074.1597255634.1599904109.1599933498.36
[cpg15x_data] => YTo2OntzOjI6IklEIjtzOjMyOiIyMTY3Njg2OTg5MmM4ZWEwNTdiN2M5ZWJkMTE4ZDViOCI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjtzOjM6ImxpdiI7YTo1OntpOjA7czo1OiI0NzA3MSI7aToxO3M6NToiNTUzMzUiO2k6MjtzOjU6IjEyMTI0IjtpOjM7czo1OiI0NDQzNiI7aTo0O3M6NToiNTYwMzMiO31zOjU6Imxpdl9hIjthOjU6e2k6MDtpOjE4MDY7aToxO2k6Nzk7aToyO2k6MTYxODtpOjM7aToxODg2O2k6NDtpOjE4MjY7fXM6MTM6InVwbG9hZF9tZXRob2QiO3M6MTA6InVwbG9hZF9oNWEiO30=
[__utmt] => 1
[__utmb] => 1.48.10.1599933498
)
==========================
SESSION :
------------------
Array
(
)
==========================
VERSION INFO :
------------------
PHP version 5.6.40 OK
MySQL version 10.2.33-MariaDB OK
Coppermine version 1.6.09 stable
==========================
Module: GD
------------------
Exact version 2.1.0
GD Version bundled (2.1.0 compatible)
FreeType Support 1
FreeType Linkage with freetype
T1Lib Support 1
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
JIS-mapped Japanese Font Support
==========================
Key config settings
------------------
site_url https://xtinadaily.com/
charset utf-8
allow_private_albums 1
cookie_name cpg15x
cookie_path /
impath /usr/bin/
lang english
main_page_layout breadcrumb/lastalb/catlist/alblist/lastup,2/random,1/onlinestats
silly_safe_mode 0
smtp_host
theme responsive
thumb_method gd2
==========================
Plugins
------------------
Name CoreSWF Upload
Enabled 1
Actions upload_form
Filters upload_options
--------------
Name File replacer
Enabled 1
Actions page_start
Filters file_data
--------------
Name Favorite Button
Enabled 1
Actions
Filters
--------------
Name Who is online?
Enabled 1
Actions plugin_install, page_start, plugin_uninstall, plugin_cleanup, plugin_configure
Filters plugin_block
--------------
Name Dupechecker
Enabled 0
Actions
Filters
--------------
Name Add Pic Download Link
Enabled 1
Actions plugin_install, plugin_uninstall
Filters file_data
--------------
Name More meta albums
Enabled 1
Actions page_start
Filters theme_thumbnails_album_types, meta_album_get_pic_pos, meta_album
--------------
Name XFeeds
Enabled 0
Actions
Filters
--------------
Name Image Preloader
Enabled 1
Actions
Filters
--------------
Name Video Thumbnailer
Enabled 0
Actions
Filters
--------------
Name Embed Code
Enabled 1
Actions plugin_install, plugin_uninstall
Filters file_info
--------------
Name Problem Solving CAPTCHA
Enabled 1
Actions captcha_contact_validate, captcha_comment_validate, captcha_ecard_validate
Filters captcha_contact_print, captcha_register_print, captcha_comment_print, captcha_ecard_print, captcha_register_validate
--------------
Name CoreSGL Upload
Enabled 1
Actions upload_form
Filters upload_options
--------------
Name Visible HookPoints
Enabled 1
Actions plugin_install, plugin_uninstall, plugin_configure
Filters
--------------
Name CoreH5A Upload
Enabled 1
Actions upload_form, plugin_install, plugin_uninstall
Filters upload_options
--------------
==========================
Server restrictions
------------------
safe_mode
safe_mode_exec_dir
safe_mode_gid
safe_mode_include_dir
sql.safe_mode
disable_functions exec,passthru,shell_exec,system
file_uploads 1
include_path .:/opt/cpanel/ea-php56/root/usr/share/pear
open_basedir
allow_url_fopen 1
max_execution_time 360
max_input_time 90
upload_max_filesize 100M
post_max_size 100M
memory_limit 360M
suhosin.post.max_vars
suhosin.request.max_vars
==========================
Page (performance)
------------------
Parameter Current Peak
Memory usage 5.22 MiB 5.94 MiB
Page generation 46.44 ms 46.44 ms
Page query time 2.57 ms 2.57 ms
Page query count 20 20
==========================
please help me :( I can't upload pictures to my site :'(
Uninstall 'dupechecker'
Quote from: ron4mac on September 29, 2020, 10:15:40 PM
Uninstall 'dupechecker'
Uninstalled and nothing happened :(
Quote from: screamqueen on October 03, 2020, 03:28:45 AM
Uninstalled and nothing happened :(
Enable
dupechecker first ... then uninstall it.
Quote from: ron4mac on October 03, 2020, 12:55:02 PM
Enable dupechecker first ... then uninstall it.
I did...
Replace the codebase.php file for the dupechecker plugin with the one attached here.
Install the dupechecker plugin ... then uninstall it.
That should correct your uploading issue.
Quote from: ron4mac on October 05, 2020, 02:01:54 PM
Replace the codebase.php file for the dupechecker plugin with the one attached here.
Install the dupechecker plugin ... then uninstall it.
That should correct your uploading issue.
I tried to install but get this error:
While executing query 'INSERT INTO cpg15x_plugins (name, path, priority) VALUES ('', 'dupechecker', 20)' in include/plugin_api.inc.php on line 460
database error: 1062 : Duplicate entry '' for key 'name'
File: /home/xtinadaily/public_html/include/functions.inc.php - Line: 250
It seems things are messed up involving dupechecker. If you place the attached file (as filemanager.php) in your site root, I will see if I can fix things for you.
Quote from: ron4mac on October 06, 2020, 12:27:51 AM
It seems things are messed up involving dupechecker. If you place the attached file (as filemanager.php) in your site root, I will see if I can fix things for you.
Check ur PM
Resolved your dupechecker/upload issue and cleaned up a few other things at your site.
Quote from: ron4mac on October 06, 2020, 02:05:55 PM
Resolved your dupechecker/upload issue and cleaned up a few other things at your site.
Thank you for taking your time and helping me. It's not enough to just say thank you. You made my day.