Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1045887

    Hallo Zusammen,

    wir haben eine Webseite auf einem Server aufgebaut und wollen die Seite komplett umziehen und online stellen. Die Seite funktioniert ohne Probleme, aber nach dem Umzug auf den neuen Server
    Funktioniert so gut wie nichts mehr: Folgende Zeilen habe ich in die config.php eingefügt, damit das Backend wenigstens einigermaßen geht:

    define( 'CONCATENATE_SCRIPTS', false );
    define( 'SCRIPT_DEBUG', true );
    

    Leider kommen über 105 Fehlermeldungen:
    Uncaught ReferenceError: jQuery is not defined

    Wir kann ich das beheben. PHP Versionen sind auf beiden Servern gleich. Nur die myAdmin Version ist auf dem neuen Server älter als auf dem von dem die Seite gekommen ist.

    Hoffe Ihr könnt mir weiter helfen:

    • This topic was modified 5 years, 11 months ago by Gravhics.
    #1045949

    Hey Gravhics,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1045955

    Yes of course.
    I know the ssl Is not correct. The subdomain Is only a Test before we can use the final live Domain. But i will understand what Is wrong for the live Website.

    I need to amend also the sql links but i think the jquery Problem is the biggest Problem.

    I will also send you the login Data from the development Site. There runs the live Site well.

    Thanks in advance!

    #1045967

    Hi Gravhics,

    Please deactivate all plugins one by one to check which one is causing this issue and let us know if this solves the problem.

    Best regards,
    Victoria

    #1045970

    I have deactivate all plugins one by one. The Probleme is still there.
    Less mistakes but still not working.

    #1045975

    can it be becouse of an Problem at the server? they are two different and they have different versions of the phpmyadmin?

    Hope that you can help.

    Thanks in advance!

    #1046071

    Die Seite wird normal angezeigt wenn ich folgenden Code in die functions.php schreibe:
    Woran kann es denn liegen, dass diese Fehler beim Umzug der Webseite entstehen?

    //JQuery override
    function my_scripts_method() {
    	wp_deregister_script( 'jquery' );
    	wp_register_script( 'jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js');
    	wp_enqueue_script( 'jquery' );
    	}
    	add_action('wp_enqueue_scripts', 'my_scripts_method');
    

    Es muss an jquery liegen. Allerdings wird Enfold nicht richtig geladen im Backend und es werden keine Icons angezeigt und man kann auch unter den Einstellungen von Enfold nichts sehen. Diese Fehlermeldungen sind im Backend zu sehen:

    Uncaught SyntaxError: Invalid or unexpected token
    jquery-migrate.js:752 Uncaught ReferenceError: jQuery is not defined
    at jquery-migrate.js:752
    import-export-page.js:272 Uncaught ReferenceError: jQuery is not defined
    at import-export-page.js:272
    mediaelement-migrate.js:84 Uncaught ReferenceError: jQuery is not defined
    at mediaelement-migrate.js:84
    avia_dynamic_templates.js:14 Uncaught ReferenceError: jQuery is not defined
    at avia_dynamic_templates.js:14
    avia_media_wp35.js:344 Uncaught ReferenceError: jQuery is not defined
    at avia_media_wp35.js:344
    avia_advanced_form_elements.js:16 Uncaught ReferenceError: jQuery is not defined
    at avia_advanced_form_elements.js:16
    avia_media.js:322 Uncaught ReferenceError: jQuery is not defined
    at avia_media.js:322
    avia_sidebar.js:107 Uncaught ReferenceError: jQuery is not defined
    at avia_sidebar.js:107
    avia_colorpicker.js:12 Uncaught ReferenceError: jQuery is not defined
    at avia_colorpicker.js:12
    avia_option_pages.js:12 Uncaught ReferenceError: jQuery is not defined
    at avia_option_pages.js:12
    avia_mega_menu.js:125 Uncaught ReferenceError: jQuery is not defined
    at avia_mega_menu.js:125
    avia_edit_dynamic_templtes.js:14 Uncaught ReferenceError: jQuery is not defined
    at avia_edit_dynamic_templtes.js:14
    avia_media_advanced.js?ver=4.6:571 Uncaught ReferenceError: jQuery is not defined
    at avia_media_advanced.js?ver=4.6:571
    hoverIntent.js:115 Uncaught ReferenceError: jQuery is not defined
    at hoverIntent.js:115
    common.js:1152 Uncaught ReferenceError: jQuery is not defined
    at common.js:1152
    svg-painter.js:240 Uncaught ReferenceError: jQuery is not defined
    at svg-painter.js:240
    heartbeat.js:776 Uncaught ReferenceError: jQuery is not defined
    at heartbeat.js:776
    wp-auth-check.js:117 Uncaught ReferenceError: jQuery is not defined
    at wp-auth-check.js:117
    api-request.js:96 Uncaught ReferenceError: jQuery is not defined
    at api-request.js:96
    wp-api.js?ver=5.0.1:1140 Uncaught ReferenceError: jQuery is not defined
    at n.initialize (wp-api.js?ver=5.0.1:1140)
    at n.e.Model (backbone.min.js?ver=1.2.3:1)
    at new n (backbone.min.js?ver=1.2.3:1)
    at WP_API.wp.api.init (wp-api.js?ver=5.0.1:1516)
    at wp-api.js?ver=5.0.1:1539
    at wp-api.js?ver=5.0.1:1541
    yith-ywraq-admin.js:9 Uncaught ReferenceError: jQuery is not defined
    at yith-ywraq-admin.js:9
    thickbox.js?ver=3.1-20121105:15 Uncaught ReferenceError: jQuery is not defined
    at thickbox.js?ver=3.1-20121105:15
    media-upload.js?ver=5.0.1:69 Uncaught ReferenceError: jQuery is not defined
    at media-upload.js?ver=5.0.1:69
    core.min.js:11 Uncaught ReferenceError: jQuery is not defined
    at core.min.js:11
    at core.min.js:11
    widget.min.js:11 Uncaught ReferenceError: jQuery is not defined
    at widget.min.js:11
    at widget.min.js:11
    mouse.min.js:11 Uncaught ReferenceError: jQuery is not defined
    at mouse.min.js:11
    at mouse.min.js:11
    sortable.min.js:11 Uncaught ReferenceError: jQuery is not defined
    at sortable.min.js:11
    at sortable.min.js:11
    wp-util.js:126 Uncaught ReferenceError: jQuery is not defined
    at wp-util.js:126
    wp-backbone.js:391 Uncaught ReferenceError: jQuery is not defined
    at wp-backbone.js:391
    media-models.js:92 Uncaught ReferenceError: jQuery is not defined
    at Object.20 (media-models.js:92)
    at __webpack_require__ (media-models.js:20)
    at media-models.js:84
    at media-models.js:87
    wp-plupload.js:425 Uncaught ReferenceError: jQuery is not defined
    at wp-plupload.js:425
    wp-mediaelement.js:82 Uncaught ReferenceError: jQuery is not defined
    at wp-mediaelement.js:82
    media-views.js:92 Uncaught ReferenceError: jQuery is not defined
    at Object.<anonymous> (media-views.js:92)
    at __webpack_require__ (media-views.js:20)
    at media-views.js:84
    at media-views.js:87
    media-editor.js:1058 Uncaught ReferenceError: jQuery is not defined
    at media-editor.js:1058
    media-audiovideo.js:103 Uncaught TypeError: Cannot set property ‘mixin’ of undefined
    at Object.<anonymous> (media-audiovideo.js:103)
    at __webpack_require__ (media-audiovideo.js:20)
    at media-audiovideo.js:84
    at media-audiovideo.js:87
    mce-view.js?ver=5.0.1:816 Uncaught TypeError: Cannot read property ‘template’ of undefined
    at mce-view.js?ver=5.0.1:816
    at mce-view.js?ver=5.0.1:974
    jquery.imgareaselect.js:1232 Uncaught ReferenceError: jQuery is not defined
    at jquery.imgareaselect.js:1232
    image-edit.js:1092 Uncaught ReferenceError: jQuery is not defined
    at image-edit.js:1092

    In der wp-config.php sind noch folgende Zeilen implementiert, damit das Backend so wenigstens einigermaßen läuft:

    	define( 'CONCATENATE_SCRIPTS', false );
    define( 'SCRIPT_DEBUG', true );
    

    Wie kann ich die Probleme mit den jQuery Versionen lösen?

    Ich hoffe mir kann jemand weiter helfen.

    Vielen Dank im Voraus!

    #1046345

    Hi Gravhics,

    It can be some server configuration difference and/or https issue. Icons are not loading all over the website, so it’s not just the theme issue.

    Best regards,
    Victoria

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.