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
 BF3 Stats
 Forums
 News
 Downloads
 News Letter
 Video tutorials
 Supporters
 Uploads
 F.A.Q
· FAQ
· Docs
· Forums FAQ
 [HS] History
 PHP Nuke Tools
 WhoIS Lookup
 Site Map
 Write a Review
 Image Repo
 Logout
DFG
DFG DFG DFG

 
[HSX] Donations
 
DFG
Donation
This here is a combined total of what we need to keep us going each month.

48 %

Donate

End DateJul 01
Target$50.00
Below Target$26.03
CurrencyUSD

Donators This Month
DFG
DFG DFG DFG

 
 Search our Site
 
DFG DFG
DFG DFG DFG

 
Theme Management
 
DFG


DFG
DFG DFG DFG

 
Survey
 
DFG What is your favorite game to play ATM?

WarThunder
World of Tanks
H1Z1
MechWarrior Online
ARK
WarFace
SWTOR
BattleField serier
COD Series
Diablo
Armored Warfare



Results
Polls

Votes 779
Comments: 0
DFG
DFG DFG DFG

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

DFG
DFG DFG DFG

     
DFG HeadShot Extreme :: View topic - Error in header.php


Search for at
HeadShot Extreme Advanced Search

Error in header.php
Post new topic    Reply to topic    printer-friendly view   Thank Post    HeadShot Extreme Forum Index -> Nuke Blocks / Modules Support
View previous topic :: View next topic  
Author Message
Sp0rAdiC
NOOB!!!
NOOB!!!





This user has donated to the clan.



  • » Show Info «


Status: Sp0rAdiC is offline
Post Posted: Fri May 15, 2015 8:33 am Post subject: No icon Error in header.php Reply with quote

I keep getting this error showing up in my security tracker. It's an sql error in header.php. any ideas?

Quote:
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??
Back to top
View user's profile Send private message Visit poster's website
HeadShot Domain, Been in buisness for over 10 years...
Teo
NOOB!!!
NOOB!!!







  • » Show Info «


Status: Teo is offline
Post Posted: Fri May 15, 2015 11:02 am Post subject: No icon Re: Error in header.php Reply with quote

delete that table in your database and re submit the query for that table in your sql.
Back to top
View user's profile Send private message Visit poster's website
HeadShot Domain, Been in buisness for over 10 years...
[HSX]coRpSE
Top Dog
Top Dog
Nuke Dev / Coder
Nuke Dev / Coder



Clan Leader


This user has donated over $300 to the clan.

coRpSE
Currently Offline
Last Seen Online:
12 hrs, 36 mins ago

Most Played:
This week: 13.1hrs.
Total played: 1,074hrs.


  
Must be married.



  • » Show Info «


Status: coRpSE is offline
Post Posted: Fri May 15, 2015 11:39 am Post subject: No icon Re: Error in header.php Reply with quote

Open:
header.php

On or around line 170
FIND:

PHP:
       $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:
       $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
Back to top
View user's profile Send private message Visit poster's website
HeadShot Domain, Been in buisness for over 10 years...
Sponsor
Sp0rAdiC
NOOB!!!
NOOB!!!





This user has donated to the clan.



  • » Show Info «


Status: Sp0rAdiC is offline
Post Posted: Fri May 15, 2015 2:22 pm Post subject: No icon Re: Error in header.php Reply with quote

coRpSE wrote (View Post):
Open:
header.php

On or around line 170
FIND:

PHP:
       $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:
       $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!


 
Back to top
View user's profile Send private message Visit poster's website
HeadShot Domain, Been in buisness for over 10 years...
Display posts from previous:
Post new topic   Reply to topic   printer-friendly view   Thank Post HeadShot Extreme Forum Index ->  Nuke Blocks / Modules Support All times are UTC - 7 Hours [DST enabled]
Page 1 of 1
 


 
Jump to:  
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

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts user login or CP activation 7 Rips 118 Tue Jun 04, 2019 8:07 pm
Rips View latest post
No new posts Forum Usergroups - User (group) appears three times? 5 lasermail 329 Mon Sep 17, 2018 11:31 am
coRpSE View latest post
No new posts ts5 may be using ts3 server 0 regchan 171 Mon Aug 20, 2018 5:42 am
regchan View latest post
No new posts so getting ready for halloween 2 dwpred18 775 Mon Oct 26, 2015 3:16 am
coRpSE View latest post
No new posts [ Poll ] ASAP video from world of tanks about upcoming update 3 mattfu916 1691 Thu Jul 12, 2012 12:08 pm
mattfu916 View latest post
 




Powered By: phpBB © 2001 - 2008 phpBB Group
SimpleBlack V2 By: killigan
© DarkForge Graphics 2008 - 2009 All Rights Reserved

Googlepage: GooglePullerPage
DFG
DFG DFG DFG
Forums ©
Copyright © HeadShotDomain 2016 By: coRpSE
SimpleBlack V2 By: Killigan
Powered By: Evolution-Xtreme