Hello everyone
when I go to video pages the following warning error appears on the top of page
when videojs is active :
Warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 1321 is not allowed to access /tmp owned by uid 0 in .../plugins/piwigo-videojs/include/getid3/getid3.php on line 22
and also with jplayer:
Warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 1321 is not allowed to access /tmp owned by uid 0 in .../plugins/piwigo-jplayer/include/getid3/getid3.php on line 22
any solution ?
Many Thanks
www.akayimages.com
Last edited by Behrad (2013-02-13 10:37:57)
Offline
Hello
getid3 is a third party library
It seems your hoster is in Safe Mode for Php : that's really not recommended and even deprecated by PHP itself http://www.php.net/manual/en/features.safe-mode.php
But anyway you should have searched first on the web :
Google "safe mode realpath" 1st result http://drupal.org/node/655992
So ask to your hosting provider
Offline
Hi after long time
Thanks flop :)
Is it any way to hide that error ? without solving the main problem !
Offline
$conf['show_php_errors'] = E_ERROR;
but that's not recommended
Offline