Ticket #154 (closed defect: fixed)

Opened 3 months ago

Last modified 2 months ago

Errors in the admin plugin (admin_installer, makelos)

Reported by: bjmg Assigned to:
Priority: critical Milestone: 0.9
Component: Plugins Keywords:
Cc:

Description

I found (at least) 2 bugs in the admin plugin you wrote.

The first bug is in app/vendor/plugins/admin/installer/admin_installer.php. The problem there is that it only asks for email and password. But you changed the system to use login, email and password (OpenID extension). Therefore the installer has to roll back because login is not filled in the next steps of the installation process.

The second bug is in app/vendor/plugins/admin/makelos. Ok - there are two bugs... ;-) The first bug is easy: the help method uses Pake instead of Makelos in get_class_methods. The second bug is a bit more complicated and I don't know how to solve it by myself. The problem there is that I get the following output if I call "./makelos install": ALERT - Include filename ('/home/bjmg/work/akelos/vendor/adodb/drivers/adodb-://:@localhost/.inc.php') is an URL that is not allowed (attacker 'REMOTE_ADDR not set', file '/home/bjmg/work/akelos/vendor/adodb/adodb.inc.php', line 3617) As you can see there is something wrong with the database settings. But the database settings are correct. I use a MySQL database and the rest of the project is able to connect to it.

Priority set to critical as the plugin is not usable without fixing the installer bug.

Change History

05/29/08 13:11:53 changed by bermi

  • status changed from new to closed.
  • resolution set to fixed.

Fixed on [644]

Now you can either user the

./script/plugin install admin

command or checkout the plugin manually and run

./app/vendor/plugins/admin/makelos install

Thank you!