Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

cannot change initial admin password
https://www.tinywebgallery.com/forum/viewtopic.php?f=10&t=1799
Page 1 of 1

Author:  pjaffe [ 11. Jan 2009, 06:13 ]
Post subject:  cannot change initial admin password

I have two installations of TWG installed on different sites on different host servers. One works fine and the other doesnt allow me to change the admin password for the first time so I can not get into twgexplorer. When I login with the default password, I get prompted to change the password. The user file is noted as writeable. I enter the old and the new and then hit enter. The screen just changes back to the admin login page asking for a userid and password. The password never gets reset. I ran info.php and the only problem I can see is that memory is low (16). Nothing related is listed in the debug file except that some images are too large.

Any suggestions?

you can see it at aplsweb (dot) com (slash) twg176

Author:  TinyWebGallery [ 11. Jan 2009, 11:54 ]
Post subject: 

This is a session problem because in the admin you can click on the info in the menu as well and you get logged out.

Check if the session save path is set correctly.

- Michael

Author:  pjaffe [ 11. Jan 2009, 22:23 ]
Post subject:  session settings

You suggested checking that the session save path is set correctly. According to phpinfo.php, it is set as:

session.save_path /var/php_sessions (local) /var/php_sessions (global)

Do you mean that this setting is incorrect? If so, how do I go about getting it changed and to what? I am on a hosted server and would like to make sure I am clear what I would be asking their tech support folks to do.

Or, is there something that I should be setting in my_config.php to match this setting?

Author:  TinyWebGallery [ 11. Jan 2009, 22:26 ]
Post subject: 

This has nothing to do with TWG.

check if /var/php_sessions does exist and if it is writeable for you.

- Michael

Author:  pjaffe [ 11. Jan 2009, 22:27 ]
Post subject:  hosting support for php

I found this on my host's support forum. How do I integrate it into your scripts if at all?
------------------
To run PHP sessions, include the following code at the top of any PHP script that uses sessions:

session_save_path("your home directory path"/cgi-bin/tmp);
session_start();

* Log into the PHP Scripting page for actual path to your home directory. Replace "your home directory path" with the path shown.
* Set session_save_path to a directory within your cgi-bin: either /cgi-bin/tmp as in the example above or another directory as long as the absolute path is correct.

Author:  TinyWebGallery [ 11. Jan 2009, 22:42 ]
Post subject: 

it's no problem to integrate it but I use this very often because I do refresh the session at a coule of places.

Normally you can create a custom php.ini and set the path there. Check if this is possible/supported by your hoster.

- Michael

Author:  canum [ 9. Feb 2009, 17:23 ]
Post subject: 

I have the same problem with login, unfortunately I can not find the /var/php_sessions where would it be located?

Author:  TinyWebGallery [ 9. Feb 2009, 18:51 ]
Post subject: 

check you php settings.

call info.php and then you can view your setting there.

- Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/