Banshee
the secure PHP framework

Forum

Banshee default password

Daniel
20 april 2012, 06:48
Hi,

The installation guide says that a freshly installed database already contains the users 'admin' and 'user' with the password 'banshee', but I cannot login with this password.
I think ther are two different hashes specified the users section of database/mysql.sql:
(1,1,'admin','a9c7732ed86c79c6f200a785434ab675',NULL,2,'Administrator','admin@banshee-php.org'),(2,1,'user','e0d13c28584b577aa02a3135d16d3def',NULL,2,'Normal user','user@banshee-php.org');

What's the default password?
Thanks!

Banshee version: 3.4
PHP version: 5.3
MySQL version:
Webserver: Hiawatha 7.8
Hugo Leisink
20 april 2012, 07:28
I don't know how you got those settings, but in the banshee-3.4.tar.gz file on my server, the default users in mysql.sql are
(1,1,'admin','f1f64ee45e07c9c53c2c6d3f8ab24512',NULL,2,'Administrator','admin@banshee-php.org')
(2,1,'user','e0d13c28584b577aa02a3135d16d3def',NULL,2,'Normal user','user@banshee-php.org')

It's correct that they are different, because a salt per user is being user. Just for that.
Daniel
21 april 2012, 19:24
Sorry,
I mixed it up a bit with an old configuration. I have now deleted the old database and reinstalled it. Now it's working.

But if I want to delete a poll it says: 'Error while deleting poll'
What am I doing wrong?

I think that the permissions in the directory 'logfiles' aren't correct. I've set them with 'chmod o+r'

And you need to update the banshee URL toolkit rules in the default hiawatha configuration file.

Daniel
Hugo Leisink
24 april 2012, 08:57
About the poll delete error: edit models/admin/poll.php and change line 153 to:
if ($this->poll_editable($poll_id) == false) {
Message preview

The following BB-codes are available in a message:

  • [b]Bold text[/b]
  • [center]Center text or imagen[/center]
  • [color=color name or #RGB code]Colored text[/color]
  • [i]Italic text[/i]
  • [img]Link to image[/img]
  • [right]Align text or image right[/right]
  • [s]Strike-through text[/s]
  • [size=pixelsize]Big or small text[/size]
  • [u]Underlined text[/u]
  • [url]Link to website[/url]
  • [url=link to website]Link text[/url]