Author Topic: مشكلة في السكربت  (Read 6786 times)

0 Members and 1 Guest are viewing this topic.

Offline zmnnn

  • Pre-Newbie
  • Posts: 8
    • View Profile
مشكلة في السكربت
« on: November 12, 2008, 12:22:24 AM »
صباح الخير

امممم

قبل شوي لما حاولت افتح الموقع  ماقدرت افتحه  ويطلع لي

Template Error: Couldn't open Template ./templates/default/media/php.html

ومدري وشو الحل

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: مشكلة في السكربت
« Reply #1 on: November 12, 2008, 10:47:03 AM »
hello zmnnn and welcome to the 4images forum,

i will reply in english.

you are beiing hacked..

i your Administrator Control Panel, search for images with extensions .php and delete them..
possible: at "Valid file extensions" remove php as extension...

afterward update your gallery to our current 1.7.6 version ASAP.
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

SnaFy

  • Guest
Re: مشكلة في السكربت
« Reply #2 on: November 12, 2008, 02:22:07 PM »
ادخل على ملف
includes/upload_definitions.php
ابحث عن
Code: [Select]
$mime_type_match['php'] = arrayاحذف هذا السطر بالكامل
وعطني خبر

SnaFy

  • Guest
Re: مشكلة في السكربت
« Reply #3 on: November 12, 2008, 02:27:32 PM »
على كلام Nicky
يحاولون يخترقون موقعك
في لوحة التحكم ادخل على الصفحة التالية
http://yoursite/4images/admin/images.php?action=modifyimages
اكتب في حقل
اسم الملف يحتوي على
 .php
واحذف الملف

وانا راح احاول اجيب لك الامتدادت الممنوعة دقيقة بس

SnaFy

  • Guest
Re: مشكلة في السكربت
« Reply #4 on: November 12, 2008, 02:34:23 PM »
اخوي ضيف هذا الامر في ملف htaccess
Code: [Select]
<Files ~ "\.(php*|s?p?x?i?html|cgi|asp|php3|php4|pl|htm|sql)$">
  deny from all
</Files>
php_flag engine off 

thank you nicky  :mrgreen: