Tvel / VsftpdWeb

VsftpdWeb is a simple web interface for vsftpd ftp server.
http://velkoff.net/vsftpdweb/
Other
39 stars 23 forks source link

PHP Fatal error with latest git version #2

Closed bogdanr closed 10 years ago

bogdanr commented 10 years ago

PHP Fatal error: Class 'Disk_model' not found in /var/www/html/system/core/Loader.php on line 303

Tvel commented 10 years ago

short_open_tag=On

in php.ini

I will update a version without this requirement when I have time.

Tvel commented 10 years ago

or in .htaccess

php_value short_open_tag 1

bogdanr commented 10 years ago

Thanks a lot! That did id. Now it asks for an admin password. Where do I configure it?

On Thu, Jan 9, 2014 at 3:18 PM, Tosil Velkoff notifications@github.comwrote:

or in .htaccess

php_value short_open_tag 1

— Reply to this email directly or view it on GitHubhttps://github.com/Tvel/VsftpdWeb/issues/2#issuecomment-31929627 .

Tvel commented 10 years ago

should be "admin" by default?

bogdanr commented 10 years ago

Yes, that was correct. I also found it in the database schema. Thanks

On Thu, Jan 9, 2014 at 3:23 PM, Tosil Velkoff notifications@github.comwrote:

should be "admin" by default?

— Reply to this email directly or view it on GitHubhttps://github.com/Tvel/VsftpdWeb/issues/2#issuecomment-31930030 .

SimonSimCity commented 10 years ago

@Tvel What about not using short-open-tags? I think it's worth dropping it, because your parser will may also try to parse some xml-files in various installations (maybe not in yours ...). One other reason is, that (depending on the server-configuration) your script can break. And it's quite common to have this switched off ;)

If you're interested in, here's a script that should take most of the job: http://kovshenin.com/2012/reminder-dont-use-the-short-php-open-tag/

Tvel commented 10 years ago

Yeah open tags will be removed and i have removed most of them and fixed some bugs when using different home path for the script. It is not uploaded yet because of testing and time.

SimonSimCity commented 10 years ago

Then I have the request for doing refactoring stuff bit by bit and also commit small changes - don't wait until you have a huge bulk ;)