Announcement

#1 2013-02-13 10:32:01

Behrad
Member
2012-11-23
27

Problem with videos

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

 

#2 2013-02-13 13:48:27

flop25
Piwigo Team
2006-07-06
6965

Re: Problem with videos

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


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2013-02-23 11:23:31

Behrad
Member
2012-11-23
27

Re: Problem with videos

Hi after long time
Thanks flop :)
Is it any way to hide that error ? without solving the main problem !

Offline

 

#4 2013-02-23 16:35:04

flop25
Piwigo Team
2006-07-06
6965

Re: Problem with videos

$conf['show_php_errors'] = E_ERROR;
but that's not recommended


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact