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 21. Nov 2024, 22:24

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  [ 4 posts ] 
Author Message
PostPosted: 20. Jan 2013, 03:23 
Offline

Joined: 31. Dec 2008, 00:51
Posts: 33
Location: DE and AT
Michael,

:shock:
am a bit supprised about
PHP Fatal error: Call to undefined function session_unregister() in .......\i_frames\i_login.php on line 48

Why still using an very common deprecated function, btw, since more than 8 years.
http://php.net/manual/en/function.sessi ... gister.php :arrow: Read it.
I'm afraid there are more leaks in TWG, than only this one.
And, don't come back and say PHP 5.4 is not common used. :twisted:

Alex


Top
 Profile  
 
PostPosted: 20. Jan 2013, 18:23 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
This part was simply not modified a long time.

But I'm currently working on a version for 5.4.
And yes. 5.4 start to get common for many hosters.

TWG 1.9 will be 100% compatible with php 5.4.x.

I currently release TFU/JFU 3.0 and TWG 1.9 is then next ;).

Best,
Michael


Top
 Profile  
 
PostPosted: 21. Jan 2013, 17:45 
Offline

Joined: 31. Dec 2008, 00:51
Posts: 33
Location: DE and AT
wish would have more time to review twg code. Still fight with the Google Map link topic :-)


Top
 Profile  
 
PostPosted: 19. Feb 2013, 15:37 
Offline

Joined: 21. Dec 2010, 14:16
Posts: 3
I wrote my own workaround :
Make the following changes in <<<twg-dir>>>/i_frames/i_login.php

Change Line 48-54
session_unregister("mywebgallerie_login");
session_unregister("twg_permissions");
session_unregister("s_user");
session_unregister("s_pass");
session_unregister("s_home_dir"); // set in fun_users.php
session_unregister("admin_lang");
session_unregister("upload_settings");

to
unset($_SESSION['mywebgallerie_login']);
unset($_SESSION['twg_permissions']);
unset($_SESSION['s_user']);
unset($_SESSION['s_pass']);
unset($_SESSION['s_home_dir']); // set in fun_users.php
unset($_SESSION['admin_lang']);
unset($_SESSION['upload_settings']);

and the logout will work again.

Regards
Joerg


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

All times are UTC + 1 hour [ DST ]


Who is online

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