Page 1 of 1

Admin access

Posted: 25 Jun 2009, 09:26
by windemiatrix
I can't login in admin panel with admin/admin. I get messages:
"Incorrect login or password"
"Login as admin/admin and change password!"
Using imagevue v2

Posted: 25 Jun 2009, 16:41
by Ancalagon79
Can you give a link to your gallery ?

Posted: 25 Jun 2009, 17:16
by windemiatrix
Ancalagon79 wrote:Can you give a link to your gallery ?
http://atf.vlsu.ru/glr
It's strange, but when i edited ivControllerAbstract.class.php, some problems were solved.

Old code:
if (isset($_REQUEST[$t]))
{
$out[$t] = $_REQUEST[$t];
}

New code:
if (isset($_REQUEST[$t])) {
$out[$t] = $_REQUEST[$t];
if (isset($_GET[$t])) $out[$t] = $_GET[$t];
if (isset($_POST[$t])) $out[$t] = $_POST[$t];
}

I don't know how, but script gettet login in md5... Now some of functions are not working and i'm working at it :)

P.S. Sorry for my English mistaked if them were...

Posted: 25 Jun 2009, 17:45
by Ancalagon79
perhaps try to reload entire "imagevue" folder and check your imagevue/config/users.php : it must be like this et contain login, password (MD5) and rights (admin rights are '*')

<?php

/*
* userlist file, passwords is sha1 hash. for manually change passwords
* and generate hashes you can use http://www.md5.br-design.co.uk/ service
*/

$users['Yourlogin']['password'] = 'ed9d3d8546567865035365465674d53cd3be8f71501c';
$users['Yourlogin']['access'] = '*';
?>

Posted: 25 Jun 2009, 17:48
by windemiatrix
It's no problem with password, it's saved in sha1, login saves as it was. Script coding login, when I trying login, in md5.

/*
* userlist file, passwords is sha1 hash. for manually change passwords
* and generate hashes you can use http://www.md5.br-design.co.uk/ service
*/

$users['admin']['password'] = '2253b5c439b10e71e99410d1a0a79073f02afdc1';
$users['admin']['access'] = '*';

Posted: 25 Jun 2009, 17:54
by windemiatrix
And can i resize images with flash without gdlib?

Posted: 25 Jun 2009, 18:14
by mjau-mjau
windemiatrix wrote:And can i resize images with flash without gdlib?
Resize images? Imagevue X2 flash already resizes images in real-time to fit the screen. Create thumbnails? No, GD2 extension is required to create thumbnails from larger images.

Posted: 25 Jun 2009, 23:45
by windemiatrix
It is a pity. I had hoped that the gallery can work without GD.

Posted: 27 Jun 2009, 07:34
by mjau-mjau
windemiatrix wrote:It is a pity. I had hoped that the gallery can work without GD.
It can, but you would need to create the thumbnails yourself(manually).

Posted: 27 Jun 2009, 07:48
by Nick
We could use ImageMagick, but it should be installed and configured separately which unfortunately might be too hard for our user. Besides not every host would allow you to do that.