Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media Manager finds 0 files #6

Open
ikwyl6 opened this issue Nov 30, 2013 · 0 comments
Open

Media Manager finds 0 files #6

ikwyl6 opened this issue Nov 30, 2013 · 0 comments

Comments

@ikwyl6
Copy link

ikwyl6 commented Nov 30, 2013

I'm trying to add a media library and it never finds any media (mp3).

I've changed all permissions in my media directory to be owned by the web server (http) but it never finds any mp3s. Reviewing my lighttp error.log from the time I choose "Media Manager" from the drop down, click "Add MEdia Directory", Browse, typing in directory (sorrect spelling checked) and then "Import Directory":

2013-11-30 08:08:01: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Notice:  Undefined index: jz_path in /srv/http/jinzora-3.0/popup.php on line 31
2013-11-30 08:08:02: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Notice:  Use of undefined constant jz_font_size - assumed 'jz_font_size' in /srv/http/jinzora-3.0/style/css.php on line 3
2013-11-30 08:08:21: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Notice:  Undefined index: jz_path in /srv/http/jinzora-3.0/popup.php on line 31
2013-11-30 08:08:21: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Notice:  Use of undefined constant jz_font_size - assumed 'jz_font_size' in /srv/http/jinzora-3.0/style/css.php on line 3
2013-11-30 08:08:37: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Notice:  Undefined index: jz_path in /srv/http/jinzora-3.0/popup.php on line 31
2013-11-30 08:08:37: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Warning:  is_dir(): open_basedir restriction in effect. File(/mnt/seagate_500) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/) in /srv/http/jinzora-3.0/popups/mediamanager.php on line 52
2013-11-30 08:08:37: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Warning:  is_dir(): open_basedir restriction in effect. File(/mnt/seagate_500) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/) in /srv/http/jinzora-3.0/popups/mediamanager.php on line 98
2013-11-30 08:08:37: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Notice:  Undefined variable: artString in /srv/http/jinzora-3.0/backend/primitives/database/media.php on line 641
2013-11-30 08:08:37: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Notice:  Undefined variable: artString in /srv/http/jinzora-3.0/backend/primitives/database/media.php on line 641
2013-11-30 08:08:37: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Notice:  Use of undefined constant jz_font_size - assumed 'jz_font_size' in /srv/http/jinzora-3.0/style/css.php on line 3
2013-11-30 08:08:38: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Warning:  file_exists(): open_basedir restriction in effect. File(/srv/http/jinzora-3.0/../../mainfile.php) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/) in /srv/http/jinzora-3.0/index.php on line 70
2013-11-30 08:08:38: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Warning:  file_exists(): open_basedir restriction in effect. File(/srv/http/jinzora-3.0/../../class2.php) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/) in /srv/http/jinzora-3.0/index.php on line 76

I understand this is a php open_basedir restriction, but this should be addressed in your code when doing the initial install when scanning for media.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant