Search…

X3 Photo Gallery Support Forums

Search…
 
Dorus
Topic Author
Posts: 10
Joined: 01 Mar 2011, 06:58

Failed admin reset

05 Apr 2011, 17:46

Hi there,

I lost my admin password, so I looked at some solutions on the forums. I ended up deleting the public_html/iv-includes/config/users.php file and replacing it with the imagevue.x2.6.4\iv-includes\config/users.php file (from the zip that I downloaded)

Now if I change my admin name and pw, and I save, when it refreshes it gives an error saying "folder iv-includes/config/ is not writeable. Also in the admin it seems I can't save any changes, Everytime a list of red error messages displays at the top of the screen.

Could someone help me with this problem?

Thanks in advance for your time.
 
User avatar
Martin
Experienced
Posts: 651
Joined: 30 Jan 2011, 23:24

Re: Failed admin reset

06 Apr 2011, 03:04

Perhaps that your permissions of the replaced file or the directory are not set to 777.

Look here:
https://www.photo.gallery/documentation/quickstart-guide/

"{yourgallery}/iv-includes/config/
Allows the admin to edit config and theme files."


martin
 
Dorus
Topic Author
Posts: 10
Joined: 01 Mar 2011, 06:58

Re: Failed admin reset

06 Apr 2011, 03:11

Thanks for your reply.

I changed the permissions to 777 but it doesn't seem to help.. Still the same errors. Can anyone help me with this problem?

Thanks in advance
 
User avatar
Martin
Experienced
Posts: 651
Joined: 30 Jan 2011, 23:24

Re: Failed admin reset

06 Apr 2011, 03:57

Maybe clearing the browsers cache would help...

But there is also the possibility to reinstall the imagevue code, just like you would do with an upgrade.
But do not:
Upload the content of your “config” folder into iv-includes/config/


Look here:
https://www.photo.gallery/documentation/upgrade-imagevue/

martin
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Failed admin reset

06 Apr 2011, 06:22

Dorus wrote:I lost my admin password, so I looked at some solutions on the forums. I ended up deleting the public_html/iv-includes/config/users.php file and replacing it with the imagevue.x2.6.4\iv-includes\config/users.php file (from the zip that I downloaded)
You are supposed to delete the config/users.php file to reset your password, but you are not supposed to replace it. The users.php is not even supposed to exist in the ZIP file in the location you explained.

I don't see how this is related to the error though. Try deleting the users.php file entirely.
 
User avatar
Martin
Experienced
Posts: 651
Joined: 30 Jan 2011, 23:24

Re: Failed admin reset

06 Apr 2011, 07:27

mjau-mjau wrote:The users.php is not even supposed to exist in the ZIP file in the location you explained.
It does exist in the zip-file...

martin
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: Failed admin reset

06 Apr 2011, 09:31

You right, it got there by accident. Anyway, just delete the file.
firedev.com
 
Dorus
Topic Author
Posts: 10
Joined: 01 Mar 2011, 06:58

Re: Failed admin reset

14 Apr 2011, 06:19

I already tried that before I replaced it, but I got the same result: 'folder iv-includes/config/ is not writeable'

After your replies I deleted it again, so now there's only a readme.txt file in iv-includes/config

Still the same result.. When I fill in my new username and password, the page refreshes and shows me 'admin' again.

What could be wrong here? Thanks for your support.
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: Failed admin reset

14 Apr 2011, 08:12

If the folder is not writable you need to set 777 permissions on it, please check this article:

https://www.photo.gallery/documentation/sett ... rmissions/
firedev.com
 
Dorus
Topic Author
Posts: 10
Joined: 01 Mar 2011, 06:58

Re: Failed admin reset

14 Apr 2011, 09:19

Thanks, it works now.

I already tried this once, only on the content folder and not the config folder.

Thanks for the support guys.