باسلام و درود خدمت شما کاربران و بازدید کننده گان گرامی سایت پی سی وب :
خوب امروز با یک خطای عجیب و غریب توی whmcs مواجه شدم ، گفتم ، بزارم در انجمن که اگر برای کس دیگه ای هم رخ داد بتونه برطرفش کنه
مشکل از این قرار هست :
که ما میخواستیم وارد صفحه مدیریت whmcs بشیم و خطای 404 دریافت می کردیم :
404 - Page Not Found
Sorry, but the page you are looking for could not be found.
خوب برای رفع این خطا این کارها رو انجام دهید :
1) محتویات فایل .htaccess رو دوباره آپلودکنید :
و همچنین کد اچ تی تی اکسس به این صورت هست :
کد:
### BEGIN - WHMCS managed rules - DO NOT EDIT BETWEEN WHMCS MARKERS ###
<IfModule mod_rewrite.c>
RewriteEngine on
# RewriteBase is set to "/" so rules do not need updating if the
# installation directory is relocated. It is imperative that
# there is also a RewriteCond rule later that can effectively get
# the actual value by comparison against the request URI.
#
# If there are _any_ other RewriteBase directives in this file,
# the last entry will take precedence!
RewriteBase /
# Redirect directories to an address with slash
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+[^/])$ $1/ [R]
# Send all remaining (routable paths) through index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Determine and use the actual base
RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$
RewriteRule ^.*$ %2index.php [QSA,L]
</IfModule>
### END - WHMCS managed rules - DO NOT EDIT BETWEEN WHMCS MARKERS ###
به این صورت تغییرش بدهید :
کد:
RewriteEngine on
# RewriteBase is set to "/" so rules do not need updating if the
# installation directory is relocated. It is imperative that
# there is also a RewriteCond rule later that can effectively get
# the actual value by comparison against the request URI.
#
# If there are _any_ other RewriteBase directives in this file,
# the last entry will take precedence!
RewriteBase /
# Redirect directories to an address with slash
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+[^/])$ $1/ [R]
# Send all remaining (routable paths) through index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Determine and use the actual base
RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$
RewriteRule ^.*$ %2index.php [QSA,L]
داخل کد ها من <IfModule mod_rewrite.c> و </IfModule> رو در کد دوم حذف کردم
مورد بعدی :
تنظیمات ادمین رو به حالت اول برگردونید :
اگر password protection گذاشتید ، حذف کنید
اگر اسم دایرکتوری رو تغییر دادید به حالت اول برگردونید و مجدد تست کنید
در یکی از راه حل های فوق مشکل شما برطرف خواهد شد
موفق باشید