Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Ethereal_Dragon wrote:
When upgrading to the new funplug, do I just leave all of the old stuff where it is, or should i delete all of the old files, and just replace them with the new stuff?
Please see the Upgrade section of the README file.
Offline
Has any got the 'mail' function working in PHP. I'm using Fonz's latest and all else seems to be running fine.
All scripts that use the mail function give the same error - "Fatal error: Call to undefined function mail() in ....."
I'm just trying to get a safe contact/reply form on my website using "phMailer", I have tried a good few other mail scripts and all error the same.
I a PHP noobie, so can someone else check.
Offline
gartylad wrote:
All scripts that use the mail function give the same error - "Fatal error: Call to undefined function mail() in ....."
I also dont know much about php, but the manuals says (http://de2.php.net/manual/en/ref.mail.php):
For the Mail functions to be available, PHP must have access to the sendmail binary on your system during compile time.
and my build log has:
checking for sendmail... no
I think that explains it.
And there is no sendmail on the dns323, so I assume it won't work unless you manage to install sendmail, qmail, postfix, nullmailer or whatever, first.
Offline
Maybe not as easy as I was hoping.
Cheers far the quick reply Fonz.
From the PHP manual like it states:
"For the Mail functions to be available, PHP must have access to the sendmail binary on your system during compile time."
and
"There is no installation needed to use these functions; they are part of the PHP core."
Noob question:
Is the "compile time" when Fonz creates the 'php-5.2.4.tgz' file, or when I install it onto my DNS ??
I will look into sendmail, qmail, postfix and nullmailer to see what I can find out.
Offline
fonz wrote:
Ethereal_Dragon wrote:
When upgrading to the new funplug, do I just leave all of the old stuff where it is, or should i delete all of the old files, and just replace them with the new stuff?
Please see the Upgrade section of the README file.
Ugh, I need to kick myself in the nuts now.... I should have known better, and have no idea what possessed me to even ask a dumbass question like that....
In other news, I got it installed, and all is well. Thanks again Fonz!!!
Offline
EDIT: I deleted my post because shortly after, I tried a different sh lighttpd from the root directory and it worked. Before I had changed directory to the actual /../start/ folder and apparently that wasn't working.
Offline
fonz wrote:
I've compiled php with gd weeks ago: http://www.inreto.de/dns323/fun-plug/0. … -5.2.3.tgz
fonz, is the php-5.2.4.tgz on your website compiled with gd? I have updated to this version and the program I am running (PhpGedView) says GD graphic library is not installed. It also says Freetype Library, and zlib is not installed. All of these are optional. But I am unable to upload pictures to this and get a server timeout error.
Surprisingly, when I had php-with_gd-5.2.3.tgz running, it wouldn't even let me install this PhpGedView program. But with the ...5.2.4.tgz file it works great other than the photo issue. This of course is with SQLite, another thing I was unable to get running.
Thanks
Offline
I have PHP working right now but wanted to try to get vcddb working http://vcddb.konni.com/
Is this possible at all. I get the same issues as, because I cannot get GD working. I have the 5.2.3 installed with GD, but no succes.
I also saw the remark you placed:
fonz wrote:
php with gd probably depends on the libpng and libjpeg packages. Do you have installed those?
An alternative calendar might be phpicalendar (http://phpicalendar.net/) It seems to work (tried it myself some time ago), but it's slow as most php apps on the dns.
But do not know how to do that? anyhelp?
Thanks
Patrick
Offline
fonz, awesome stuff you're pulling off here - keep it up!
I'm up & running w/telnet without a hitch - good instructions.
Quick question regarding post install of funplug: can I delete the the tar file and assume all is well after the next reboot?
thx...
Offline
pwvandeursen wrote:
I have PHP working right now but wanted to try to get vcddb working http://vcddb.konni.com/
Is this possible at all. I get the same issues as, because I cannot get GD working. I have the 5.2.3 installed with GD, but no succes.
Output of the setup file gives me the following:
Procedure Status Results
Verify PHP version Success Installed v. 5.2.3
bold Verify GD libraries Failed No GD libraries installed!
bold Verify SimpleXML module Failed SimpleXML NOT enabled
bold Verify MBstring module Failed Multibyte String functions NOT enabled
Verify Session support Success Sessions enabled
Verify Remote fetch support Success Allow_url_fopen is set in php.ini
Verify File upload support Success File uploads enabled
Verify Upload folders Success All upload folders OK.
Verify Config file Success Config file is writeable
Verify Database support Success
* SQLite module loaded
What do I need to do to get these items to work in the 0.3 funplug?
Offline
pwvandeursen wrote:
Is this possible at all. I get the same issues as, because I cannot get GD working. I have the 5.2.3 installed with GD, but no succes.
pw, as you might have noticed, I'm personally not very interested in php. I'm not using it myself, nor do I have much experience with it. I think the least painful way for you is to try the Debian chroot approach. You'll get all the libs you want and a working php. Still, I doubt that you will be happy with the response times you get from the DNS323.
Offline
ok clear answer. If it doesn't really work fast enough, i'll try something else.
thanks
Patrick
Offline
the file:
funplug-0.4.tar.gz 2007-Nov-20 23:45:07 1.3M application/x-gzip
at:
http://www.inreto.de/dns323/fun-plug/0.4-test/
is missing the start scrips. only these are in there:
drwxr-xr-x tp/users 0 2007-11-20 16:39:38 start/
-rw-r--r-- tp/users 634 2007-11-20 16:39:38 start/00syslog.sh
-rwxr-xr-x tp/users 1134 2007-11-20 16:39:38 start/00telnetd.sh
-rw-r--r-- tp/users 968 2007-11-20 16:39:38 start/00timezone.sh
-rw-r--r-- tp/users 672 2007-11-20 16:39:38 start/inetd.sh
where's the best place to get the missing ones?
Offline
dtk wrote:
the file:
funplug-0.4.tar.gz 2007-Nov-20 23:45:07 1.3M application/x-gzip
at:
http://www.inreto.de/dns323/fun-plug/0.4-test/
is missing the start scrips. only these are in there:
drwxr-xr-x tp/users 0 2007-11-20 16:39:38 start/
-rw-r--r-- tp/users 634 2007-11-20 16:39:38 start/00syslog.sh
-rwxr-xr-x tp/users 1134 2007-11-20 16:39:38 start/00telnetd.sh
-rw-r--r-- tp/users 968 2007-11-20 16:39:38 start/00timezone.sh
-rw-r--r-- tp/users 672 2007-11-20 16:39:38 start/inetd.sh
where's the best place to get the missing ones?
You didn't specify which ones you were missing.
I've installed the 0.4-test release, and everything necessary was in the file.
Additional "plugins" usually come with their own startup script which you simply put in the start folder and chmod to 0755.
Offline
dtk wrote:
where's the best place to get the missing ones?
What exactly are you looking for? Addon packages are in the addons/ directory with additional programs (with their own start scripts).
Offline
Hello,
I installed funplug 0.5 but can't get it to launch mediatomb.
I tried launching through the telnet command
sh /mnt/HD_a2/ffp/start/mediatomb.sh start
but I get the message
/ffp/bin/mediatomb: Not executable"
I made the file mediatomb.sh executable to see if the fun_plug would start it at boot, but the same error is reported in the log (ffp.log)
Strangely enough, there is no /ffp/bin/mediatomb file...
As a beginner in Linux, I'm now lost and feel I may have been too daring to install this experimental version.
1) Is there a way to launch mediatomb from there?
2) How can I safely uninstall fun_plug 0.5 ? What's the command to delete the appropriate files and folders?
For info, I'm running on DNS 323 with fw 1.04.
Thanks
pakito
Last edited by pakito (2008-02-29 08:46:16)
Offline
pakito wrote:
Strangely enough, there is no /ffp/bin/mediatomb file...
/ffp/bin/mediatomb is in the mediatomb package (see packages subdirectory on the website). For mediatomb, you need
at least the libiconv, file, sqlite, zlib and expat packages. Download the package files to your dns, then open a telnet connection, cd to the download directory and run "funpkg *.tgz" to install them.
But you're right, it's still a little dangerous to use the 0.5 version. If you want to remove it, open a telnet connection and run
cd /mnt/HD_a2 rm fun_plug rm -rf ffp reboot
Offline
fonz wrote:
pakito wrote:
Strangely enough, there is no /ffp/bin/mediatomb file...
/ffp/bin/mediatomb is in the mediatomb package (see packages subdirectory on the website). For mediatomb, you need
at least the libiconv, file, sqlite, zlib and expat packages. Download the package files to your dns, then open a telnet connection, cd to the download directory and run "funpkg *.tgz" to install them.
But you're right, it's still a little dangerous to use the 0.5 version. If you want to remove it, open a telnet connection and runCode:
cd /mnt/HD_a2 rm fun_plug rm -rf ffp reboot
PS: There're two mediatomb packages. I recommend the svn version.
PPS: There's a typo in start/mediatomb.sh, you also need to install the latest ffp-scripts package.
Offline
Hi !
thanks again fonz for the work !
Can I use packages in 0.5 with fun_plug 0.4 ?
Offline
Nod wrote:
Can I use packages in 0.5 with fun_plug 0.4 ?
Short answer: No.
Longer answer: I haven't tested this, yet, but since the 0.5 funplug comes with its own libc, you can chroot to it. Furthermode, because it's using a different path prefix than the earlier funplugs, you don't really need to chroot to run programs from it So, it should be possible to install 0.5 packages without using the fun_plug script or the fun_plug.tar install tarball. Just unpack uclibc plus the libs and programs you'd like to test somewhere, create the /ffp link manually and see how it goes. If you try this, please let us know how it went.
Offline
Thanks fonz, and great job!
I saw the packages in the page, and wrongly assumed they were in the tar file.
I reverted to 0.4 for the moment, by fear of messing up something. I'll surely come back to 0.5 later, it looks great.
On a side note, and from a newbie perspective, some graphical interface would be nice to manage the packages. Would greatly limit the screw up potential for newbies who want to tweak their dns. my 2 cents.
cheers
Last edited by pakito (2008-03-01 00:18:06)
Offline
Hi all,
fonz has written a new fun_plug 0.5. Busybox works very fine. When I start lighttpd then stands there:
/ffp/sbin/lighttpd: can´t load library "libssl.so.0.9.8"
Does anyone have an idea?
Jimi Bondi
Last edited by Jimi Bondi (2008-03-01 16:58:31)
Offline