PDA

View Full Version : Expected ;



shizzle
June 1st, 2002, 21:55
What the heck is an "expected ;" error. i get it alot, I want to know what it is!!!

meow
June 1st, 2002, 22:37
What it says. A semi colon is expected but isn't there. :classic2:

shizzle
June 2nd, 2002, 09:09
Is there a php checker, since I dont want to count 117 lines from the top in notepad...

meow
June 2nd, 2002, 09:13
Sorry, I thought you were talking about the usual javascript error. Dosn't it tell you the line?

trenzterra
June 2nd, 2002, 09:44
Originally posted by shizzle
Is there a php checker, since I dont want to count 117 lines from the top in notepad... www.evrsoft.com


meow, he wants to find where the hell the line is.

meow
June 2nd, 2002, 10:17
He doesn't trust us! :crysad: :crysad: :crysad:

http://www.geekvillage.com/forums/showthread.php?s=&threadid=17145

trenzterra
June 2nd, 2002, 10:33
Originally posted by meow
He doesn't trust us! :crysad: :crysad: :crysad:

http://www.geekvillage.com/forums/showthread.php?s=&threadid=17145 but you may get a faster reply!

shizzle
June 2nd, 2002, 10:36
1stpage got me to the line number... but its. (gasp) empty!

meow
June 2nd, 2002, 11:02
Word Wrap on?
Was it Javascript anyway?

shizzle
June 2nd, 2002, 11:16
php. Javascript doesnt need ;s.

trenzterra
June 2nd, 2002, 11:17
Originally posted by shizzle
1stpage got me to the line number... but its. (gasp) empty! maybe that line just need a ; inside.

shizzle
June 2nd, 2002, 11:17
Now I got the right number, but char 37 is right in the middle of a sentence. Could be that IE gets the number while its wordwrapped, but then how do I find the number. My index page is a bunch of includes.

trenzterra
June 2nd, 2002, 11:26
Originally posted by shizzle
Now I got the right number, but char 37 is right in the middle of a sentence. Could be that IE gets the number while its wordwrapped, but then how do I find the number. My index page is a bunch of includes. Are you sure you are on the right line? Because in the beginning you said the error is in line 117 while it is actually on 119.

meow
June 2nd, 2002, 11:29
Originally posted by shizzle
php. Javascript doesnt need ;s.
Mine do. Aren't there any PHP debuggers?

shizzle
June 2nd, 2002, 11:29
I know. It was a typo in the post. Im on the right line.

trenzterra
June 2nd, 2002, 11:30
Originally posted by shizzle
I know. It was a typo in the post. Im on the right line. can you show me the code? I could work on it.

shizzle
June 2nd, 2002, 11:31
Just click view source...

trenzterra
June 2nd, 2002, 11:33
Originally posted by shizzle
Just click view source... could IE refer to the raw index.php file if any?

shizzle
June 2nd, 2002, 11:34
oh... I dont think so. But, still, if I gave you the raw one, wouldnt you not be able to find the error since its on line 119 of the client side page, as all the includes are server side?

trenzterra
June 2nd, 2002, 11:35
Originally posted by shizzle
oh... I dont think so. But, still, if I gave you the raw one, wouldnt you not be able to find the error since its on line 119 of the client side page, as all the includes are server side? I think before parsing it, IE detected this error? Anyway no harm trying... Give me a url to download the file in a zip or something.

shizzle
June 2nd, 2002, 11:39
Nope, I looked at it already. Its full of weird commands and stuff. It isnt even 119 lines long. plus, its postnuke managed. I can PM the code to you.

EDIT: nope, too long for that. Now how can I do it....?

trenzterra
June 2nd, 2002, 11:40
Originally posted by shizzle
Nope, I looked at it already. Its full of weird commands and stuff. It isnt even 119 lines long. plus, its postnuke managed. I can PM the code to you. then I don't know. Maybe email the maker of the theme you're using?

meow
June 2nd, 2002, 11:40
The site in your sig? That's a Javascript error. :D

shizzle
June 2nd, 2002, 11:41
it is...? damn

shizzle
June 2nd, 2002, 11:41
well I still cant find it. I might just email the theme maker.

meow
June 2nd, 2002, 11:54
IE sees what you see when you View Source - what the server serves when it has chewed it, not the dísc file on the server.

Damn' you - that file is hexed! I could save it to my disk once. When I had edited it couldn't be saved. So I saved it as something else. Same thing happened then I had to reboot. WTF have you written? :eek:

Cyber
June 2nd, 2002, 12:22
I FOUND THE ERROR!!!


ONMOUSEOVER="window.status='learn if filesharing's legal or not'; changeImages('contactButton', 'themes/mblocSputnik/images/contactButton-over.gif'); return true;"

The word filesharing>>'<<s!

You can't use the ' in it, thats why it errors.

meow
June 2nd, 2002, 12:30
Damn' you are good! 600+ lines of indented code isn't easy to read. :birthday:
*wags tail in appreciation*

shizzle
June 2nd, 2002, 14:26
thanks. What do I use then?

meow
June 2nd, 2002, 15:00
Escape it: filesharing\'s
or write it out: filesharing is ;)