Joomla! Discussion Forums



It is currently Wed Nov 25, 2009 7:02 pm (All times are UTC )

 




Post new topic Reply to topic  [ 23 posts ] 
Author Message
 Post subject: Help validating my site
Posted: Thu May 31, 2007 10:32 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Fri Feb 16, 2007 3:03 pm
Posts: 83
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


Top
   
 
Posted: Thu May 31, 2007 12:53 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Sun Feb 25, 2007 11:02 am
Posts: 251
Location: Australia
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.

_________________
Your eyes make a circle
I see you when I go in there
Your eyes, your eyes...


Last edited by drewhiggins on Thu May 31, 2007 12:56 pm, edited 1 time in total.

Top
   
 
Posted: Thu May 31, 2007 1:15 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Fri Feb 16, 2007 3:03 pm
Posts: 83
cheers fro that drew.  Have now identified that my & that is used in my webpages needs to be changed to &.  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


Top
   
 
Posted: Thu May 31, 2007 2:14 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Sun Feb 25, 2007 11:02 am
Posts: 251
Location: Australia
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...


Top
   
 
Posted: Thu May 31, 2007 2:26 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Fri Feb 16, 2007 3:03 pm
Posts: 83
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' 


Top
   
 
Posted: Thu May 31, 2007 2:46 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Sun Feb 25, 2007 11:02 am
Posts: 251
Location: Australia
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...


Top
   
 
Posted: Thu May 31, 2007 2:49 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Sun Feb 25, 2007 11:02 am
Posts: 251
Location: Australia
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...


Top
   
 
Posted: Thu May 31, 2007 2:53 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Fri Feb 16, 2007 3:03 pm
Posts: 83
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.


Top
   
 
Posted: Thu May 31, 2007 2:56 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Sun Feb 25, 2007 11:02 am
Posts: 251
Location: Australia
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...


Top
   
 
Posted: Thu May 31, 2007 3:02 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Fri Feb 16, 2007 3:03 pm
Posts: 83
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????


Top
   
 
Posted: Thu May 31, 2007 3:04 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Fri Feb 16, 2007 3:03 pm
Posts: 83
I changed the & in the link to & but got an error on my page.    do I have to do it like this instead & with the semi-colon


Top
   
 
Posted: Thu May 31, 2007 3:05 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Sun Feb 25, 2007 11:02 am
Posts: 251
Location: Australia
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...


Top
   
 
Posted: Thu May 31, 2007 3:07 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Fri Feb 16, 2007 3:03 pm
Posts: 83
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


Top
   
 
Posted: Thu May 31, 2007 3:10 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Sun Feb 25, 2007 11:02 am
Posts: 251
Location: Australia
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.

_________________
Your eyes make a circle
I see you when I go in there
Your eyes, your eyes...


Last edited by drewhiggins on Thu May 31, 2007 3:13 pm, edited 1 time in total.

Top
   
 
Posted: Thu May 31, 2007 3:14 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Fri Feb 16, 2007 3:03 pm
Posts: 83
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


Top
   
 
Posted: Thu May 31, 2007 3:18 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Sun Feb 25, 2007 11:02 am
Posts: 251
Location: Australia
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...


Top
   
 
Posted: Thu May 31, 2007 3:18 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Sun Feb 25, 2007 11:02 am
Posts: 251
Location: Australia
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...


Top
   
 
Posted: Thu May 31, 2007 3:20 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Fri Feb 16, 2007 3:03 pm
Posts: 83
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


Top
   
 
Posted: Thu May 31, 2007 3:24 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Sun Feb 25, 2007 11:02 am
Posts: 251
Location: Australia
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...


Top
   
 
Posted: Thu May 31, 2007 3:32 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Fri Feb 16, 2007 3:03 pm
Posts: 83
cheers drew


Top
   
 
Posted: Thu May 31, 2007 4:30 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Fri Feb 16, 2007 3:03 pm
Posts: 83
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


Top
   
 
Posted: Thu May 31, 2007 4:35 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Sun Aug 21, 2005 2:25 pm
Posts: 4103
Location: Somewhere Near Here
This is rather the same issue in general as your other post (validation) so I am going to merge the two together. 

_________________
Love good music, especially the blues? http://www.jennifermarriott.com
Need a Joomla Consultant? http://www.marpomultimedia.com
JOOMLA ROCKS


Top
  E-mail  
 
Posted: Tue Jul 24, 2007 8:02 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Jul 22, 2007 5:14 pm
Posts: 9
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


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group