2017-07-28 57 views
1

我想將我的Wordpress網站的位置從子目錄更改爲根目錄。我做了我的文件和數據庫的備份。但我通過將我的網站移動到根目錄而犯了一個錯誤。首先,我在Filezilla中移動了該網站,之後我在wordpress中更改了網址。我正在處理一個500錯誤,所以我的託管公司建議我恢復到之前的狀態。刪除和設置目錄後Wordpress網站的JQuery錯誤

現在我的網站提供了22個jquery錯誤,我無法再調整wp-admin中的任何內容。

這是我的錯誤,我處理:

Uncaught SyntaxError: Invalid or unexpected token 
jquery-migrate.min.js:2 Uncaught ReferenceError: jQuery is not defined at query-migrate.min.js:2 
jquery.flexslider-min.js:5 Uncaught SyntaxError: Invalid or unexpected token 
jquery.mCustomScrollbar.js:43 Uncaught ReferenceError: jQuery is not defined at jquery.mCustomScrollbar.js:43 at jquery.mCustomScrollbar.js:45 
jquery.fancybox.js:2020 Uncaught ReferenceError: jQuery is not defined at jquery.fancybox.js:2020 
enter code here jquery.elevatezoom.js:1790 Uncaught ReferenceError: jQuery is not defined 
     at jquery.elevatezoom.js:1790 
    jquery.dotdotdot.min.js:13 Uncaught ReferenceError: jQuery is not defined 
     at jquery.dotdotdot.min.js:13 
    jquery.gridrotator.js:756 Uncaught ReferenceError: jQuery is not defined 
     at jquery.gridrotator.js:756 
    bootstrap.min.js:6 Uncaught SyntaxError: Invalid or unexpected token 
    jquery.colorbox.js:4 Uncaught SyntaxError: Invalid or unexpected token 
    shortcodes.js:31 Uncaught ReferenceError: jQuery is not defined 
     at shortcodes.js:31 
    parallax.js:154 Uncaught ReferenceError: jQuery is not defined 
     at parallax.js:154 
    uikit.min.js:3 Uncaught Error: UIkit requires jQuery 
     at uikit.min.js:3 
     at uikit.min.js:3 
    main.js:782 Uncaught ReferenceError: jQuery is not defined 
     at main.js:782 
    (index):184 Uncaught ReferenceError: jQuery is not defined 
     at (index):184 
    scripts.js:481 Uncaught ReferenceError: jQuery is not defined 
     at scripts.js:481 
    jquery.sliderPro.js:1450 Uncaught ReferenceError: jQuery is not defined 
     at jquery.sliderPro.js:1450 
    post-favorite.js:29 Uncaught ReferenceError: jQuery is not defined 
     at post-favorite.js:29 
    datepicker.min.js:5 Uncaught SyntaxError: Invalid or unexpected token 
    js_composer_front.min.js?ver=5.1.1:1 Uncaught ReferenceError: jQuery is not defined 
     at getSizeName (js_composer_front.min.js?ver=5.1.1:1) 
     at js_composer_front.min.js?ver=5.1.1:1 
    owl.carousel.min.js:47 Uncaught ReferenceError: jQuery is not defined 
     at owl.carousel.min.js:47 
    tb.carousel.js:209 Uncaught ReferenceError: jQuery is not defined 
     at tb.carousel.js:209 

非常感謝您的幫助!

+0

它抱怨jQuery的沒有被加載。所以我最初的想法是一個緩存問題。它可能仍然在看舊的位置。 –

+0

謝謝你的迴應。我該如何解決這個問題?你是對的,我的jQuery沒有被加載,因爲我的jQuery沒有任何工作。 – Kimsalabim

+0

問題出在這個網站上:www.wienekeprinsen.nl/v2 – Kimsalabim

回答

0

好吧,我想我找到了問題。當您移動文件夾時,jquery似乎已損壞。在左下圖中是原始的jquery.1.12.4,右邊的是你的。

enter image description here

enter image description here

相關問題