UGN Security Forums
My ProfileMember DirectoryLogin
Search our ForumsView our FAQView our Site Rules
View our CalendarView our Active TopicsGo to our Main Page

UGN Security Store
 

Network Sites UGN Security, The GoNix Initiative, Elite Web Gamers, Back of the Web, EveryDay Helper, VNC Web Design & Development
August
Su M Tu W Th F Sa
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
Sponsored Links
Latest Postings
Amazon Gift Card Generator/KeyGen?te
by Gecko666
08/22/14 09:21 AM
Latest Reviews
Topic Options
Rate This Topic
#6852 - 10/24/02 01:00 PM Help around some error
black^Pimp Offline
UGN GFX Whore

Registered: 09/26/02
Posts: 624
Loc: Underground
Hi guys.

well first of all sorry to bug you with my probs but i really can't take this annoying shit anymore. I run an INVISION BOARD forum for my site which is located at:

http://www.snogy.com/forums/index.php

It was working just perfect till this last week, well i added/installed some new features to the board like the Portal and some other stuff. And since i added these features now everytime i'm visiting the forums an error window pops up in every page and i really don't know how to fix it since i don't know php even though i'm learning.
So i hope one of you guys can tell me how to fix this thing and what should i do, i'd appreciate that since this is really annoying.

This is what the error i'm getting looks like.

[img]http://www.snogy.com/error.bmp[/img]

thanks

bp
_________________________
+^Born Intelligence

Top
Sponsored Links
      
#6853 - 10/30/02 09:45 AM Re: Help around some error
Dartur Offline
UGN Newbie

Registered: 03/03/02
Posts: 23
Loc: Sweden
my suggestion is that you check what's written on line 1...
_________________________
If you think you know something completely, you probably don't know enough.

Top
#6854 - 10/30/02 10:08 AM Re: Help around some error
unreal Offline



Registered: 03/01/02
Posts: 860
Loc: KCRQ
Post the first 20 or so lines...and we'll try to help ya.

Top
#6855 - 10/30/02 12:31 PM Re: Help around some error
SilentRage Offline
DollarDNS Owner

Registered: 03/04/02
Posts: 1273
Loc: OH, USA
well, he posted this 6 days ago. since then he got ahold of me on IRC and asked me what was wrong with the page and I told him.

First thing I did was search for SCRIPT tags. cause those kinds of errors only occures in scripts. so one of the scripts he was using had a syntax error on line 1.

first I came across some embedded javascript. no errors on line one. then further on I found this

Code:
<script type=text/javascript src=ibfhits.php</script>
well looky here, a PHP script being treated like a javascript. No wonder there's a syntax error on line one.
_________________________
Domain Registration, Hosting, Management
http://www.dollardns.net

Top
#6856 - 10/30/02 01:19 PM Re: Help around some error
black^Pimp Offline
UGN GFX Whore

Registered: 09/26/02
Posts: 624
Loc: Underground
heh so you finally read this topic eh lol. Thanks for trying to help all you guys. Btw dartur i did that but i guess there's no problem there, and unreal i'll post the full index.php code here for you guys to see and i hope you can help me somehow coz that error is really really annoying.

Yes while talking to SR in irc couple days ago he really made me believe that it was the Page Hits feature i added that was causin the problem, coz probably the browser is readin it as a java script and it's suposed to be a php script that's why the page hits is always 0 lol.

well just give me a sec untill i download and post the code of index.php ok

bp
_________________________
+^Born Intelligence

Top
#6857 - 10/30/02 01:38 PM Re: Help around some error
black^Pimp Offline
UGN GFX Whore

Registered: 09/26/02
Posts: 624
Loc: Underground
huh sorry guys but i couldn't post the code here even though i prepared everything, because i was getting this:

Sorry, we do not permit this HTML tag: "GET-COOKIE" (i used a separating line because it wouldn't display it again)

so i copied all what i wanted to writte in this post and put em on a TXT file on my site. Please view that txt file, there's where everything is.

hope some of you can help me !!

bp

P.S. Here the link to the TXT file : http://www.snogy.com/error.txt

thanks in advance
_________________________
+^Born Intelligence

Top
#6858 - 10/30/02 04:34 PM Re: Help around some error
SilentRage Offline
DollarDNS Owner

Registered: 03/04/02
Posts: 1273
Loc: OH, USA
man, and here I thought you understood what I told you before. the browser is not supposed to read that PHP script. That's the server's job. Don't use a script tag at all.

Code:
<td align='center'>[ Page Hits [<script type=text/javascript src=ibfhits.php></script>] ] &nbsp;[ Script Execution time: 0.5614 ] &nbsp; [ 14 queries used ] &nbsp; [ GZIP Enabled ]
that's your code currently. I wanna see this:

Code:
<td align='center'>[ Page Hits: 123 ] &nbsp;[ Script Execution time: 0.5614 ] &nbsp; [ 14 queries used ] &nbsp; [ GZIP Enabled ]
See, all the rest of those fields don't have script tags. The page hit count isn't supposed to either. btw, that's what I want to see for the GENERATED code. Of course it'll look different when you're writing the file.
_________________________
Domain Registration, Hosting, Management
http://www.dollardns.net

Top
#6859 - 10/31/02 12:17 AM Re: Help around some error
black^Pimp Offline
UGN GFX Whore

Registered: 09/26/02
Posts: 624
Loc: Underground
yes SR i do understand you very good and i'll correct this as soon as i get home but tell me what do you think, isn't it better to remove this damn feature at all ? It's so annoying.

thanks for all of your help SR

bp
_________________________
+^Born Intelligence

Top
#6860 - 10/31/02 06:53 AM Re: Help around some error
SilentRage Offline
DollarDNS Owner

Registered: 03/04/02
Posts: 1273
Loc: OH, USA
sure, hit counts are pointless in my opinion.
_________________________
Domain Registration, Hosting, Management
http://www.dollardns.net

Top

Moderator:  Infinite 
Featured Member
Registered: 08/20/13
Posts: 1
Forum Stats
2148 Members
46 Forums
33972 Topics
69139 Posts

Max Online: 1567 @ 04/25/10 02:20 AM
Top Posters
UGN Security 27134
Gremelin 7192
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
Gecko666, defghi795767, Devo60, ali, lavos
2147 Registered Users
Who's Online
0 registered (), 303 Guests and 328 Spiders online.
Key: Admin, Global Mod, Mod
Latest News


Donate
  Get Firefox!
Get FireFox!