Problem with uploading pictures - by artdesigngmbh

This topic has 6 replies, 2 voices, and was last updated 8 years, 6 months ago ago by Jack Richardson

  • Avatar: artdesigngmbh
    artdesigngmbh
    Participant
    September 22, 2015 at 15:13

    I’ve a big problem! I can’t upload pictures! I get always an error message: When uploading an error has occurred. Try again later.

    What I’ve to do? All wrinting permissions are right!!!!

    Please help!!!

    My hoster gave me an information, that the WP_Widget is opsolete…

    Please, contact administrator
    for this information.
    5 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 22, 2015 at 15:26

    Hello,

    Please disable all 3rd-party plugins and check uploading after that.
    If the issue still persists please provide us with FTP credentials.

    Thank you.

    Best regards,
    Jack Richardson.

    Avatar: artdesigngmbh
    artdesigngmbh
    Participant
    September 22, 2015 at 15:42

    Hey Jack,
    this is not the reason.
    I’ve deactivated all plugins – but nothing changed!

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 22, 2015 at 16:07

    Hello,

    The problem persists even with default WordPress theme (Twenty Fifteen), so it’s not related to the theme, but to server configuration. You need ask your hosting provider to check error logs if there are any notices.

    Best regards,
    Jack Richardson.

    Avatar: artdesigngmbh
    artdesigngmbh
    Participant
    September 23, 2015 at 08:09

    Hey Jack,

    this is the notice in the error log:

    [22-Sep-2015 10:07:54 UTC] WordPress-Datenbank-Fehler Duplicate entry ‘0’ for key ‘PRIMARY’ für Abfrage INSERT INTO wp_posts (post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, post_type, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type, guid) VALUES (2, ‘2015-09-22 12:07:54’, ‘2015-09-22 10:07:54’, ”, ”, ‘all-inkl_banner_130x210’, ”, ‘inherit’, ‘attachment’, ‘open’, ‘closed’, ”, ‘all-inkl_banner_130x210’, ”, ”, ‘2015-09-22 12:07:54’, ‘2015-09-22 10:07:54’, 0, 0, ‘image/gif’, ‘http://www.moebelhaus-fruehling.de/wp-content/uploads/2015/09/all-inkl_banner_130x2103.gif’) von wp_ajax_upload_attachment, media_handle_upload, wp_insert_attachment, wp_insert_post
    [22-Sep-2015 10:13:19 UTC] PHP Notice: Die verwendete Konstruktoren-Methode für WP_Widget ist seit Version 4.3.0 veraltet! Verwende stattdessen

    __construct()

    . in /www/htdocs/w0138252/moebelhaus-fruehling.de/wp-includes/functions.php on line 3457[22-Sep-2015 10:40:21 UTC] WordPress-Datenbank-Fehler Duplicate entry ‘0’ for key ‘PRIMARY’ für Abfrage INSERT INTO wp_posts (post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, post_type, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type, guid) VALUES (2, ‘2015-09-22 12:40:21’, ‘0000-00-00 00:00:00’, ”, ”, ‘Automatisch gespeicherter Entwurf’, ”, ‘auto-draft’, ‘post’, ‘open’, ‘open’, ”, ”, ”, ”, ‘2015-09-22 12:40:21’, ‘0000-00-00 00:00:00’, 0, 0, ”, ”) von wp_dashboard, do_meta_boxes, call_user_func, wp_dashboard_quick_press, get_default_post_to_edit, wp_insert_post
    [22-Sep-2015 10:40:21 UTC] PHP Warning: Creating default object from empty value in /www/htdocs/w0138252/moebelhaus-fruehling.de/wp-admin/includes/post.php on line 631
    [22-Sep-2015 11:08:45 UTC] WordPress-Datenbank-Fehler Duplicate entry ‘0’ for key ‘PRIMARY’ für Abfrage INSERT INTO wp_posts (post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, post_type, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type, guid) VALUES (2, ‘2015-09-22 13:08:45’, ‘2015-09-22 11:08:45’, ‘http://www.moebelhaus-fruehling.de/wp-content/uploads/2015/09/Royal_Theme-v2.2.zip’, ”, ‘Royal_Theme-v2.2.zip’, ”, ‘private’, ‘attachment’, ‘open’, ‘closed’, ”, ‘royal_theme-v2-2-zip’, ”, ”, ‘2015-09-22 13:08:45’, ‘2015-09-22 11:08:45’, 0, 0, ”, ‘http://www.moebelhaus-fruehling.de/wp-content/uploads/2015/09/Royal_Theme-v2.2.zip’) von File_Upload_Upgrader->__construct, wp_insert_attachment, wp_insert_post
    [22-Sep-2015 11:12:13 UTC] WordPress-Datenbank-Fehler Duplicate entry ‘0’ for key ‘PRIMARY’ für Abfrage INSERT INTO wp_posts (post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, post_type, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type, guid) VALUES (2, ‘2015-09-22 13:12:13’, ‘2015-09-22 11:12:13’, ”, ”, ‘aktuelle_aktionen_bg’, ”, ‘inherit’, ‘attachment’, ‘open’, ‘closed’, ”, ‘aktuelle_aktionen_bg’, ”, ”, ‘2015-09-22 13:12:13’, ‘2015-09-22 11:12:13’, 0, 0, ‘image/jpeg’, ‘http://www.moebelhaus-fruehling.de/wp-content/uploads/2015/09/aktuelle_aktionen_bg6.jpg’) von wp_ajax_upload_attachment, media_handle_upload, wp_insert_attachment, wp_insert_post
    [22-Sep-2015 11:14:14 UTC] PHP Warning: require_once(/www/htdocs/w0138252/moebelhaus-fruehling.de/wp-content/themes/royal/framework/init.php): failed to open stream: No such file or directory in /www/htdocs/w0138252/moebelhaus-fruehling.de/wp-content/themes/royal/functions.php on line 5
    [22-Sep-2015 11:14:14 UTC] PHP Fatal error: require_once(): Failed opening required ‘/www/htdocs/w0138252/moebelhaus-fruehling.de/wp-content/themes/royal/framework/init.php’ (include_path=’.:/usr/share/php:..’) in /www/htdocs/w0138252/moebelhaus-fruehling.de/wp-content/themes/royal/functions.php on line 5
    [22-Sep-2015 11:15:33 UTC] PHP Warning: require_once(/www/htdocs/w0138252/moebelhaus-fruehling.de/wp-content/themes/royal/option-tree/ot-loader.php): failed to open stream: No such file or directory in /www/htdocs/w0138252/moebelhaus-fruehling.de/wp-includes/template.php on line 555
    [22-Sep-2015 11:15:33 UTC] PHP Fatal error: require_once(): Failed opening required ‘/www/htdocs/w0138252/moebelhaus-fruehling.de/wp-content/themes/royal/option-tree/ot-loader.php’ (include_path=’.:/usr/share/php:..’) in /www/htdocs/w0138252/moebelhaus-fruehling.de/wp-includes/template.php on line 555
    [22-Sep-2015 11:15:54 UTC] PHP Warning: require_once(/www/htdocs/w0138252/moebelhaus-fruehling.de/wp-content/themes/royal/option-tree/ot-loader.php): failed to open stream: No such file or directory in /www/htdocs/w0138252/moebelhaus-fruehling.de/wp-includes/template.php on line 555
    [22-Sep-2015 11:15:54 UTC] PHP Fatal error: require_once(): Failed opening required ‘/www/htdocs/w0138252/moebelhaus-fruehling.de/wp-content/themes/royal/option-tree/ot-loader.php’ (include_path=’.:/usr/share/php:..’) in /www/htdocs/w0138252/moebelhaus-fruehling.de/wp-includes/template.php on line 555
    [22-Sep-2015 11:16:41 UTC] PHP Warning: require_once(/www/htdocs/w0138252/moebelhaus-fruehling.de/wp-content/themes/royal/option-tree/ot-loader.php): failed to open stream: No such file or directory in /www/htdocs/w0138252/moebelhaus-fruehling.de/wp-includes/template.php on line 555
    [22-Sep-2015 11:16:41 UTC] PHP Fatal error: require_once(): Failed opening required ‘/www/htdocs/w0138252/moebelhaus-fruehling.de/wp-content/themes/royal/option-tree/ot-loader.php’ (include_path=’.:/usr/share/php:..’) in /www/htdocs/w0138252/moebelhaus-fruehling.de/wp-includes/template.php on line 555
    [22-Sep-2015 11:23:20 UTC] WordPress-Datenbank-Fehler Duplicate entry ‘0’ for key ‘PRIMARY’ für Abfrage INSERT INTO wp_posts (post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, post_type, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type, guid) VALUES (2, ‘2015-09-22 13:23:20’, ‘2015-09-22 11:23:20’, ”, ”, ‘fruehling-prospekt_vs’, ”, ‘inherit’, ‘attachment’, ‘open’, ‘closed’, ”, ‘fruehling-prospekt_vs’, ”, ”, ‘2015-09-22 13:23:20’, ‘2015-09-22 11:23:20’, 0, 0, ‘image/jpeg’, ‘http://www.moebelhaus-fruehling.de/wp-content/uploads/2015/09/fruehling-prospekt_vs.jpg’) von wp_ajax_upload_attachment, media_handle_upload, wp_insert_attachment, wp_insert_post
    [22-Sep-2015 14:25:05 UTC] WordPress-Datenbank-Fehler Duplicate entry ‘0’ for key ‘PRIMARY’ für Abfrage INSERT INTO wp_posts (post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, post_type, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type, guid) VALUES (2, ‘2015-09-22 16:25:05’, ‘0000-00-00 00:00:00’, ”, ”, ‘Automatisch gespeicherter Entwurf’, ”, ‘auto-draft’, ‘post’, ‘open’, ‘open’, ”, ”, ”, ”, ‘2015-09-22 16:25:05’, ‘0000-00-00 00:00:00’, 0, 0, ”, ”) von wp_dashboard, do_meta_boxes, call_user_func, wp_dashboard_quick_press, get_default_post_to_edit, wp_insert_post
    [22-Sep-2015 14:25:05 UTC] PHP Warning: Creating default object from empty value in /www/htdocs/w0138252/moebelhaus-fruehling.de/wp-admin/includes/post.php on line 631
    [22-Sep-2015 14:39:59 UTC] WordPress-Datenbank-Fehler Duplicate entry ‘0’ for key ‘PRIMARY’ für Abfrage INSERT INTO wp_posts (post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, post_type, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type, guid) VALUES (2, ‘2015-09-22 16:39:59’, ‘0000-00-00 00:00:00’, ”, ”, ‘Automatisch gespeicherter Entwurf’, ”, ‘auto-draft’, ‘post’, ‘open’, ‘open’, ”, ”, ”, ”, ‘2015-09-22 16:39:59’, ‘0000-00-00 00:00:00’, 0, 0, ”, ”) von wp_dashboard, do_meta_boxes, call_user_func, wp_dashboard_quick_press, get_default_post_to_edit, wp_insert_post
    [22-Sep-2015 14:39:59 UTC] PHP Warning: Creating default object from empty value in /www/htdocs/w0138252/moebelhaus-fruehling.de/wp-admin/includes/post.php on line 631
    [22-Sep-2015 14:40:26 UTC] WordPress-Datenbank-Fehler Duplicate entry ‘0’ for key ‘PRIMARY’ für Abfrage INSERT INTO wp_posts (post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, post_type, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type, guid) VALUES (2, ‘2015-09-22 16:40:26’, ‘2015-09-22 14:40:26’, ”, ”, ‘mueller-be_jubi-newsl-1-1’, ”, ‘inherit’, ‘attachment’, ‘open’, ‘closed’, ”, ‘mueller-be_jubi-newsl-1-1’, ”, ”, ‘2015-09-22 16:40:26’, ‘2015-09-22 14:40:26’, 0, 0, ‘image/jpeg’, ‘http://www.moebelhaus-fruehling.de/wp-content/uploads/2015/09/mueller-be_jubi-newsl-1-1.jpg’) von wp_ajax_upload_attachment, media_handle_upload, wp_insert_attachment, wp_insert_post
    [22-Sep-2015 15:00:01 UTC] WordPress-Datenbank-Fehler Duplicate entry ‘0’ for key ‘PRIMARY’ für Abfrage INSERT INTO wp_posts (post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, post_type, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type, guid) VALUES (2, ‘2015-09-22 17:00:01’, ‘0000-00-00 00:00:00’, ”, ”, ‘Automatisch gespeicherter Entwurf’, ”, ‘auto-draft’, ‘post’, ‘open’, ‘open’, ”, ”, ”, ”, ‘2015-09-22 17:00:01’, ‘0000-00-00 00:00:00’, 0, 0, ”, ”) von wp_dashboard, do_meta_boxes, call_user_func, wp_dashboard_quick_press, get_default_post_to_edit, wp_insert_post
    [22-Sep-2015 15:00:01 UTC] PHP Warning: Creating default object from empty value in /www/htdocs/w0138252/moebelhaus-fruehling.de/wp-admin/includes/post.php on line 631
    [22-Sep-2015 15:00:44 UTC] WordPress-Datenbank-Fehler Duplicate entry ‘0’ for key ‘PRIMARY’ für Abfrage INSERT INTO wp_posts (post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, post_type, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type, guid) VALUES (2, ‘2015-09-22 17:00:44’, ‘2015-09-22 15:00:44’, ”, ”, ‘cam2’, ”, ‘inherit’, ‘attachment’, ‘open’, ‘closed’, ”, ‘cam2’, ”, ”, ‘2015-09-22 17:00:44’, ‘2015-09-22 15:00:44’, 0, 0, ‘image/png’, ‘http://www.moebelhaus-fruehling.de/wp-content/uploads/2015/09/cam2.png’) von wp_ajax_upload_attachment, media_handle_upload, wp_insert_attachment, wp_insert_post
    [22-Sep-2015 15:01:43 UTC] WordPress-Datenbank-Fehler Duplicate entry ‘0’ for key ‘PRIMARY’ für Abfrage INSERT INTO wp_posts (post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, post_type, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type, guid) VALUES (2, ‘2015-09-22 17:01:43’, ‘2015-09-22 15:01:43’, ”, ”, ‘cam2’, ”, ‘inherit’, ‘attachment’, ‘open’, ‘closed’, ”, ‘cam2’, ”, ”, ‘2015-09-22 17:01:43’, ‘2015-09-22 15:01:43’, 0, 0, ‘image/png’, ‘http://www.moebelhaus-fruehling.de/wp-content/uploads/2015/09/cam21.png’) von media_handle_upload, wp_insert_attachment, wp_insert_post
    [22-Sep-2015 15:01:53 UTC] WordPress-Datenbank-Fehler Duplicate entry ‘0’ for key ‘PRIMARY’ für Abfrage INSERT INTO wp_posts (post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, post_type, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type, guid) VALUES (2, ‘2015-09-22 17:01:53’, ‘2015-09-22 15:01:53’, ”, ”, ‘cam-1’, ”, ‘inherit’, ‘attachment’, ‘open’, ‘closed’, ”, ‘cam-1’, ”, ”, ‘2015-09-22 17:01:53’, ‘2015-09-22 15:01:53’, 0, 0, ‘image/png’, ‘http://www.moebelhaus-fruehling.de/wp-content/uploads/2015/09/cam-1.png’) von wp_ajax_upload_attachment, media_handle_upload, wp_insert_attachment, wp_insert_post
    [22-Sep-2015 15:02:48 UTC] WordPress-Datenbank-Fehler Duplicate entry ‘0’ for key ‘PRIMARY’ für Abfrage INSERT INTO wp_posts (post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, post_type, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type, guid) VALUES (2, ‘2015-09-22 17:02:48’, ‘2015-09-22 15:02:48’, ”, ”, ‘cam-31’, ”, ‘inherit’, ‘attachment’, ‘open’, ‘closed’, ”, ‘cam-31’, ”, ”, ‘2015-09-22 17:02:48’, ‘2015-09-22 15:02:48’, 0, 0, ‘image/png’, ‘http://www.moebelhaus-fruehling.de/wp-content/uploads/2015/09/cam-31.png’) von wp_ajax_upload_attachment, media_handle_upload, wp_insert_attachment, wp_insert_post
    [22-Sep-2015 15:03:23 UTC] WordPress-Datenbank-Fehler Duplicate entry ‘0’ for key ‘PRIMARY’ für Abfrage INSERT INTO wp_posts (post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, post_type, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type, guid) VALUES (2, ‘2015-09-22 17:03:23’, ‘2015-09-22 15:03:23’, ”, ”, ‘cam-2’, ”, ‘inherit’, ‘attachment’, ‘open’, ‘closed’, ”, ‘cam-2’, ”, ”, ‘2015-09-22 17:03:23’, ‘2015-09-22 15:03:23’, 0, 0, ‘image/png’, ‘http://www.moebelhaus-fruehling.de/wp-content/uploads/2015/09/cam-2.png’) von wp_ajax_upload_attachment, media_handle_upload, wp_insert_attachment, wp_insert_post
    [22-Sep-2015 15:06:55 UTC] WordPress-Datenbank-Fehler Duplicate entry ‘0’ for key ‘PRIMARY’ für Abfrage INSERT INTO wp_posts (post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, post_type, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type, guid) VALUES (2, ‘2015-09-22 17:06:55’, ‘2015-09-22 15:06:55’, ”, ”, ‘cam-2’, ”, ‘inherit’, ‘attachment’, ‘open’, ‘closed’, ”, ‘cam-2’, ”, ”, ‘2015-09-22 17:06:55’, ‘2015-09-22 15:06:55’, 0, 0, ‘image/png’, ‘http://www.moebelhaus-fruehling.de/wp-content/uploads/2015/09/cam-21.png’) von wp_ajax_upload_attachment, media_handle_upload, wp_insert_attachment, wp_insert_post
    [22-Sep-2015 15:08:56 UTC] WordPress-Datenbank-Fehler Duplicate entry ‘0’ for key ‘PRIMARY’ für Abfrage INSERT INTO wp_posts (post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, post_type, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type, guid) VALUES (2, ‘2015-09-22 17:08:56’, ‘2015-09-22 15:08:56’, ”, ”, ‘cam-31’, ”, ‘inherit’, ‘attachment’, ‘open’, ‘closed’, ”, ‘cam-31’, ”, ”, ‘2015-09-22 17:08:56’, ‘2015-09-22 15:08:56’, 0, 0, ‘image/png’, ‘http://www.moebelhaus-fruehling.de/wp-content/uploads/2015/09/cam-311.png’) von wp_ajax_upload_attachment, media_handle_upload, wp_insert_attachment, wp_insert_post

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    October 7, 2015 at 10:20

    Hello,

    Sorry for a delay.
    The error “Duplicate entry ‘0’ for key ‘PRIMARY’” is related to database. You need contact your hosting provider and ask them to investigate this issue.

    Best regards,
    Jack Richardson.

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.