Jump to content
Дизайн и модификация Invision Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Alexander

Ошибки в diagnostics.php и class_virus_checker.php

Recommended Posts

В админки стали вылазить две ошибки, возможно они взаимосвязанны, поэтому пишу в одной теме.

 

Это вылазит при использовании "Whitespace Checker"

 

Warning: readdir(): supplied argument is not a valid Directory resource in /home/*******/data/www/******.ru/sources/action_admin/diagnostics.php on line 477

Warning: closedir(): supplied argument is not a valid Directory resource in /home/*******/data/www/******.ru/sources/action_admin/diagnostics.php on line 514

 

строка 477

 

while (false !== ($file = readdir($dh)))

 

строка 514

 

closedir($dh);

 

А это вылазит при использовании "Deep Scan"

 

Warning: opendir(/home/*******/data/www/******.ru/) [function.opendir]: failed to open dir: Permission denied in /home/*******/data/www/******.ru/sources/classes/class_virus_checker.php on line 433

Warning: readdir(): supplied argument is not a valid Directory resource in /home/*******/data/www/******.ru/sources/classes/class_virus_checker.php on line 435

 

Строка 433

 

$dh = opendir( $dir );

 

Строка 435

 

while ( false !== ( $file = readdir($dh) ) )

 

Возможно, знаете как это исправить?

Share this post


Link to post

У хостера стоит огранчение(я) на использование этих функций.

Все вопросы к нему.

Share this post


Link to post

А может что-то с самими путями...

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...