I updated my userpage recently, and added new code to it, but when I go to my
userpage using internet explorer I get an error. The html and css code are
valid, but I can't seem to find a reason why. I'm thinking it maybe another
language, but I dunno.
My userpage works in mozilla, but I dunno why it doesn't work in Internet
Explorer.
Here's the error:
Parse error: syntax error, unexpected T_STRING in
/new/minitokyo/public_html/cache/_members_u(...) on line 142
hmm, it looks fine in IE for me. Does this happen when you try to update it, and
doesn't let you or something? I've experienced things similar to that when
trying to update group userpages, and I think it might have something to do with
the alt text (for images) being too long.. I dunno why, but when I shortened the
alt text it worked.... Or maybe it could be a missing or extra quotation
somewhere?
It doesn't happen when I update the userpage, it happens pretty much when I try
to refresh the page. Also when I go back to the page.
I don't think it can be a missing quotation mark, b/c I checked the xhtml many
times and its xhtml compliant.
About the alt text, I tried shortening the alt text to 2 characters, but I still
get the same error message, when I click for a refresh.
Did you add any scripts to your page? If so, try removing them and see what
happens. If that doesn't do the trick, try removing all of your code, (html and css codes
as well) and add the code back little by little until the problem occurs again.
That might help. The problem may not be a syntax error, but a code clash.
Quote by DarkSerge2000Could you
post your code so we can see if we might be able to find the problem? I can't
view your source even when your page shows correctly.
I don't have a good source code anymore.
Quote by norine07i can't see anything
either~ i use firefox too!~ and can't see any codes as well.
merged: 12-24-2007 ~ 12:39am
is this wad you mean?
Yup thats the problem.
Quote by asinine
there is an error here. Its in bold.
Thou it is minor.
Quote by aarom1Do the comments affect the
code, in some way?
I learned CSS and html in 3 days at school, so I didn't get a a good grasp on
it.
As long as you close your comments correctly, there should
be no problem; however, it's more clean and organized when the comments are
placed before or after the code execution.
Quote by aaron1I think I will write a new
code for my userpage to solve this problem.
Hi,
I updated my userpage recently, and added new code to it, but when I go to my userpage using internet explorer I get an error. The html and css code are valid, but I can't seem to find a reason why. I'm thinking it maybe another language, but I dunno.
My userpage works in mozilla, but I dunno why it doesn't work in Internet Explorer.
Here's the error:
Parse error: syntax error, unexpected T_STRING in /new/minitokyo/public_html/cache/_members_u(...) on line 142
hmm, it looks fine in IE for me. Does this happen when you try to update it, and doesn't let you or something? I've experienced things similar to that when trying to update group userpages, and I think it might have something to do with the alt text (for images) being too long.. I dunno why, but when I shortened the alt text it worked.... Or maybe it could be a missing or extra quotation somewhere?
It doesn't happen when I update the userpage, it happens pretty much when I try to refresh the page. Also when I go back to the page.
I don't think it can be a missing quotation mark, b/c I checked the xhtml many times and its xhtml compliant.
About the alt text, I tried shortening the alt text to 2 characters, but I still get the same error message, when I click for a refresh.
Here are 2 pictures of what happens, when I refresh my userpage:
http://img175.imageshack.us/img175/9183/imagefd0.jpg
http://img175.imageshack.us/img175/3287/imagesqm6.jpg
Did you add any scripts to your page? If so, try removing them and see what happens. If that doesn't do the trick, try removing all of your code, (html and css codes as well) and add the code back little by little until the problem occurs again. That might help.
The problem may not be a syntax error, but a code clash.
Is it fix yet?
There is no script in my code.
I have tried to rebuild my code, but I still get the same error message in IE.
I still can't figure out the problem.
Could you post your code so we can see if we might be able to find the problem? I can't view your source even when your page shows correctly.
there is an error here. Its in bold.
Thou it is minor.
line 142.
i can't see anything either~ i use firefox too!~ and can't see any codes as well.
merged: 12-24-2007 ~ 12:39am
is this wad you mean?
Also its better if you leave all your comments ( /*..... */ ) out of your {.... }
I don't have a good source code anymore.
Yup thats the problem.
Arrite, I'll fix it up, I didn't notice those errors.
Do the comments affect the code, in some way?
I learned CSS and html in 3 days at school, so I didn't get a a good grasp on it.
I think I will write a new code for my userpage to solve this problem.
As long as you close your comments correctly, there should be no problem; however, it's more clean and organized when the comments are placed before or after the code execution.
That may help.
I think I have solved the error. My userpage can now be viewed on IE and FireFox.
Thanks for the help!