• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] i have got some error

Started by star top,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

star topTopic starter

hi

i any body help me

thanks

Warning: glob() has been disabled for security reasons in /home/breakcom/public_html/lib/class.ezsql.php on line 322

Warning: Invalid argument supplied for foreach() in /home/breakcom/public_html/lib/class.ezsql.php on line 322

Warning: glob() has been disabled for security reasons in /home/breakcom/public_html/lib/class.ezsql.php on line 322

Warning: Invalid argument supplied for foreach() in /home/breakcom/public_html/lib/class.ezsql.php on line 322


  •  

PHPVibe A.

It says your server has the glob() function disabled, glob() is a file searcher in folders http://ro1.php.net/glob
I'm guessing you have this when clearing cache?

If it's permanent and hosting won't enable it , open /home/xxxx/public_html/lib/class.ezsql.php

and change
/**********************************************************************
*  DELETE phpVIBE's Cache
*/
function clean_cache() {
        $cache_dir = ABSPATH.'/cache/*';
$log = array();
        foreach (glob($cache_dir."{*.cache*}", GLOB_BRACE) as $filename)  {
        $log[] = $this->remove_file($filename);
}
return $log;
}


to

/**********************************************************************
*  DELETE phpVIBE's Cache
*/
function clean_cache() {
//nothing
}


But you won't be able to clear cache and that may give some headaches.
This is the first time in my life I see glob() disabled.

star topTopic starter

Quote from: Alexander on
It says your server has the glob() function disabled, glob() is a file searcher in folders http://ro1.php.net/glob
I'm guessing you have this when clearing cache?

If it's permanent and hosting won't enable it , open /home/xxxx/public_html/lib/class.ezsql.php

and change
/**********************************************************************
*  DELETE phpVIBE's Cache
*/
function clean_cache() {
        $cache_dir = ABSPATH.'/cache/*';
$log = array();
        foreach (glob($cache_dir."{*.cache*}", GLOB_BRACE) as $filename)  {
        $log[] = $this->remove_file($filename);
}
return $log;
}


to

/**********************************************************************
*  DELETE phpVIBE's Cache
*/
function clean_cache() {
//nothing
}


But you won't be able to clear cache and that may give some headaches.
This is the first time in my life I see glob() disabled.

thanks

i have enabled glob and chmod

  •  

 

Similar topics (7)

Important Announcement: PHPVibe Video Sharing CMS End of Life

Started by Marius P.


Replies: 1
Views: 45756

The problem of video viewing PHPVibe 5.0

Started by Nayn


Replies: 25
Views: 74100

embed video does not work on v5

Started by neospider69


Replies: 6
Views: 55894

when slecting to unpublish music mp3 - next page says unpublished video ?

Started by spirog


Replies: 2
Views: 4967

insite ads issue when selecting above/below video player location

Started by georgepanaitescu


Replies: 3
Views: 26142

Video that I've uploaded needs to have that value in admin to upload

Started by spirog


Replies: 4
Views: 9264

video,playlist,images, etc. (frontend) select all deselect all reselect all

Started by spirog


Replies: 3
Views: 8989