Hello,
I tried to install nenv with
http://www.j2use.com/nagedit/installer.php and theFTP
method. It gets the FTP connection, it creates
directories, but fails on trying to write SQLParser.php:
Connected to connect to ftp server ftp.*****.net
Writing files and folders to www
Adding directory: www
..........................................[ ok ]
Adding directory: templates
....................................[ ok ]
Adding directory: icons
........................................[ ok ]
Adding file: SQLParser.php
.....................................[failed]
Failed: could not file. Exiting...
Also, the installer has made a recursive www inside the
www directory:
/www/templates
/www/icons
/www/www
I tried again installing through FTP with a personnal
webserver where i put the installer:
Connected to connect to ftp server
ftp.*******.netWriting files and folders to nenvAdding
directory: nenv
.........................................[ ok ]Adding
directory: templates
....................................[ ok ]Adding
directory: icons
........................................[ ok ]Adding
file: SQLParser.php
.....................................[failed]Failed:
could not file. Exiting...
Once again, nenv is created twice:
/nenv/templates
/nenv/icons
/nenv/nenv
Now i can have the httpd error_log:
# cat /var/log/httpd/error_log
client 127.0.0.1] PHP Notice: Undefined variable:
content in /var/www/html/Nag
View-NagEdit-1.0.rc3.php(1) : eval()'d code on line 54
[...]
[client 127.0.0.1] PHP Warning: ftp_chdir(): nenv: No
such file or directory in
/var/www/html/NagView-NagEdit-1.0.rc3.php(1) :
eval()'d code on line 1099, refe
rer: http://localhost/NagView-NagEdit-1.0.rc3.php
[...]
[client 127.0.0.1] PHP Warning: ftp_chdir(): nenv: No
such file or directory in
/var/www/html/NagView-NagEdit-1.0.rc3.php(1) :
eval()'d code on line 1099, refe
rer: http://localhost/NagView-NagEdit-1.0.rc3.php
Just above, the behavior of the installer is not
correct: 1st chdir() error was
normal, so he created the nenv dir, but unfortunateley,
it chdir() inside it.
Thus, on the second chdir() nenv : it does not exist
since it is just above in t
he tree.
[...]
[client 127.0.0.1] PHP Warning: ftp_delete(): DELE:
Couldn't get file status fo
r nenv/SQLParser.php in
/var/www/html/NagView-NagEdit-1.0.rc3.php(1) : eval()'dc
ode on line 1123, referer:
http://localhost/NagView-NagEdit-1.0.rc3.php
[client 127.0.0.1] PHP Warning: fopen():
php_network_getaddresses: getaddrinfofailed: Name or
service not known in
/var/www/html/NagView-NagEdit-1.0.rc3.php(1) : eval()'d
code on line 1125, referer:
http://localhost/NagView-NagEdit-1.0.rc3.php
[client 127.0.0.1] PHP Warning:
fopen(ftp://...@ftpperso.free.frnenv/SQLParser.php):
failed to open stream: Success in
/var/www/html/NagView-NagEdit-1.0.rc3.php(1) : eval()'d
code on line 1125, referer:
http://localhost/NagView-NagEdit-1.0.rc3.php
[client 127.0.0.1] PHP Warning: fwrite(): supplied
argument is not a valid stream resource in
/var/www/html/NagView-NagEdit-1.0.rc3.php(1) : eval()'d
code on line 1126, referer:
http://localhost/NagView-NagEdit-1.0.rc3.php
[client 127.0.0.1] PHP Warning: fclose(): supplied
argument is not a valid stream resource in
/var/www/html/NagView-NagEdit-1.0.rc3.php(1) : eval()'d
code on line 1127, referer:
http://localhost/NagView-NagEdit-1.0.rc3.php
So, bad args to fwrite()
If i had access to the *inflated* the source code, i
could help.
ciao
--
Ben
apache error_log for the install session