Page 1 of 1

Failed admin reset

Posted: 05 Apr 2011, 17:46
by Dorus
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.

Re: Failed admin reset

Posted: 06 Apr 2011, 03:04
by Martin
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

Re: Failed admin reset

Posted: 06 Apr 2011, 03:11
by Dorus
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

Re: Failed admin reset

Posted: 06 Apr 2011, 03:57
by Martin
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

Re: Failed admin reset

Posted: 06 Apr 2011, 06:22
by mjau-mjau
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.

Re: Failed admin reset

Posted: 06 Apr 2011, 07:27
by Martin
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

Re: Failed admin reset

Posted: 06 Apr 2011, 09:31
by Nick
You right, it got there by accident. Anyway, just delete the file.

Re: Failed admin reset

Posted: 14 Apr 2011, 06:19
by Dorus
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.

Re: Failed admin reset

Posted: 14 Apr 2011, 08:12
by Nick
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/

Re: Failed admin reset

Posted: 14 Apr 2011, 09:19
by Dorus
Thanks, it works now.

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

Thanks for the support guys.