vseti1994 Posted December 11, 2019 Report Share Posted December 11, 2019 Strict Standards: Only variables should be passed by reference in /var/www/user83386/data/www/vceti.ru/system/inc/tpl.php on line 30 //################### Загрузка TPL файла ###################// case "loadTpl": $temp = strip_data($_POST['temp']); $file_include = $_POST['tpl']; $file_include = str_replace(array('..', '...', '/../', '//', './', '\..', '\.'), '', $file_include); $temp_dir = ROOT_DIR.'/templates/'.$temp; $content = @file_get_contents($temp_dir.'/'.$file_include); $format_file = strtolower(end(explode('.', $file))); тут ошыбка if(is_writable($temp_dir.'/'.$file_include) && in_array($format_file, $allowed_extensions) && file_exists($temp_dir.'/'.$file_include)) echo $content; else echo 'Файл шаблона не найден'; die(); break; Quote Link to comment Share on other sites More sharing options...
KirKMS Posted December 11, 2019 Report Share Posted December 11, 2019 Дословно переводится как Строгие стандарты: только переменные должны передаваться по ссылке в /var/www/user83386/data/www/vceti.ru/system/inc/tpl.php в строке 30 Quote Link to comment Share on other sites More sharing options...
KirKMS Posted December 11, 2019 Report Share Posted December 11, 2019 Попробуй использовать mb_strtolower Quote Link to comment Share on other sites More sharing options...
vseti1994 Posted December 11, 2019 Author Report Share Posted December 11, 2019 1 час назад, Kir KMS сказал: Попробуй использовать mb_strtolower тож самае Quote Link to comment Share on other sites More sharing options...
Klaus Posted December 11, 2019 Report Share Posted December 11, 2019 А вот это уже интереснее... 28 минут назад, vseti1994 сказал: тож самае Quote Link to comment Share on other sites More sharing options...
00vlad Posted December 11, 2019 Report Share Posted December 11, 2019 ЭТО ФИГНЯ Вот держи код php_flag display_errors off поставь его в файл .htaccess - ниже кода RewriteEngine On Quote Link to comment Share on other sites More sharing options...
timbios Posted December 11, 2019 Report Share Posted December 11, 2019 42 минуты назад, 00vlad сказал: ЭТО ФИГНЯ Вот держи код php_flag display_errors off поставь его в файл .htaccess - ниже кода RewriteEngine On Тут должна ещё быть надпись "Как тебе такое Илон Маск?" 1 Quote Link to comment Share on other sites More sharing options...
Klaus Posted December 11, 2019 Report Share Posted December 11, 2019 Решить проблему? -нет! Скрыть проблему? -да! Как тебе такое Илона Маск? 1 Quote Link to comment Share on other sites More sharing options...
00vlad Posted December 11, 2019 Report Share Posted December 11, 2019 4 минуты назад, Stark98 сказал: Решить проблему? -нет! Скрыть проблему? -да! Как тебе такое Илона Маск? что не исправелось Quote Link to comment Share on other sites More sharing options...
00vlad Posted December 11, 2019 Report Share Posted December 11, 2019 Только что, 00vlad сказал: что не исправилось Quote Link to comment Share on other sites More sharing options...
Klaus Posted December 11, 2019 Report Share Posted December 11, 2019 20 минут назад, 00vlad сказал: что не исправелось Таким образом скрывают ошибки) Quote Link to comment Share on other sites More sharing options...
00vlad Posted December 11, 2019 Report Share Posted December 11, 2019 1 минуту назад, Stark98 сказал: Таким образом скрывают ошибки) так это норм Quote Link to comment Share on other sites More sharing options...
Klaus Posted December 11, 2019 Report Share Posted December 11, 2019 1 минуту назад, 00vlad сказал: так это норм Скрываются ещё и другие ошибки и хрен потом пойми, а что же не так) Но, как временное решение пойдет. Quote Link to comment Share on other sites More sharing options...
00vlad Posted December 11, 2019 Report Share Posted December 11, 2019 1 минуту назад, Stark98 сказал: Скрываются ещё и другие ошибки и хрен потом пойми, а что же не так) Но, как временное решение пойдет. ну ок чё больше не буду тут никому ничего по сказывать по сколько из-за php5.6 не работает поменяешь 5.2 всё за работает Quote Link to comment Share on other sites More sharing options...
Klaus Posted December 11, 2019 Report Share Posted December 11, 2019 Только что, 00vlad сказал: ну ок чё больше не буду тут никому ничего по сказывать по сколько из-за php5.6 не работает поменяешь 5.2 всё за работает А что обижаться, то сразу и Downvote я просто сказал, что нужно будет потом что-то другое искать, это его дело. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.