Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 28. Mar 2024, 12:45

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: 11. Jan 2009, 06:13 
Offline

Joined: 11. Jan 2009, 06:00
Posts: 3
Location: Cleveland, OH USA
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


Top
 Profile  
 
 Post subject:
PostPosted: 11. Jan 2009, 11:54 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
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


Top
 Profile  
 
 Post subject: session settings
PostPosted: 11. Jan 2009, 22:23 
Offline

Joined: 11. Jan 2009, 06:00
Posts: 3
Location: Cleveland, OH USA
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?


Top
 Profile  
 
 Post subject:
PostPosted: 11. Jan 2009, 22:26 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
This has nothing to do with TWG.

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

- Michael


Top
 Profile  
 
 Post subject: hosting support for php
PostPosted: 11. Jan 2009, 22:27 
Offline

Joined: 11. Jan 2009, 06:00
Posts: 3
Location: Cleveland, OH USA
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.


Top
 Profile  
 
 Post subject:
PostPosted: 11. Jan 2009, 22:42 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
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


Top
 Profile  
 
 Post subject:
PostPosted: 9. Feb 2009, 17:23 
Offline

Joined: 9. Feb 2009, 16:27
Posts: 1
I have the same problem with login, unfortunately I can not find the /var/php_sessions where would it be located?


Top
 Profile  
 
 Post subject:
PostPosted: 9. Feb 2009, 18:51 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
check you php settings.

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

- Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy