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 24. Nov 2024, 13:54

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  [ 10 posts ] 
Author Message
PostPosted: 19. Jun 2008, 23:52 
Offline

Joined: 13. Jan 2007, 01:54
Posts: 49
I just upgraded TWG 1.6 to 1.7.3.3 using the patch, it looks good. Thank you.

After the upgrade, I cannot login as "admin" from twg anymore. The login popup window accepted the password, but the menu doesn't show "Administration" link, and I didn't see "Caption" link when picture is displayed.
Did the patch overwrite login authentication file?

One thing should mention is: in v1.6, I used "Admin tool" to change admin password, but I saw my old passwords ($titelpassword and $privatepassword) in my_config.php are the same. Did I do s/t wrong when I used "Admin Tool" to change password but didnot update my_config.php to new password?

Thank you.

VL


Top
 Profile  
 
 Post subject:
PostPosted: 20. Jun 2008, 00:16 
Offline

Joined: 13. Jan 2007, 01:54
Posts: 49
Also I cannot login my "private folder" because of wrong password, but I've never changed it!


Top
 Profile  
 
 Post subject:
PostPosted: 20. Jun 2008, 00:27 
Offline

Joined: 13. Jan 2007, 01:54
Posts: 49
Another thing: I have multi-level picture directories, after I displayed pictures of 3rd level, the upper left corner shows only

Home | Home | <3rd level dir.name>

in v.1.6, twg shows:

Home | <1st level> -> <2nd level> -> < 3rd level>

(Home url is in "root.txt")

......

Please consider this is a bug (?) or test report.

Thanks.

Vu


Top
 Profile  
 
 Post subject:
PostPosted: 20. Jun 2008, 09:41 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
if you have made changes in config.php then they are overwritten!

Because you should have stored everything in my_config.php

About root.txt. Read the howto about root.txt again. The behaviour has changed! it was completly rewritten in 1.7.0.6! It works now recursive - therfore I think you simply have one root.txt too much ...

$titlepassword does not exist anymore! the whole user handling is now in the administration.
And no - the userfile is not overwritten. it's still admin/_config/.htuser.php

if you cannot login try to login with admin/index.php and check the right your user has! Maybe the user has not enough rights!

if you have an empty private.txt the password from the config is used. otherwiese the one in the file.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 20. Jun 2008, 17:59 
Offline

Joined: 13. Jan 2007, 01:54
Posts: 49
I tried to login from twg, and from admin/index.php, the login prompt is there, no "Administration" link displayed.
Then I copied a empty .htusers.php from twg1.7 download.
When I login from front end with "admin" and passwd "twg_admin", it accepted the password, but I still don't see "Administration" link.
After that, I access login screen from "admin/index.php" with passwd "twg_admin", it let me login and changed the admin passwd. Then when I tried to login again with new password, the login screen still shows login prompt, and at browser status bar show message:

"Invalid character.
url: tinygallery.com/gadmin/leaderboard_151.htm"


Thanks.

VL


Top
 Profile  
 
 Post subject:
PostPosted: 20. Jun 2008, 18:30 
Offline

Joined: 13. Jan 2007, 01:54
Posts: 49
I tried with newly installed twg1.7.3.2, and I still can login as admin.


Top
 Profile  
 
 Post subject:
PostPosted: 21. Jun 2008, 10:49 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
are there any messages in counter/_mydebug.out?

Seems like not all files are there.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 22. Jun 2008, 21:21 
Offline

Joined: 13. Jan 2007, 01:54
Posts: 49
I copied 20 lines from the fresh installed of twg1.7.3.2 debug file:

06.20.2008 17:58:26 (en) - ERROR 2 in c_html/twg_1732/admin/_include/login.php, line 148: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/php_sessions/sess_c782a1a22ccbb6e4c139033b7d1db7d3, O_RDWR) failed: No such file or directory (2)
06.20.2008 17:58:26 (en) - ERROR 2 in Unknown, line 0: Unknown(): open(/var/php_sessions/sess_c782a1a22ccbb6e4c139033b7d1db7d3, O_RDWR) failed: No such file or directory (2)
06.20.2008 17:58:26 (en) - ERROR 2 in Unknown, line 0: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions)
06.20.2008 17:58:27 (en) - ERROR 2 in Unknown, line 0: Unknown(): open(/var/php_sessions/sess_c782a1a22ccbb6e4c139033b7d1db7d3, O_RDWR) failed: No such file or directory (2)
06.20.2008 17:58:27 (en) - ERROR 2 in Unknown, line 0: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions)
06.20.2008 17:58:37 (en) - ERROR 2 in c_html/twg_1732/admin/_include/login.php, line 148: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/php_sessions/sess_c782a1a22ccbb6e4c139033b7d1db7d3, O_RDWR) failed: No such file or directory (2)
06.20.2008 17:58:37 (en) - ERROR 2 in Unknown, line 0: Unknown(): open(/var/php_sessions/sess_c782a1a22ccbb6e4c139033b7d1db7d3, O_RDWR) failed: No such file or directory (2)
06.20.2008 17:58:37 (en) - ERROR 2 in Unknown, line 0: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions)
06.20.2008 17:58:37 (en) - ERROR 2 in Unknown, line 0: Unknown(): open(/var/php_sessions/sess_c782a1a22ccbb6e4c139033b7d1db7d3, O_RDWR) failed: No such file or directory (2)
06.20.2008 17:58:37 (en) - ERROR 2 in Unknown, line 0: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions)
06.20.2008 17:58:48 (en) - ERROR 2 in c_html/twg_1732/admin/_include/login.php, line 148: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/php_sessions/sess_c782a1a22ccbb6e4c139033b7d1db7d3, O_RDWR) failed: No such file or directory (2)
06.20.2008 17:58:48 (en) - ERROR 2 in Unknown, line 0: Unknown(): open(/var/php_sessions/sess_c782a1a22ccbb6e4c139033b7d1db7d3, O_RDWR) failed: No such file or directory (2)
06.20.2008 17:58:48 (en) - ERROR 2 in Unknown, line 0: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions)
06.20.2008 17:58:48 (en) - ERROR 2 in Unknown, line 0: Unknown(): open(/var/php_sessions/sess_c782a1a22ccbb6e4c139033b7d1db7d3, O_RDWR) failed: No such file or directory (2)
06.20.2008 17:58:48 (en) - ERROR 2 in Unknown, line 0: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions)
06.20.2008 18:48:21 (en) - ERROR 2 in Unknown, line 0: Unknown(): open(/var/php_sessions/sess_c782a1a22ccbb6e4c139033b7d1db7d3, O_RDWR) failed: No such file or directory (2)
06.20.2008 18:48:21 (en) - ERROR 2 in Unknown, line 0: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions)
06.20.2008 18:48:38 (en) - ERROR 2 in Unknown, line 0: Unknown(): open(/var/php_sessions/sess_c782a1a22ccbb6e4c139033b7d1db7d3, O_RDWR) failed: No such file or directory (2)
06.20.2008 18:48:38 (en) - ERROR 2 in Unknown, line 0: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions)
06.20.2008 18:48:54 (en) - ERROR 2 in Unknown, line 0: Unknown(): open(/var/php_sessions/sess_c782a1a22ccbb6e4c139033b7d1db7d3, O_RDWR) failed: No such file or directory (2)
06.20.2008 18:48:54 (en) - ERROR 2 in Unknown, line 0: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions)
06.20.2008 18:49:16 (en) - ERROR 2 in Unknown, line 0: Unknown(): open(/var/php_sessions/sess_c782a1a22ccbb6e4c139033b7d1db7d3, O_RDWR) failed: No such file or directory (2)
06.20.2008 18:49:16 (en) - ERROR 2 in Unknown, line 0: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions)
06.20.2008 18:49:28 (en) - ERROR 2 in Unknown, line 0: Unknown(): open(/var/php_sessions/sess_c782a1a22ccbb6e4c139033b7d1db7d3, O_RDWR) failed: No such file or directory (2)
06.20.2008 18:49:28 (en) - ERROR 2 in Unknown, line 0: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions)
06.20.2008 18:49:44 (en) - ERROR 2 in Unknown, line 0: Unknown(): open(/var/php_sessions/sess_c782a1a22ccbb6e4c139033b7d1db7d3, O_RDWR) failed: No such file or directory (2)
06.20.2008 18:49:44 (en) - ERROR 2 in Unknown, line 0: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions)
06.20.2008 18:49:56 (en) - ERROR 2 in Unknown, line 0: Unknown(): open(/var/php_sessions/sess_c782a1a22ccbb6e4c139033b7d1db7d3, O_RDWR) failed: No such file or directory (2)
06.20.2008 18:49:56 (en) - ERROR 2 in Unknown, line 0: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions)
06.20.2008 18:50:12 (en) - ERROR 2 in Unknown, line 0: Unknown(): open(/var/php_sessions/sess_c782a1a22ccbb6e4c139033b7d1db7d3, O_RDWR) failed: No such file or directory (2)
06.20.2008 18:50:12 (en) - ERROR 2 in Unknown, line 0: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions)

...

Thanks.

VL


Top
 Profile  
 
 Post subject:
PostPosted: 23. Jun 2008, 01:09 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
like the error messages say:

Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions)

your php session save path is not korrekt - check you system! without session no login!

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 24. Jun 2008, 04:34 
Offline

Joined: 13. Jan 2007, 01:54
Posts: 49
You were right! It solved the problem.
Thank you very much.

VL


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 80 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