LinHES Forums
http://forum.linhes.org/

MythWeb Video issue - SOLVED
http://forum.linhes.org/viewtopic.php?f=22&t=20747
Page 1 of 1

Author:  vtdstein95 [ Thu Jan 07, 2010 10:31 am ]
Post subject:  MythWeb Video issue - SOLVED

I am having a problem with MythWeb video after ugrading from R5.5 to 6.

When I click on video I get the following:
Code:
Error at /data/srv/httpd/htdocs/mythweb/modules/video/handler.php, line 67:
file_exists() [function.file-exists]: open_basedir restriction in effect. File(data/video_covers) is not within the allowed path(s): (/data/srv/httpd/htdocs/:/home/:/tmp/:/usr/share/pear/:/data/srv/tmp:/usr/share/mythtv/mythweather/scripts/:/data/srv/httpd/htdocs/mythweb/data/video:/data/srv/httpd/htdocs/mythweb:/myth/ipodfeed:/data/srv/httpd/htdocs/archive:/etc)


Error

Could not create a symlink to /myth/video/.covers, the local MythVideo artwork directory for this hostname (tv). Please create a symlink to your MythVideo directory at data/video_covers in order to use the video artwork portions of MythWeb.


I have made sure the link is present. Also removed the link to see if it would make it automatically, no luck. I have moved the movie posters into default directories (the above errors are using the 'default' directories rather than the /myth/movie_posters that I have used until now, still no luck.

Code:
$ ls -al /data/srv/httpd/htdocs/mythweb/data/
total 152
drwxrwxr-x  5 http users   4096 2010-01-07 09:35 .
drwxr-xr-x 10 http users   4096 2009-07-31 02:34 ..
-rw-r--r--  1 http users    180 2009-07-31 02:34 .htaccess
drwxr-xr-x  6 http users   4096 2009-07-31 02:34 .svn
drwxr-xr-x  2 http http  131072 2010-01-07 11:07 cache
drwxr-xr-x  2 http http    4096 2009-12-28 21:01 tv_icons
lrwxrwxrwx  1 root root      11 2010-01-07 11:07 video -> /myth/video
lrwxrwxrwx  1 http http      19 2010-01-07 11:07 video_covers -> /myth/video/.covers


This issue appears similar to:
http://mysettopbox.tv/phpBB2/viewtopic.php?t=19373&highlight=create+symlink+myth+video
and
[url]http://linhes.org/flyspray/index.php?do=details&task_id=166&opened=8&status[0]=[/url]
which are resolved.

Any suggestions appreciated.

Author:  bigB [ Thu Jan 07, 2010 3:23 pm ]
Post subject: 

Hi,
Those are php permission issues. They can be changed in /etc/php/php.conf, uunder the base_path section. For reference, r5.5 had this commented out.

Hope this helps.
Bigb

Author:  vtdstein95 [ Fri Jan 08, 2010 8:02 pm ]
Post subject: 

Thanks bigB. Minor correction, it's /etc/php/php.ini and the line is 'open_basedir'. I had added to this to see if it would fix my problem before, didn't think to comment it out. That did it...after a 'sudo sv restart lighttpd' MythWeb Video is working like a champ.

Thanks again!

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/