Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Strange Random '1' Appears, Help would be grateful
Forbez
post Feb 10 2008, 06:11 AM
Post #1


Privileged Member
*********

Group: [HOSTED]
Posts: 572
Joined: 13-December 06
Member No.: 35,271



Very strange this, it's happened twice to me now. It seems to happen when I use the includes statement. Everything I do, I get a random '1' (without the quotes) appear on the page.

Here it is here: http://www.brutalwarfare.trap17.com/teams/?t=73

(Please respect that that website is still in devolpment.)
Just below the 'Downloads' link is the strange '1'.

Have any of you got this, or had it in the past anf fixed it? If you do know how to fix this, i'd be gratful if you told me how you fixed it.
If you need to know any scripts i've used, simply ask and i'll supply you with it.
Go to the top of the page
 
+Quote Post
truefusion
post Feb 10 2008, 07:27 AM
Post #2


Ephesians 6:10-17
Group Icon

Group: [MODERATOR]
Posts: 1,868
Joined: 22-June 05
From: The World of Gentoo
Member No.: 8,528
T17 GFX Crew



In the coding, what's before the gradual fader script? I mean, besides the 1: PHP script? Could be an echo statement that was missed or something.
Go to the top of the page
 
+Quote Post
sonesay
post Feb 10 2008, 07:37 AM
Post #3


|||[ n00b King ]|||
*********

Group: [HOSTED]
Posts: 643
Joined: 20-June 07
From: Auckland
Member No.: 45,102



Truefusion is right we know where the problem is Forbez

HTML
</div>1<script type="text/javascript" src="/scripts/gradualfader.js">
/***********************************************
* Gradual Element Fader- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Visit [url=http://www.dynamicDrive.com]http://www.dynamicDrive.com[/url] for hundreds of DHTML scripts
* This notice must stay intact for legal use
***********************************************/


You have to look through your php code and find out whats being outputed before that javascript. It could be a miss type or even an echo of '1' or echo of boolean will result in 1. Just something to keep in mind when checking. Since you have not supplied us any code you will have to look yourself or if you still have problems post that section. But it should be straight froward to find.

Good luck.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Random Drug Searches In High School(12)
  2. Strange Thing Happened To My Computer(26)
  3. Is It Possible To Weigh Random Numbers?(6)
  4. Strange .log Files On My Desktop(10)
  5. Notepad Working With Bush? - You Have To Try It(24)
  6. Do You Like George Bush(10)
  7. How To Make A Random 7 Number Code?(2)
  8. Hello(5)
  9. Really Strange Year(6)
  10. Strange...(14)
  11. Random Jokes...(0)
  12. A Little Help With My Cat?(4)
  13. Outlook 2003 Has A Strange Problem(0)
  14. Bad Ram Can Cause Computer Failure To Start?(7)
  15. Random Bryce Renders(0)
  1. Free Web Hosting: (strange-garden) [approved](1)
  2. Php Random Titles(11)
  3. I Have Several Random Questions...(8)
  4. Strange Cell Phone With Strange Applet(3)
  5. Strange Habits & Beliefs(2)
  6. Strange Site Problems(2)
  7. Some Things I Hate(2)
  8. Lucky Pic Of My Dog(2)
  9. Random Ventingness(5)
  10. Frontpage Problem(0)
  11. I'm Having A Strange Problem With My Ping In Cs:s(27)
  12. Random Thoughts(11)
  13. Strange Isn't It...(0)


 



- Lo-Fi Version Time is now: 26th July 2008 - 09:36 AM