4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 23, 2018, 08:55:18 AM

Login with username, password and session length
Search:     Advanced search
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Help / Hilfe
| |-+  Bug Fixes & Patches
| | |-+  [1.7 / 1.7.1] Security fix in sessions.php
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: «« « 1 2 [3] 4 5 » »» Print
Author Topic: [1.7 / 1.7.1] Security fix in sessions.php  (Read 227265 times)
nd.h
Pre-Newbie

Offline Offline

Posts: 2

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #30 on: June 21, 2005, 02:28:46 PM »

*hust* ... hab's gelesen und ausgeblendet...
Sorrry  Embarassed Embarassed

Danke nochmal !!!
Logged

the foolish ones taught more to me
than the wise ones ever could
calvin russel
Eppi
Pre-Newbie

Offline Offline

Posts: 4

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #31 on: June 26, 2005, 11:38:24 PM »

Wenn ich die Version 1.7.1 heute heruntergeladen habe, muss ich dan diese Änderung auch vornehmen?
Logged
Jan
Administrator
4images Guru
*****
Offline Offline

Posts: 5024

Thank You
-Given: 0
-Receive: 32


View Profile WWW
« Reply #32 on: June 27, 2005, 01:43:09 PM »

Nein
Logged

Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search
darkcurves
Full Member
***
Offline Offline

Posts: 114

Thank You
-Given: 0
-Receive: 0


View Profile WWW
« Reply #33 on: July 05, 2005, 04:05:24 AM »

I cant seem to find that line in version 1.7.1. It's sessions.php right?
Logged
V@no
If you don't tell me what to do, I won't tell you where you should go :)
Administrator
4images Guru
*****
Offline Offline

Posts: 17849

Thank You
-Given: 47
-Receive: 577

mmm PHP...


View Profile WWW
« Reply #34 on: July 05, 2005, 05:24:46 AM »

yes
Logged

Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)
darkcurves
Full Member
***
Offline Offline

Posts: 114

Thank You
-Given: 0
-Receive: 0


View Profile WWW
« Reply #35 on: July 06, 2005, 12:45:20 PM »

Cant find it. If you dont believe me, please check at http://usa.57host.com/cantfindit/sessions.php .
Logged
RoadDogg
Sr. Member
****
Offline Offline

Posts: 488

Thank You
-Given: 1
-Receive: 1


View Profile WWW
« Reply #36 on: July 06, 2005, 10:24:59 PM »

I can´t download your sessions.php, please save it as sessions.txt
When have you downloaded your 4images software? In currently download version it´s already fixed.
Do you have phpbb integrated 4images?
Logged

For support requests please don´t forget link to your Gallery/to phpinfo.php
1
2
3
<?
phpinfo()
?>
safe_mode must turned OFF
Please check Error Messages
kashiftiwana
Pre-Newbie

Offline Offline

Posts: 3

Thank You
-Given: 0
-Receive: 0


View Profile WWW
« Reply #37 on: July 07, 2005, 12:16:21 AM »

W Very Happy W , what i say  Cool , i was install 4images with postnuke and alwayz wanted that both working in same database, try many things but never got working both , finally i install postnuke module pn4images, now both was working but got only one error, when i add this security fix, error gone  Very Happy
thank you guys, you dont know how much i appreciate your work n time & also this security fix Wink
Logged

morningstar
Pre-Newbie

Offline Offline

Posts: 5

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #38 on: July 08, 2005, 01:19:52 PM »

omg im having problems i cant even get on my s4image gallery let alone fix it can anyone help, im getting a error message saying:


Warning: mysql_connect(): Too many connections in /home/sue/public_html/gallery/includes/db_mysql.php on line 39

DB Error: Could not connect to the database server (localhost, sue_imga1).
Logged
Kane
Newbie
*
Offline Offline

Posts: 23

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #39 on: July 08, 2005, 05:52:38 PM »

What about for those os us who have integrated the script with vbulletin?

My line says this

$user_id = ($this->read_cookie_data(COOKIE_PREFIX."userid")) ? $this->read_cookie_data(COOKIE_PREFIX."userid") : GUEST;

What do I change it to?
Logged
ID25
Full Member
***
Offline Offline

Posts: 125

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #40 on: July 08, 2005, 10:39:37 PM »

When i fix this problem - my sessions living about 5-15sec.

Where is problem?
Logged
V@no
If you don't tell me what to do, I won't tell you where you should go :)
Administrator
4images Guru
*****
Offline Offline

Posts: 17849

Thank You
-Given: 47
-Receive: 577

mmm PHP...


View Profile WWW
« Reply #41 on: July 08, 2005, 11:58:52 PM »

@morningstar:
I have no idea why u wasted your (and our) time replying to this topic with absolutely unrelated issue!

@kane:
which integration are u talking about? Integration 4images 1.7 / vBulletin 2.x? if so, then its seems to be fixed already.

@ID25:
Unless u did something else wrong, this fix could NOT possible affect anything in the way u've discribed.
Logged

Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)
darkcurves
Full Member
***
Offline Offline

Posts: 114

Thank You
-Given: 0
-Receive: 0


View Profile WWW
« Reply #42 on: July 10, 2005, 08:10:39 PM »

I can´t download your sessions.php, please save it as sessions.txt
When have you downloaded your 4images software? In currently download version it´s already fixed.
Do you have phpbb integrated 4images?

Yeah, it's integrated with PHPBB. Here is the new link:

http://usa.57host.com/cantfindit/sessions.txt
Logged
V@no
If you don't tell me what to do, I won't tell you where you should go :)
Administrator
4images Guru
*****
Offline Offline

Posts: 17849

Thank You
-Given: 47
-Receive: 577

mmm PHP...


View Profile WWW
« Reply #43 on: July 10, 2005, 08:52:16 PM »

replace
1
  $user_id = ( isset($sessiondata['userid']) ) ? $sessiondata['userid'] : GUEST;
to:
1
  $user_id = ( isset($sessiondata['userid']) ) ? intval($sessiondata['userid']) : GUEST;
Logged

Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)
mWelle
Newbie
*
Offline Offline

Posts: 13

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #44 on: July 15, 2005, 08:48:40 AM »

Quote  [Expand]
When i fix this problem - my sessions living about 5-15sec.

das gleiche problem, es häufen sich nach einfügen des fixes die beschwerden der user das sie alle naselang rausgeschmissen werden.
Logged

mfg
mWelle
Pages: «« « 1 2 [3] 4 5 » »» Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.07 seconds with 19 queries.
Post your comments here