Welcome to the [HSX] website!

Been Gaming since 2003

Community Driven Site

Gaming, Web Development, and Support

  

 
Main Menu
 
DFG
 Home
 Join our Clan
 [HSX] Roster
 Forums
 News
 Downloads
 News Letter
 Video tutorials
 Supporters
 Uploads
 F.A.Q
· FAQ
· Docs
· Forums FAQ
 [HS] History
 Site Map
 Write a Review
 Image Repo
 WhoIs
 Twitch ID Finder
 Logout
DFG
DFG DFG DFG

 
[HSX] Donations
 
DFG
Total Donors
Total:
$14.93
Monthly Goal
$30.00
Difference:
$15.07
50%
DFG
DFG DFG DFG

 
Theme Management
 
DFG
DFG
DFG DFG DFG

 
Whos Been
 
DFG
 Lonestar
 8 mins ago
 Wolf
 2 hours ago
 coRpSE
 2 hours ago
 fire
 8 hours ago
 lords
 21 hours ago
 Apollo074
 22 hours ago
 icefreak
 1 day ago
 PatPgtips
 1 day ago
 hossboss
 1 day ago
 2xTaz
 2 days ago
DFG
DFG DFG DFG

 
Honey Pot
 
DFG
Bots in the pot!
We have [2391] bots stopped!
HeadShotDomain
DFG
DFG DFG DFG

     
DFG
 
Forum Index Members Search Usergroups
Ranks Staff Statistics Forum FAQ
Board Rules Edit your profile Login, Check Messages Log in
 

Error in header.php
Post new topic Reply to topic printer-friendly view List users that have viewed this topic Thank Post Forum Index Nuke Blocks / Modules Support
View previous topic View next topic
PostPosted: Fri May 15, 2015 8:33 am Reply with quote
Sp0rAdiC
I keep getting this error showing up in my security tracker. It's an sql error in header.php. any ideas?

Date              Time         IP                        Message
---------[SQL Error]------------------------------------------------------------------------------------------------------------
  - [15 May 2015 - 09:16:58] -
User: ******
IP: ******
URL: /index.php

File: /home/aahqcom/public_html/header.php
Line: 187
Message:
Code:
Query: UPDATE nuke_session SET uname="*******", time="1431699418", guest="0", module="", url="/index.php" WHERE host_addr="********"


Also, people are getting some kind of file compression error.  Could this be related??

NOOB!!!

Groups NOOB!!!
Posts 37
Joined Jul 03, 2013
Status Offline
Gender Male
View user's profile Send Sp0rAdiC a private message Visit user's website Find all posts by Sp0rAdiC

PostPosted: Fri May 15, 2015 11:02 am Reply with quote
Teo
delete that table in your database and re submit the query for that table in your sql.

NOOB!!!

Groups NOOB!!!
Posts 28
Joined Aug 31, 2012
Status Offline
Gender Male
View user's profile Send Teo a private message Visit user's website Find all posts by Teo

PostPosted: Fri May 15, 2015 11:39 am Reply with quote
coRpSE
Open:
header.php

On or around line 170
FIND:

PHP:  [ Select all ]

       $result $db->sql_query('UPDATE '.$prefix.'_session SET uname="'.$uname.'", time="'.$ctime.'", guest="'.$guest.'", module="'.$custom_title.'", url="'.$url.'" WHERE host_addr="'.$ip.'"'); 

 
Replace With:

PHP:  [ Select all ]

       $result $db->sql_query('UPDATE '.$prefix.'_session SET time="'.$ctime.'", guest="'.$guest.'", module="'.$custom_title.'", url="'.$url.'" WHERE uname="'.$uname.'" OR host_addr="'.$ip.'"'); 

 
That possibly should fix that error.


Expand

Top Dog
Nuke Dev / Coder
Clan Leader
Groups Top Dog
Nuke Dev / Coder
Posts 2430
Joined Jan 12, 2012
Status Offline
View user's profile Send coRpSE a private message Visit user's website
coRpSE
Online
Most Played:
This week: 26.4hrs.
Total Played: 1,652hrs.


  
Taking a break from work!
Find all posts by coRpSE

 
PostPosted: Fri May 15, 2015 2:22 pm Reply with quote
Sp0rAdiC
— coRpSE wrote
Open:
header.php

On or around line 170
FIND:

PHP:  [ Select all ]

       $result $db->sql_query('UPDATE '.$prefix.'_session SET uname="'.$uname.'", time="'.$ctime.'", guest="'.$guest.'", module="'.$custom_title.'", url="'.$url.'" WHERE host_addr="'.$ip.'"'); 

 
Replace With:

PHP:  [ Select all ]

       $result $db->sql_query('UPDATE '.$prefix.'_session SET time="'.$ctime.'", guest="'.$guest.'", module="'.$custom_title.'", url="'.$url.'" WHERE uname="'.$uname.'" OR host_addr="'.$ip.'"'); 

 
That possibly should fix that error.


TY sir, will give it a go!


 

NOOB!!!

Groups NOOB!!!
Posts 37
Joined Jul 03, 2013
Status Offline
Gender Male
View user's profile Send Sp0rAdiC a private message Visit user's website Find all posts by Sp0rAdiC

Display posts from previous:
Post new topic Reply to topic printer-friendly view List users that have viewed this topic Thank Post All times are UTC - 7 Hours [DST enabled]
Page 1 of 1


 
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 vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2019 phpBB Group
DFG
DFG DFG DFG
Forums ©
Copyright © HeadShotDomain 2016 By: coRpSE
SimpleBlack V2 By: Killigan
Powered By: Evolution-Xtreme