Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Pages: 1 2
Erostiff,
are there any advantages with openshowcenter compared to Oxyl?
I'm having some trouble finding a good feature description or screenshots of openshowcenter.
Cheers,
Emacs
Offline
Will test it in the days to come, but it seems as responsive as oxyl.
Downloaded openshowcenter, extracted the files into /mnt/HD_a2/www/openshowcenter, pointed lighttpd.conf in that direction and configured some openshowcenter settings (explained in INSTALLATION file):
in /mnt/HD_a2/www/openshowcenter, i made a dir: media
in media, made dir movie, music and photo
make symbolic links from your media-archives
e.g.: ln -s /mnt/HD_a2/SERIES ./media/movie
ln -s /mnt/HD_a2/MUSIC ./media/music
set all config.ini files in the modules subdir to rwxrwxrwx
chmod 777 ./modules/movie/config.ini
chmod 777 ./modules/music/config.ini
chmod 777 ./modules/photo/config.ini
chmod 777 ./modules/streamcast/config.ini
booted the showcenter and that was it (same settings as oxyl, so same ip and port)
now i can switch between showcenter and oxyl, just by changing 1 line in the lighttpd.conf file
Offline
Hi there!
1. I was following your installation instruction and got Oxyl run on my new DNS-323 and SC200 with no problems, so thanks all of you for that, great job!!!
2. I found a small mistake in the functions.inc, that is casuing the error (Fatal error: Call to undefined function utf8_decode() in /mnt/HD_a2/www/oxyl/common/functions.inc ) described here, so I think I share this with you and with others googling for that just as I did:
In the functions.inc for me line 717 (but others can have different functions.inc) the function is called utf8_encode, but the function utf8_decode is meant (and is defined later: //|FUNKTION: OXYL_UTF8_DECODE) . This is a mistake, you don't need to encode anythink to resolve filenames, so just change the function call from utf8_encode to utf8_decode and it will work also for files and folders with special caracters.
Here is the correct section:
//wenn unbekannter Webserver
{
if( remote_file_exists(SpecialCharReplace($thefile)) ) //prüfen ob webkompatible Zeichen genügen
return SpecialCharReplace($thefile);
elseif ( remote_file_exists(SpecialCharReplace(utf8_decode($thefile))) ) //oder ob UTF8 verwendet werden muss, CHANGED to utf8_decode!!!
return SpecialCharReplace(utf8_decode($thefile)); //CHANGED to utf8_decode
}
Here is the original from this thread (file.tar - functions.inc)
//wenn unbekannter Webserver
{
if( remote_file_exists(SpecialCharReplace($thefile)) ) //prüfen ob webkompatible Zeichen genügen
return SpecialCharReplace($thefile);
elseif ( remote_file_exists(SpecialCharReplace(utf8_encode($thefile))) ) //oder ob UTF8 verwendet werden muss, UNDEFINED FUNCTION is called!!! utf8_decode was meant!!!
return SpecialCharReplace(utf8_encode($thefile)); //UNDEFINED FUNCTION is called!!! utf8_decode was meant!!!
}
Emacs wrote:
erostiff wrote:
Fatal error: Call to undefined function utf8_decode() in /mnt/HD_a2/www/oxyl/common/functions.inc on line 745
i'm also @ work now, so i can't test it with the showcenter, but i'm guessing something is still wrong...
any ideas?Yes, I remember that one - vaguely ;-)
There are two functions in the Oxyl "functions.inc". One is "utf8_decode()" and on is "utf8_encode()".
If I'm not mistaken the content of both functions needed to be removed (or commented out).
Found something on the net: add the following lines to the functions.incCode:
function utf8_decode($text) { return $text; } function utf8_encode($text) { return $text; }This is basically creating dummy functions for utf8 encoding which do essentially nothing but returning the unconverted string.
Cheers,
Emacs
Last edited by toni (2007-08-27 00:58:02)
Offline
hello
thanks for the info, i tried setting this up and im getting the error
Fatal error: Call to undefined function oxyl_decode() in /mnt/HD_a2/www/pages/oxyl/plugins/oxyl_file/oxyl_file_main.php on line 107
the happens on all pages other then setup, any suggestions?
cheers
Max
Offline
You sure it#s not utf8_decode() - see post above for that one!
Cheers,
Emacs
Offline
I had the utf8_decode error and i updated the file as stated bellow, now i get the error.
Can anyone tell me where the function is in there setup, maybe i am missing a file (some how)?
also do u have the call in the file bellow to the function?
this is a copy and paste of the error
Fatal error: Call to undefined function oxyl_decode() in /mnt/HD_a2/www/pages/oxyl/plugins/oxyl_file/oxyl_file_main.php on line 107
cheers
Max
Offline
Hi!
First you should check, what you have in line 107 (open it with vi, and go to that specific line, unfortunately I don't have access to the DNS at the moment). Based on the line number the error happens far earlier than we have utf8 functions defined.
Toni
hwazlewood wrote:
I had the utf8_decode error and i updated the file as stated bellow, now i get the error.
Can anyone tell me where the function is in there setup, maybe i am missing a file (some how)?
also do u have the call in the file bellow to the function?
this is a copy and paste of the error
Fatal error: Call to undefined function oxyl_decode() in /mnt/HD_a2/www/pages/oxyl/plugins/oxyl_file/oxyl_file_main.php on line 107
cheers
Max
Offline
Toni, thanks for the reply.
Actually i was getting the utf8_decode error first, i fixed that (with comments pasted here) and then i started getting this. So even though i might be happening earlier in the file it is later in the process flow.
I did check the line number before, but i forget what it said now, will look again when i get home.
cheers
Max
toni wrote:
First you should check, what you have in line 107 (open it with vi, and go to that specific line, unfortunately I don't have access to the DNS at the moment). Based on the line number the error happens far earlier than we have utf8 functions defined.
Tonihwazlewood wrote:
I had the utf8_decode error and i updated the file as stated bellow, now i get the error.
Can anyone tell me where the function is in there setup, maybe i am missing a file (some how)?
also do u have the call in the file bellow to the function?
this is a copy and paste of the error
Fatal error: Call to undefined function oxyl_decode() in /mnt/HD_a2/www/pages/oxyl/plugins/oxyl_file/oxyl_file_main.php on line 107
cheers
Max
Offline
Hi,
during the holidays I wanted to install OXYL on my DNS but I have problem with lighttp "config file" and the "functions.inc" can anybody send me an example.
Thanks
Offline
Hi All,
first at all, big thanks to Emacs!! :-)
The download-link of "files.tar" is corrupt, can you fix it or can you post a new download?
(from the post of 2007-08-16 18:16:35)
Thx
Merlin
(I use Oxylbox since 2.0)
Offline
Hi Herbert, Merlin,
yep, the old file seems to be lost. Attached to this post is a new one.
Cheers and a happy new year,
Emacs
Offline
Hi,
thanks for the files. To be honest my expirience with this things is very low so I have still problems. I cannot acess the WEB-server. When adding the line
ln -s /mnt/HD_a2/fun_plug.d/lib/libformat.so /mnt/
HD_a2/www/oxyl/bin/libformat.so
I get:
ln: /mnt/HD_a2/www/oxyl/bin/libformat.so: File exists
Is this good or bad?
I do also not get the log message in \fun_plug.d\log - there is also no www-directory. I have attatched the LOG-messages I found - it looks like lighttp is started.
In lighttpd.conf I have changed only the IP adress
I have nothing changed in the functions INC
I have also added the PHP-add on.
Many Thanks for your help and
a HAPPY NEW YEAR too.
Last edited by HerbertH (2007-12-27 12:29:06)
Offline
HerbertH wrote:
Hi,
thanks for the files. To be honest my expirience with this things is very low so I have still problems. I cannot acess the WEB-server. When adding the line
ln -s /mnt/HD_a2/fun_plug.d/lib/libformat.so /mnt/
HD_a2/www/oxyl/bin/libformat.so
I get:
ln: /mnt/HD_a2/www/oxyl/bin/libformat.so: File exists
Is this good or bad?
Hi HerbertH,
it seems you have already created this file earlier or it got created. Just remove the file and remake the link or force the link to be made with ln -sf instead of ln -s
Happy New Year...
Last edited by erostiff (2007-12-28 00:21:06)
Offline
Thanks erostiff,
with option -sf there is no error displayed but the WEB-server is still not starting and I can only see the libformat.so in the oxyl/bin directory. There is nothing in fun_plug.d/lib.
The log looks ok ( lighttpd is started ) but there is still no www directory in "logs".
any ideas what I am doing wrong?
Thanks again!
Offline
Hi,
many thanks to all - looks like it is working now! I created the WWW directory in LOG´s by myself - and suddenly it was working! By some reason I thought the this directory will be created automatically.
greetings
Offline
Hello @all,
I used this manual (http://dns323.kood.org/howto:php:oxyl?s=oxyl) and all runs fine...
...but there is still one small problem: nconvert does not run!
/mnt/HD_a2/www/oxyl/bin/nconvert line 1: syntax error: "(" unexpected
Somebody an idea?
Kind Regards
Hurri
Offline
First, sorry for push up...
Second, somebody an idea?
Offline
Nconvert has never been ported to the DNS.
Picture resizing is way too CPU intense for the small box anyway.
Let go of any thought of using the DNS for picture scaling ;-)
Cheers,
Emacs
Offline
Hi,
I try to put Oxyl on a DNS-313 (NOT on the DNS-323, there is everything fine), has anypody tried it? My problem is that lighttpd is not starting (I start it, but it is not running, not even creating a log file or anything). Is there anything I need to know to get this running on the DNS-313?
Tóni
Offline
hi
Does anyone have the attachment that emacs had on installing this called files.tar, i have tried unsuccessfuly to get this to working but need these files, please pm or email them to me
thanks
saturn
Offline
Hi all,
I´ve follow all the instruction posted and the Oxyl Server is working, i can browse all the media files (.mp3, .avi, etc...), bu i can execute them, nor in my Showcenter nor in the browser.
I´ve look at the error-log file and i get a "File not found" error.
The strange thing is the directory that the log says the file suppose to be : /mnt/HD_a2/www/oxyl/root/mnt/HD_a2/Stuff/Media/Musica/<file>.
This directory don´t exist, i´ve checked the "tutorial" and no mentions of this directory were told to create.
Small extract of the log...
2008-12-08 14:49:08: (response.c.530) -- file not found
2008-12-08 14:49:08: (response.c.531) Path : /mnt/HD_a2/www/oxyl/root/mnt/HD_a2/Stuff/Media/Musica/Ani Di
Franco/Red Letter Year (2008)/06-ani_difranco-emancipated_minor.mp3
Can anyone help me with this error?
cheers
Offline
Hi,
Still no answers to my question, no one have this kind of issue??
cheers
Offline
Pages: 1 2