PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : ارور



tizparvaz
March 30th, 2012, 20:15
سلام

دوستان من یه مشکل دارم
وقتی میرم ایمیل تمپلیترو عوض کنم (میخوام ایمیلهای اوتوماتیکرو فارسی کنم) تغییراتو انجام میدم سیو که میکنم یه صفحه سفید با این ارورها میاد


Warning: strtolower() expects parameter 1 to be string, array given in /home/irwebco/public_html/portal/configuration.php on line 16

Warning: strtolower() expects parameter 1 to be string, array given in /home/irwebco/public_html/portal/configuration.php on line 16
We're sorry, but you cannot use "{php}" in a ticket submission as this is currently being used in exploit attempts. If you do have a legitimate issue, please press the back button in your browser and then change any instances of "{php}" to "(php)" so that your ticket may be submitted. Keep in mind that in the event that you're trying to exploit our system, that neither {php} nor (php) will function.
پرمیشن این فایلرو هم چک کردم 777 زدم براش اما باز درست نشد ایراد از چی میتونه باشه

VatanDC
March 30th, 2012, 20:18
تگ ها رو چک کنید ببنید درست وارد کردید

tizparvaz
March 30th, 2012, 20:57
تگ ها رو چک کنید ببنید درست وارد کردید

منظورتون تگهای خود متن ایمیل ؟
اگه اینو میگید آره الان چک کردم حتی بدون تغیر هم که سیو میزنم همین ارور میاد
در ضمن من تو قسمت کانفیگ تغیرات دادم چون همون تنظیمات امنیتی رو انجام دادم اما طبق کاری که خود hmcs گفته بود انجام دادم بعید میدونم مورد از اون باشه

---------- Post added at 07:57 PM ---------- Previous post was at 07:27 PM ----------

up
لطفا راهنمایی کنید برنامه ریزی امروزم بهم ریخت

tizparvaz
March 31st, 2012, 21:03
یه نفر نیست اینو جواب بده

---------- Post added at 08:03 PM ---------- Previous post was at 07:40 PM ----------

کسی که جواب مارو نداد خودم مشکلرو بر طرف کردم میگم تا اگر کسی برخورد حلش کنه

We're sorry, but you cannot use "{php}" in a ticket submission as this is currently being used in exploit attempts. If you do have a legitimate issue, please press the back button in your browser and then change any instances of "{php}" to "(php)" so that your ticket may be submitted. Keep in mind that in the event that you're trying to exploit our system, that neither {php} nor (php) will function.
این خط داره میگه من حق استفاده کد php تو تیکت ندارم
اما حالا چرا اینجا داره این ارورو میده نمیدونم
داخل فایل کنفیگوریشن من کدی گذاشتم که نشه php تو تیکت ارسال کرد رفتم اونو برداشتم کار فارسی کردنم که تموم شد دوباره گذاشتم مشکل حل شد

test44
October 27th, 2012, 23:53
آقا میشه فایل
کنفیگوریشن تون رو بزارید اینجا؟
چون منم همین مشکلو دارم و هر کاری میکنم درسته نمیشه

ممنون

tizparvaz
October 28th, 2012, 00:23
آقا میشه فایل
کنفیگوریشن تون رو بزارید اینجا؟
چون منم همین مشکلو دارم و هر کاری میکنم درسته نمیشه

ممنون


دسترسی ندارم الان
ما یه خط نوشته بودیم از خودمون اونو حذف کردیم حل شد

test44
October 28th, 2012, 00:27
خب پس هر وقت دسترسی پیدا کردید اون یه خط رو بدید ما هم بزاریم شاید درست شد

test44
October 28th, 2012, 16:39
یعنی هیچ کس دیگه ای نیست کمک کنه؟

8-|

majidisaloo1
February 23rd, 2014, 16:17
من به این اخطار بر خوردم راهش را میگم به کارتان میاد

به مسیر زیر بروید :
whmcs/includes/hooks/
و فایل exploitblock.php را باز بکنید و کد زیر را با :



if(!(defined('ROOTDIR') || defined('WHMCS') || defined('WHMCSDBCONNECT')))
die('Terminating script execution due to security concerns.');
if((!strstr($_SERVER['REQUEST_URI'], $customadminpath) && $customadminpath) || !$customadminpath) {
$checkvars = array('subject', 'message');
foreach($checkvars as $checkvar)
if(strpos($_REQUEST[$checkvar], '{php}') !== false)
die('We\'re sorry, but you cannot use "{php}" in a ticket submission as this is currently being used in exploit attempts. If you do have a legitimate issue, please press the back button in your browser and then change any instances of "{php}" to "(php)" so that your ticket may be submitted. Keep in mind that in the event that you\'re trying to exploit our system, that neither {php} nor (php) will function.');
}
?>

این کد عوض بکنید :


$file = pathinfo($_SERVER['SCRIPT_NAME']);
$callingScript = $file['basename'];

$checkvars = array('subject', 'message');
foreach ($checkvars AS $checkvar) if ($callingScript != 'configemailtemplates.php' && strpos($_REQUEST[$checkvar], '{php}') !== false) die("We're sorry, but you cannot use \"{php}\" in a ticket submission. If you do have a legitimate issue, please press the back button in your browser and then change any instances of \"{php}\" to \"(php)\" so that your ticket may be submitted. Keep in mind that neither {php} nor (php) will function.");
?>


با سپاس
عیسی لو

tizparvaz
February 23rd, 2014, 21:22
البته راهی که بالاتر گفتم کار میکنه