Help validating my site

Locked
dthomas
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Fri Feb 16, 2007 3:03 pm

Help validating my site

Post by dthomas » Thu May 31, 2007 10:32 am

Hi Guys. Iam using the html tidy plugin for firefox to verify my html and have got 142 warnings on my page. Most of my warnings are refererring to the unescaped & or unknown entity "&task". These are actual links to pages that have been created thro joomla. I have also got 24 warnings referring to my google ads frame. Does anyone know how I can rectify this problem.

Here is a link to my website so you can check it out.

http://www.livemusicblog.co.uk/

Hope someone can help

Cheers guys

User avatar
drewhiggins
Joomla! Explorer
Joomla! Explorer
Posts: 253
Joined: Sun Feb 25, 2007 11:02 am
Location: Australia

Re: Help validating my site

Post by drewhiggins » Thu May 31, 2007 12:53 pm

http://validator.w3.org/check?uri=http% ... g.co.uk%2F

See there and it should tell you.




Though if you can't see any problems should it really matter? I've checked both Firefox 2.0.0.4 and IE7, looks good to me.
Last edited by drewhiggins on Thu May 31, 2007 12:56 pm, edited 1 time in total.
Your eyes make a circle
I see you when I go in there
Your eyes, your eyes...

dthomas
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Fri Feb 16, 2007 3:03 pm

Re: Help validating my site

Post by dthomas » Thu May 31, 2007 1:15 pm

cheers fro that drew.  Have now identified that my & that is used in my webpages needs to be changed to &amp.  Thats where a lot of my html warnings are representing, but how do I modify the links thro' joomla.  Where are they situated so that I can change the links????

Cheers

User avatar
drewhiggins
Joomla! Explorer
Joomla! Explorer
Posts: 253
Joined: Sun Feb 25, 2007 11:02 am
Location: Australia

Re: Help validating my site

Post by drewhiggins » Thu May 31, 2007 2:14 pm

I'd say your index.php file - I think. Either in your root folder (top) or the template folder, your template you're using. I am pretty sure. Someone else may be able to help you further but I am not exactly sure. I haven't come across this type of thing before.

I see you've started already, now 119 errors down from 152.

Make a backup first!!!!!!! Make a backup first!!!!!!!
Your eyes make a circle
I see you when I go in there
Your eyes, your eyes...

dthomas
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Fri Feb 16, 2007 3:03 pm

Re: Help validating my site

Post by dthomas » Thu May 31, 2007 2:26 pm

yeah.  cheers for that drew.  have started.......am chnging the index.php file, but because my links are not located in the index.php file I do not know where I can get to them.  I can see what the link are in the administartion pages, but where I edit it them am baffled.  Cheers anyway drew.

Hope someone can help tho' 

User avatar
drewhiggins
Joomla! Explorer
Joomla! Explorer
Posts: 253
Joined: Sun Feb 25, 2007 11:02 am
Location: Australia

Re: Help validating my site

Post by drewhiggins » Thu May 31, 2007 2:46 pm

According to the error report, lots of errors occur in the com_search file under root/components but I am not sure where to edit them.
Your eyes make a circle
I see you when I go in there
Your eyes, your eyes...

User avatar
drewhiggins
Joomla! Explorer
Joomla! Explorer
Posts: 253
Joined: Sun Feb 25, 2007 11:02 am
Location: Australia

Re: Help validating my site

Post by drewhiggins » Thu May 31, 2007 2:49 pm

It seems the index.php file in your top-level directory is where the errors are occuring. I can try and fix a bit for you, check your Private Messages,
Your eyes make a circle
I see you when I go in there
Your eyes, your eyes...

dthomas
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Fri Feb 16, 2007 3:03 pm

Re: Help validating my site

Post by dthomas » Thu May 31, 2007 2:53 pm

drew.  have just discovered where the majority of my errors are occuring about 80 errors.  Its to do with my tag cloud on the right of my page.  Am gonna see if I can sort that out.

User avatar
drewhiggins
Joomla! Explorer
Joomla! Explorer
Posts: 253
Joined: Sun Feb 25, 2007 11:02 am
Location: Australia

Re: Help validating my site

Post by drewhiggins » Thu May 31, 2007 2:56 pm

Yeah where all that stuff is on your right-hand side is where errors occur. That's where it said in the code. Remove those and see what happens.

I just did a test on mine as a quick check...15 errors only.
Your eyes make a circle
I see you when I go in there
Your eyes, your eyes...

dthomas
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Fri Feb 16, 2007 3:03 pm

Re: Help validating my site

Post by dthomas » Thu May 31, 2007 3:02 pm

Yeah.  have checked the php file and located the section of code here


  echo "".($showhits == 0 ? $k : "$k ($v)")."  \n";


any ideas how I can change this to make it correct????

dthomas
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Fri Feb 16, 2007 3:03 pm

Re: Help validating my site

Post by dthomas » Thu May 31, 2007 3:04 pm

I changed the & in the link to &amp but got an error on my page.    do I have to do it like this instead & with the semi-colon

User avatar
drewhiggins
Joomla! Explorer
Joomla! Explorer
Posts: 253
Joined: Sun Feb 25, 2007 11:02 am
Location: Australia

Re: Help validating my site

Post by drewhiggins » Thu May 31, 2007 3:05 pm

Don't quote me.

I suspect the   \n"; is the error.


As for the second bit, I am not sure.
Your eyes make a circle
I see you when I go in there
Your eyes, your eyes...

dthomas
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Fri Feb 16, 2007 3:03 pm

Re: Help validating my site

Post by dthomas » Thu May 31, 2007 3:07 pm

I think its this bit here drew search&searchword=$kurl&searchphrase=exact&ordering=newest\  where the & are I think I need to change them??? but how :P

User avatar
drewhiggins
Joomla! Explorer
Joomla! Explorer
Posts: 253
Joined: Sun Feb 25, 2007 11:02 am
Location: Australia

Re: Help validating my site

Post by drewhiggins » Thu May 31, 2007 3:10 pm

Not quite sure at this stage. But whatever you did it has 128 errors now rather than the 119.

I don't think they're critical errors so they won't affect how the site works. Even Joomla.org has 7 or so errors, but I cannot figure this out. Give me a while unless someone else figures it out first.
Last edited by drewhiggins on Thu May 31, 2007 3:13 pm, edited 1 time in total.
Your eyes make a circle
I see you when I go in there
Your eyes, your eyes...

dthomas
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Fri Feb 16, 2007 3:03 pm

Re: Help validating my site

Post by dthomas » Thu May 31, 2007 3:14 pm

voila.  Have sussed it drew.  I changed the code to the following

option=com_search&searchword=$kurl&searchphrase=exact&ordering=newest


missed the semi-colon out.  Down to 20 odd errors now.  cheers for the support mate.  thanks
;D ;D

User avatar
drewhiggins
Joomla! Explorer
Joomla! Explorer
Posts: 253
Joined: Sun Feb 25, 2007 11:02 am
Location: Australia

Re: Help validating my site

Post by drewhiggins » Thu May 31, 2007 3:18 pm

32 according to the Validator page. But that's 87 less.

I had to admit, nobody could do as bad as MySpace at 220+ errors.
Your eyes make a circle
I see you when I go in there
Your eyes, your eyes...

User avatar
drewhiggins
Joomla! Explorer
Joomla! Explorer
Posts: 253
Joined: Sun Feb 25, 2007 11:02 am
Location: Australia

Re: Help validating my site

Post by drewhiggins » Thu May 31, 2007 3:18 pm

Five errors on mine now? How did I do that?
Your eyes make a circle
I see you when I go in there
Your eyes, your eyes...

dthomas
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Fri Feb 16, 2007 3:03 pm

Re: Help validating my site

Post by dthomas » Thu May 31, 2007 3:20 pm

would appreciate it if you colud show me where u have rectified those errors thro my private messages.  Once again thanks for your time drew

User avatar
drewhiggins
Joomla! Explorer
Joomla! Explorer
Posts: 253
Joined: Sun Feb 25, 2007 11:02 am
Location: Australia

Re: Help validating my site

Post by drewhiggins » Thu May 31, 2007 3:24 pm

You've pretty much ironed them out. I did a couple - closed off the tag for the Assoc part with />, but I forgot to bloody well save it. Otherwise I would have sent it through for you. Sorry about that.

And if you need help, PM me anytime or email - my email's there.
Your eyes make a circle
I see you when I go in there
Your eyes, your eyes...

dthomas
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Fri Feb 16, 2007 3:03 pm

Re: Help validating my site

Post by dthomas » Thu May 31, 2007 3:32 pm

cheers drew

dthomas
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Fri Feb 16, 2007 3:03 pm

Help getting my links validated

Post by dthomas » Thu May 31, 2007 4:30 pm

Hi guys.  Am just validating my pages.  Had 130 or so warnings and now have 13.  The main issues are with this sort of thing  unescaped & or unknown entity "&id".  These links have been created thro Joomla and are linking to my static content pages.  How can I locate this problem.  I know how to rectify it  change the & to &  but do not know where it is in joomla to change it.

Would anyone be able to point me in the right direction

User avatar
Jenny
Joomla! Champion
Joomla! Champion
Posts: 6238
Joined: Sun Aug 21, 2005 2:25 pm
Contact:

Re: Help getting my links validated

Post by Jenny » Thu May 31, 2007 4:35 pm

This is rather the same issue in general as your other post (validation) so I am going to merge the two together. 
Co-author of the Official Joomla! Book http://officialjoomlabook.com
Marpo Multimedia http://marpomultimedia.com

Flasheroni
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Sun Jul 22, 2007 5:14 pm

Re: Help validating my site

Post by Flasheroni » Tue Jul 24, 2007 8:02 pm

Guys,

If you change the links like the posts above, it will break your links. PHP requires the variables in the form of variableOne=abc&variableTwo=def&variableThree=ghi    etc, etc...

The variables are passed in the URI.

cheers


Locked

Return to “Design and Accessibility - Archived”