Previous Thread
Next Thread
Print Thread
Rate Thread
#6852 10/24/02 01:00 PM
Joined: Sep 2002
Posts: 624
UGN GFX Whore
OP Offline
UGN GFX Whore
Joined: Sep 2002
Posts: 624
Hi guys.

well first of all sorry to bug you with my probs but i really can't take this annoying [censored] 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
#6853 10/30/02 10:45 AM
Joined: Mar 2002
Posts: 23
Likes: 1
UGN Newbie
Offline
UGN Newbie
Joined: Mar 2002
Posts: 23
Likes: 1
my suggestion is that you check what's written on line 1... wink


If you think you know something completely, you probably don't know enough.
#6854 10/30/02 11:08 AM
Joined: Mar 2002
Posts: 860
Likes: 1
Der �belt�ter
Offline
Der �belt�ter
Joined: Mar 2002
Posts: 860
Likes: 1
Post the first 20 or so lines...and we'll try to help ya.

#6855 10/30/02 01:31 PM
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
Offline
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
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. smile


Domain Registration, Hosting, Management
http://www.dollardns.net
#6856 10/30/02 02:19 PM
Joined: Sep 2002
Posts: 624
UGN GFX Whore
OP Offline
UGN GFX Whore
Joined: Sep 2002
Posts: 624
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
#6857 10/30/02 02:38 PM
Joined: Sep 2002
Posts: 624
UGN GFX Whore
OP Offline
UGN GFX Whore
Joined: Sep 2002
Posts: 624
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
#6858 10/30/02 05:34 PM
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
Offline
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
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
#6859 10/31/02 01:17 AM
Joined: Sep 2002
Posts: 624
UGN GFX Whore
OP Offline
UGN GFX Whore
Joined: Sep 2002
Posts: 624
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
#6860 10/31/02 07:53 AM
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
Offline
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
sure, hit counts are pointless in my opinion.


Domain Registration, Hosting, Management
http://www.dollardns.net

Link Copied to Clipboard
Member Spotlight
Phatal
Phatal
Houston, TX
Posts: 298
Joined: April 2004
Forum Statistics
Forums41
Topics33,840
Posts68,858
Average Daily Posts1
Members2,176
Most Online3,253
Jan 13th, 2020
Latest Postings
Where and how do you torrent?
by danni75 - 03/01/24 05:58 AM
Animation,
by JohanKaariainen - 08/15/19 01:18 AM
Blackbeard.....
by Gremelin - 10/03/18 07:02 PM
my old account still exists!
by Crime - 08/10/18 02:47 PM
Okay WTF?
by HenryMiring - 09/27/17 01:45 AM
The History Thread...
by Gremelin - 08/11/17 12:11 PM
My friend NEEDS your HELP!
by Lena01 - 07/21/17 12:06 AM
I'm having fun with this guy.
by gabithompson730 - 07/20/17 01:50 AM
I want to upgrade my phone
by gabithompson730 - 07/20/17 01:49 AM
Doom 3
by Cyrez - 09/11/14 08:58 PM
Amazon Gift Card Generator/KeyGen?te
by Gecko666 - 08/22/14 09:21 AM
AIM scene 99-03
by lavos - 09/02/13 08:06 AM
Planetside 2
by Crime - 03/04/13 07:10 AM
Beta Testers Wanted
by Crime - 03/04/13 06:55 AM
Hello Everyone
by Gremelin - 02/12/12 06:01 PM
Tracfone ESN Generator
by Zanvin Green - 01/18/12 01:31 PM
Python 3 issue
by Testing - 12/17/11 09:28 PM
tracfone airtime
by Drache86 - 07/30/11 03:37 AM
Backdoors and the Infinite
by ZeroCoolStar - 07/10/11 03:52 AM
HackThisZIne #12 Releaseed!
by Pipat2 - 04/28/11 09:20 PM
gang wars? l33t-wars?
by Gremelin - 04/28/11 05:56 AM
Consolidate Forums
by diggin2deep - 04/21/11 10:02 AM
LAN Hacking Noob
by Gremelin - 03/12/11 12:42 AM
Top Posters
UGN Security 41,392
Gremelin 7,203
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Likes Received
Ghost 2
Cyrez 1
Girlie 1
unreal 1
Crime 1
Powered by UBB.threads™ PHP Forum Software 7.7.5