رفتن به مطلب

خطا بعد از تغییر فایل wp-config.php


پست های پیشنهاد شده

سلام و عرض ادب خدمت دوستان

بنده چند وقتیه که از افزونه iThemes Security استفاده میکنم امروز میخواستم دیباک وردپرس رو فعال کنم به همین خاطر در فایل wp-config.php دست بردم بعداز این کار با خطای زیر مواجه میشم و نمیدونم برای رفعش چکار کنم
// BEGIN iThemes Security - Do not modify or remove this line // iThemes Security Config Details: 2 define( 'DISALLOW_FILE_EDIT', true ); // Disable File Editor - Security > Settings > WordPress Tweaks > File Editor define( 'FORCE_SSL_ADMIN', true ); // Redirect All HTTP Page Requests to HTTPS - Security > Settings > Secure Socket Layers (SSL) > SSL for Dashboard // END iThemes Security - Do not modify or remove this line define('WP_CACHE', true); // Added by WP Rocket /** * The base configuration for WordPress * * The wp-config.php creation script uses this file during the * installation. You don't have to use the web site, you can * copy this file to "wp-config.php" and fill in the values. * * This file contains the following configurations: * * * MySQL settings * * Secret keys * * Database table prefix * * ABSPATH * * @link https://codex.wordpress.org/Editing_wp-config.php * * @package WordPress */ // ** MySQL settings - You can get this info from your web host ** // /**
Fatal error: Uncaught Error: Call to undefined function wp() in /home/niyazero/public_html/wp-blog-header.php:16 Stack trace: #0 /home/niyazero/public_html/index.php(17): require() #1 {main} thrown in /home/niyazero/public_html/wp-blog-header.php on line 16

لینک به ارسال
در 5 ساعت قبل، 2raj گفته است :

سلام و عرض ادب خدمت دوستان

بنده چند وقتیه که از افزونه iThemes Security استفاده میکنم امروز میخواستم دیباک وردپرس رو فعال کنم به همین خاطر در فایل wp-config.php دست بردم بعداز این کار با خطای زیر مواجه میشم و نمیدونم برای رفعش چکار کنم
// BEGIN iThemes Security - Do not modify or remove this line // iThemes Security Config Details: 2 define( 'DISALLOW_FILE_EDIT', true ); // Disable File Editor - Security > Settings > WordPress Tweaks > File Editor define( 'FORCE_SSL_ADMIN', true ); // Redirect All HTTP Page Requests to HTTPS - Security > Settings > Secure Socket Layers (SSL) > SSL for Dashboard // END iThemes Security - Do not modify or remove this line define('WP_CACHE', true); // Added by WP Rocket /** * The base configuration for WordPress * * The wp-config.php creation script uses this file during the * installation. You don't have to use the web site, you can * copy this file to "wp-config.php" and fill in the values. * * This file contains the following configurations: * * * MySQL settings * * Secret keys * * Database table prefix * * ABSPATH * * @link https://codex.wordpress.org/Editing_wp-config.php * * @package WordPress */ // ** MySQL settings - You can get this info from your web host ** // /**
Fatal error: Uncaught Error: Call to undefined function wp() in /home/niyazero/public_html/wp-blog-header.php:16 Stack trace: #0 /home/niyazero/public_html/index.php(17): require() #1 {main} thrown in /home/niyazero/public_html/wp-blog-header.php on line 16

وقتت بخیر دوست من امید وارم حالت عالی باشه

چون معلوم نیست کجارو دستکاری کردین برای همین فایل wp-config.php رو مجددا داخل دیتابیستون آپلود کنید و سپس اطلاعات دیتابیستونو وارد کنین و اگرم پیشوند جدول در قالبتون  تغیر کرده بود اونو هم داخل فایل تغیر بدین

سوالی داشتید حتما بپرسید بنده پاسخگو هستم

موفق باشید

لینک به ارسال

به گفتگو بپیوندید

هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .

مهمان
ارسال پاسخ به این موضوع ...

×   شما در حال چسباندن محتوایی با قالب بندی هستید.   حذف قالب بندی

  تنها استفاده از 75 اموجی مجاز می باشد.

×   لینک شما به صورت اتوماتیک جای گذاری شد.   نمایش به صورت لینک

×   محتوای قبلی شما بازگردانی شد.   پاک کردن محتوای ویرایشگر

×   شما مستقیما نمی توانید تصویر خود را قرار دهید. یا آن را اینجا بارگذاری کنید یا از یک URL قرار دهید.

×
×
  • اضافه کردن...