DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2011-03-03 01:58:07

noxunas
Member
Registered: 2011-03-03
Posts: 30

upgrade Ajaxplorer DNS-320

Hi everybody,

On my DNS-320, i would like to upgrade the Ajaxplorer to the last version : 3.2.1...

I have installed fun_plug 0.5, it's OK.

I think, i have to replace the original /usr/local/modules/web/ajaxplorer by the last one downloaded on the official site.

Is it correct ??


If yes, when i try to do this, i have the error : "cp: cannot create directory 'ajaxplorerI/': Operation not permitted".....
I am root and rw.


thanks...

Offline

 

#2 2011-03-03 12:58:10

noxunas
Member
Registered: 2011-03-03
Posts: 30

Re: upgrade Ajaxplorer DNS-320

no answer.... sad

Do you think, it will be ok if :

- I decompress the archive "ajaxplorer-core-3.2.1.zip" to  /ffp/www/Xplorer
- Then go http://192.168...../Xplorer

???

Last edited by noxunas (2011-03-03 12:59:56)

Offline

 

#3 2011-03-30 09:02:12

kayaroti
Member
Registered: 2011-03-30
Posts: 25

Re: upgrade Ajaxplorer DNS-320

I am also trying to install the latest ajaxplorer with little success.

I place the latest ajaxplorer in /mnt/HD_a4/ajaxplorer3.
Create a soft link in /var/www  ln -s /var/www/ajax3  /mnt/HD_a4/ajaxplorer3
I can then launch successfully from http://mydns320/ajax3.
But after launching it does not seem to work properly as it hangs every few second. 

Any expert can help ?

Offline

 

#4 2011-03-30 11:32:59

noxunas
Member
Registered: 2011-03-03
Posts: 30

Re: upgrade Ajaxplorer DNS-320

I found the solution :

Install lightttpd with PHP.
Then, put the last ajaxplorer (downloaded from the official site) to /ffp/opt/srv/www/pages/Xplorer.

And then go to http://192.168.../Xplorer.

Offline

 

#5 2011-03-30 12:17:52

kayaroti
Member
Registered: 2011-03-30
Posts: 25

Re: upgrade Ajaxplorer DNS-320

noxunas wrote:

I found the solution :

Install lightttpd with PHP.
Then, put the last ajaxplorer (downloaded from the official site) to /ffp/opt/srv/www/pages/Xplorer.

And then go to http://192.168.../Xplorer.

Can point to the instruction on Install lighthttpd with PHP ?

TIA !

Offline

 

#6 2011-03-30 12:22:25

noxunas
Member
Registered: 2011-03-03
Posts: 30

Re: upgrade Ajaxplorer DNS-320

Offline

 

#7 2011-03-30 12:43:47

kayaroti
Member
Registered: 2011-03-30
Posts: 25

Re: upgrade Ajaxplorer DNS-320

Thanks.  Don't mind I have some more question ?

Did you follow th instruction "be sure to synchronise my repository..." which points to http://nas-tweaks.net/82/installing-and … g_packages ?  This said that it will dowload 100+ MB stuff ...

Also for the lighthttpd installation instruction e.g.

funpkg -u /ffp/pkg/additional/*/lighttpd-*.tgz

do we really enter the asterisk on the command line ?

Offline

 

#8 2011-03-30 13:22:43

noxunas
Member
Registered: 2011-03-03
Posts: 30

Re: upgrade Ajaxplorer DNS-320

Yes, i followed step by step all the tuto !

Offline

 

#9 2011-03-30 13:34:58

kayaroti
Member
Registered: 2011-03-30
Posts: 25

Re: upgrade Ajaxplorer DNS-320

noxunas wrote:

Yes, i followed step by step all the tuto !

Great.   I will try it soon.  Thanks.

Btw, the original Ajaxplorer, you just leave it there or there is a way to disable it ?

Offline

 

#10 2011-03-30 18:32:17

noxunas
Member
Registered: 2011-03-03
Posts: 30

Re: upgrade Ajaxplorer DNS-320

I just leave it there...

Offline

 

#11 2011-03-30 20:11:50

kayaroti
Member
Registered: 2011-03-30
Posts: 25

Re: upgrade Ajaxplorer DNS-320

I have gotten Ajaxplorer working now by following the instructions. 
However, I have no thumbnails or videoplayer when browsing picture of movie files.
The log has an error as below

Code:

error   fatal=;warning=[Warning] GD is not enabled on this server! Unable to generate thumbnails.

How should I go about enabling GD in PHP ?

Also public sharing with password is also not available as I am still lack of mcrypt.so.

Last edited by kayaroti (2011-03-30 20:13:20)

Offline

 

#12 2011-03-31 01:01:52

noxunas
Member
Registered: 2011-03-03
Posts: 30

Re: upgrade Ajaxplorer DNS-320

For GD, i don't have this problem..your php is OK ?


For me, warnings (via runTests.php) are :

- MCrypt enabled
- PHP Session
- SSL Encryption
- Server charset encoding


Thank's for your help...

Last edited by noxunas (2011-03-31 01:10:56)

Offline

 

#13 2011-03-31 05:27:27

kayaroti
Member
Registered: 2011-03-30
Posts: 25

Re: upgrade Ajaxplorer DNS-320

Hi,

I got following error with php -v, complaing mission .so files. 
Yet the 3 .so files are found in the /ffp/lib/php/extensions/no-debug-non-zts-20060613

Anyone knows how to fix this ?

Code:

root@NAS2:/mnt/HD/HD_a2/ffp/start# php -v
PHP Warning:  PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20060613/gd.so' - File not found in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20060613/mysql.so' - File not found in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20060613/pdo_mysql.so' - File not found in Unknown on line 0
PHP 5.2.17 (cli) (built: Jan  6 2011 10:29:42)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies

Offline

 

#14 2011-03-31 14:03:34

kayaroti
Member
Registered: 2011-03-30
Posts: 25

Re: upgrade Ajaxplorer DNS-320

Hi noxunas,

Did you install ALL the packages downloaded from Fonz and Uli as in doing the below ?

cd /ffp/pkg/packages
funpkg -i *


What about the additional under /ffp/pkg/additional/*/* ?  Install all also ?

Offline

 

#15 2011-03-31 14:29:11

noxunas
Member
Registered: 2011-03-03
Posts: 30

Re: upgrade Ajaxplorer DNS-320

Hi,

don't install all packages, it's too big ; you only need to refresh the repository...


For my 4 warnings, any ideas ?

Last edited by noxunas (2011-03-31 14:31:17)

Offline

 

#16 2011-03-31 17:15:28

kayaroti
Member
Registered: 2011-03-30
Posts: 25

Re: upgrade Ajaxplorer DNS-320

No idea also. Those warning of yours look pretty ok to me.

Are you able to get public sharing working in your Ajaxplorer ?
Select File -> Share button -> set expiry date and password -> generate url

I had reinstalled from fun_plug and still having the same error...  sad

Help ..... anyone ?

Offline

 

#17 2011-04-01 12:11:56

stefanth
Member
Registered: 2010-12-14
Posts: 63

Re: upgrade Ajaxplorer DNS-320

Hi

What  do you see if you do
#ls /ffp/lib/php/extensions/no-debug-non-zts-20060613

Also, ajaxplorer needs mcrypt.so in order to create a hashed http url if you right click on an item and choose "public file" (if I recall the menu option name correctly)

See here to install support for it
http://dns323.kood.org/forum/viewtopic. … 976#p41976

Remember that you need to restart your nas or kill all processes is named '/ffp/bin/php......' before the changes takes effect.




PHP Warning:  PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20060613/gd.so' - File not found in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20060613/mysql.so' - File not found in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20060613/pdo_mysql.so' - File not found in Unknown on line 0

Means that your php tries to find these .so files according to your settings in php.ini file (/ffp/etc/php.ini), if you want to remove the warning messages
then you should comment the corresponding lines in php.ini (search for gd.so in php.ini and you find it).

These libraries are built by (comming from) php, to get full support you could donwload php and build it with full support
If you want  I can give you fairly accurate instructions on how to do it (you need to download a lot and compiling for some hour or so)

/Stefan

Last edited by stefanth (2011-04-01 12:30:31)

Offline

 

#18 2011-04-01 18:05:21

kayaroti
Member
Registered: 2011-03-30
Posts: 25

Re: upgrade Ajaxplorer DNS-320

Hi,

I had solved the 3 warnings.
For gd.so, I resolved by installing the libjpeg-6b-1.tgz and libpng-1.2.29-1.tgz in /ffp/pkg/packages directory.
For mysql.so and pdo_mysql.so, I installed the mysql following this tutorial http://nas-tweaks.net/96/installation-a … -fun_plug/  .

Now the new warning I had after untaring the mcrypt tarball is as follow

Code:

php -v
PHP Warning:  PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20060613/mcrypt.so' - File not found in Unknown on line 0

I had edited php.ini to ensure there is extension=mcrypt.so


noxunas, looks like you had mcrypt enabled in php or ajaxplorer, how did you install the mcrypt.so and enabling it ?
what is your output of php -v  ?

Last edited by kayaroti (2011-04-01 18:06:47)

Offline

 

#19 2011-04-03 00:00:30

stefanth
Member
Registered: 2010-12-14
Posts: 63

Re: upgrade Ajaxplorer DNS-320

Hi

If you do this , what does it return

Code:

 more /ffp/etc/php.ini |grep extension_dir

PS
This looks like the same problem as in
http://dns323.kood.org/forum/edit.php?id=42025


/Stefan

Last edited by stefanth (2011-04-03 00:00:42)

Offline

 

#20 2011-04-03 07:19:11

kayaroti
Member
Registered: 2011-03-30
Posts: 25

Re: upgrade Ajaxplorer DNS-320

Hi,

The result

Code:

more /ffp/etc/php.ini |grep extension_dir
extension_dir = "/ffp/lib/php/extensions/no-debug-non-zts-20060613/"

more /ffp/etc/php.ini |grep mcrypt
extension=mcrypt.so

Somehow I cannot access the link that you have just posted.

Offline

 

#21 2011-04-03 19:04:03

noxunas
Member
Registered: 2011-03-03
Posts: 30

Re: upgrade Ajaxplorer DNS-320

Hi,

On my DNS-320,
php -v :
PHP Warning:  PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20060613/mysql.so' - File not found in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/ffp/lib/php/extensions/no-debug-non-zts-20060613/pdo_mysql.so' - File not found in Unknown on line 0
PHP 5.2.17 (cli) (built: Jan  6 2011 10:29:42)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies

and "more /ffp/etc/php.ini |grep extension_dir" :
extension_dir = "/ffp/lib/php/extensions/no-debug-non-zts-20060613/"
; extension_dir directive above.

Offline

 

#22 2011-04-03 22:19:17

stefanth
Member
Registered: 2010-12-14
Posts: 63

Re: upgrade Ajaxplorer DNS-320

@kayaroti
It seems that your php.ini file is missing, this file is needed for php, it could be somewhere eles (depending how your php have been compiled)
Have you download and installed it from http://www.inreto.de/dns323/fun-plug/0. … kages/All/ ?
What happens if you enter

Code:

find /ffp/ -name "php.ini"

@noxunas
The tar file I sent you install mcrypt.so into lib/extensions/debug-non-zts-20060613
However your php installation want to find the .so files in /ffp/lib/php/extensions/no-debug-non-zts-20060613/
Enter this

Code:

cp /ffp/lib/extensions/debug-non-zts-20060613/mcrypt.so /ffp/lib/php/extensions/no-debug-non-zts-20060613/

and restart php (kill all php and php-cgi process), now you should have mcypt.so support.

/Stefan

Offline

 

#23 2011-04-04 19:44:09

kayaroti
Member
Registered: 2011-03-30
Posts: 25

Re: upgrade Ajaxplorer DNS-320

The php.ini file is not missing. It is found in /ffp/etc/php.ini.  I had tried calendar.so with a tutorial exercise and it works and when
commenting it out, it does not work.

My PHP installation is taken from Uli site following this tutorial
http://nas-tweaks.net/82/installing-and … -fun_plug/

Offline

 

#24 2011-04-04 22:29:32

stefanth
Member
Registered: 2010-12-14
Posts: 63

Re: upgrade Ajaxplorer DNS-320

@kayaroti
May I gain access to your NAS, I need ftp and ssh or atleast ssh, you can email the login info to e-mail misca@hotmail.com

/Stefan

Offline

 

#25 2011-04-04 22:41:20

noxunas
Member
Registered: 2011-03-03
Posts: 30

Re: upgrade Ajaxplorer DNS-320

The file "mcrypt.a" is missing... that's the mistake !

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB