Search…

X3 Photo Gallery Support Forums

Search…
 
windemiatrix
Topic Author
Posts: 5
Joined: 25 Jun 2009, 04:29

Admin access

25 Jun 2009, 09:26

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
 
Ancalagon79
Posts: 14
Joined: 12 Jun 2009, 10:30

25 Jun 2009, 16:41

Can you give a link to your gallery ?
 
windemiatrix
Topic Author
Posts: 5
Joined: 25 Jun 2009, 04:29

25 Jun 2009, 17:16

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...
 
Ancalagon79
Posts: 14
Joined: 12 Jun 2009, 10:30

25 Jun 2009, 17:45

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'] = '*';
?>
 
windemiatrix
Topic Author
Posts: 5
Joined: 25 Jun 2009, 04:29

25 Jun 2009, 17:48

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'] = '*';
Last edited by windemiatrix on 25 Jun 2009, 17:57, edited 2 times in total.
 
windemiatrix
Topic Author
Posts: 5
Joined: 25 Jun 2009, 04:29

25 Jun 2009, 17:54

And can i resize images with flash without gdlib?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

25 Jun 2009, 18:14

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.
 
windemiatrix
Topic Author
Posts: 5
Joined: 25 Jun 2009, 04:29

25 Jun 2009, 23:45

It is a pity. I had hoped that the gallery can work without GD.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

27 Jun 2009, 07:34

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).
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

27 Jun 2009, 07:48

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.
firedev.com