joseph-mudloff / pixie-cms

Automatically exported from code.google.com/p/pixie-cms
Other
0 stars 0 forks source link

Admin user not created during install #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Unpack the zip into a site
2. Browse to site
3. Follow installation steps
4. Try to login to the admin site

What is the expected output? What do you see instead?
I was expecting to be able to login using the credentials supplied during
installation but login fails.

What version of the product are you using? On what operating system?
Pixie v1.0 (with patch in issue 2 applied)
Windows XP, Apache 2.2.9, PHP 5.2.6, MySQL 5.0.45

Please provide any additional information below.
The SQl statement used to insert the administrative user contains an error;
the `biography` does not have a default value and none is supplied in the
query causing it to fail.
The error is not handled so the failure is silently ignored.

I've attached the patched source file (also including the fix for issue 2)

Original issue reported on code.google.com by marnixva...@gmail.com on 23 Sep 2008 at 7:39

Attachments:

GoogleCodeExporter commented 8 years ago
The same problem occurs when adding a user through admin/install/createuser.php.

The patched source file is attached (fix on line 17).

Original comment by marnixva...@gmail.com on 24 Sep 2008 at 9:11

Attachments:

GoogleCodeExporter commented 8 years ago
Your fixes have been included. Thanks again.

Original comment by scotts...@gmail.com on 6 Oct 2008 at 11:11