Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > General Discussion > General Support

General Support Questions about using the Easy PHP Calendar. (Not installation or customizations)

Closed Thread
 
Thread Tools Search this Thread Display Modes

XHTML 1.0 Valid Coding
Old 01-08-2005, 04:43 PM   #1
usermanual
Calendar User
 
usermanual is offline
Join Date: Jan 2005
Posts: 5
Default XHTML 1.0 Valid Coding

This topic may have been commented on previously, however, I could not find any resolution to my problem.

In the persuit of completely valid XHTML compliant code, the calendar script is throwing errors when I validate my pages as XHTML 1.0 Transitional.

Could someone please explain how they fixed this problem, and if it has never been discussed, could a soultion be found?

Thank you,

Jon

Last edited by usermanual; 01-08-2005 at 11:45 PM.
 

Update
Old 01-08-2005, 05:52 PM   #2
usermanual
Calendar User
 
usermanual is offline
Join Date: Jan 2005
Posts: 5
Default Update

Also,

Because the XHTML won't validate, I am having errors with getting my CSS to validate as well. It keeps throwing errors with table tags and various other code from .php files related to the calendar.

Hoping for a quick resolution. If you want to see what it's doing, try to validate http://www.c-miller.com for CSS or XHTML. Then if you want to see how it looks without the calendar try http://www.c-miller.com/crystal.html

Thanks

Jon
 

Old 01-08-2005, 11:06 PM   #3
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

I just validated Version 5.7 and only came up with one error.

Line 174, column 7: end tag for "TABLE" which is not finished

</table>

Most likely, You nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>

Another possibility is that you used an element (e.g. 'ul') which requires a child element (e.g. 'li') that you did not include. Hence the parent element is "not finished", not complete.


I'll look into this, but it should not cause any rendering problems with your pages.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 01-08-2005, 11:38 PM   #4
usermanual
Calendar User
 
usermanual is offline
Join Date: Jan 2005
Posts: 5
Default

Thank you for checking into this issue.

I am not sure which version I have of the calendar software, however, I did buy it today (Jan 8) and I would assume you would have the most recent version available for purchase.

I am open to the possibility that my page may have coding errors, however, without the tags reccomended to me in the installation instructions that came with the calendar, the page validates perfectly as XHTML 1.0 Transitional, as does the CSS. It is only when I place the 3 tags in the index.php document that I am getting errors upon validation. I recieve 44 errors and the first 12 deal with tables, which I have not used in my coding so I assume they are inherited from the calendar script. Here is a link to the error URL.

Here are the 3 php codes I place in the document and their locations.

1) <?php $CSS=1; require ("escal/showCalendar.php"); ?>
This is located just before the </head> tag in the document.

2) <?php $OL=1; require ("escal/showCalendar.php"); ?>
This is the first line of code in the document just after the <body> tag.

3) <?php require ("escal/showCalendar.php"); ?> This is located at the point in the document where I would like the calendar located.

You are more than welcome to look over my documents as they are linked in my post above. I have checked all my nested tags and can not find any errors. Thank you again for your attention to this matter.

Jon

Last edited by usermanual; 01-08-2005 at 11:44 PM. Reason: Add. Info
 

Old 01-09-2005, 09:13 AM   #5
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

The page I validated is the demo script from this site and should be in your distribution as demo.php. This contains both the calendar and listings module.

Here's the CSS validation:

http://jigsaw.w3.org/css-validator/v...usermedium=all

Here's the XHTML validation:

http://validator.w3.org/check?uri=ht...v57%2Fdemo.php

The CSS has no errors and the XTHML has the error I spoke about in my previous post.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 01-09-2005, 09:16 AM   #6
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

If you add an event to the demo, you will see a CSS error but the XHTML error will be gone (still need to check into the XHTML error). The CSS error is for cross-browser compatibility, but will be changed in a future version.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 01-10-2005, 02:46 PM   #7
usermanual
Calendar User
 
usermanual is offline
Join Date: Jan 2005
Posts: 5
Default

Thanks for your response, however, I am not clear on what you are saying.

Does this mean that you are working on resolving the issue or are you suggesting I still have errors somewhere?

Thanks,

Jon
 

Old 01-10-2005, 03:01 PM   #8
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

I don't see validation errors with the calendar script (other than the one mentioned earlier). If there are multiple errors on your pages, it may have something to do with existing code on your pages?
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 01-10-2005, 03:22 PM   #9
usermanual
Calendar User
 
usermanual is offline
Join Date: Jan 2005
Posts: 5
Default

Ok,

I found the problem. The code for the structure of the calendar is in HTML 4.0 which does not validate correctly. It comes up with 4 errors Error Log

I took this from the demo.php calendar on the server my calendar is placed on.

The reason I am getting errors is because my site is coded in XHTML 1.0 Transitional not HTML 4.0. When the validator attempts to do it's job it runs into errors with mixed tags. Your HTML 4.0 tags are not equal to some of my XHTML tags. At this point the only way to fix this error is if you re-code the calendar in XHTML or if I re-code my site in HTML 4.0 but at this time they will not mix and validate correctly.

Jon
 

Old 01-10-2005, 03:28 PM   #10
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

If I run the same validation on my server and the current demo (http://phpcal.com/v57/demo.php) I get different results? The second style error, I can't change because it would adversely affect the the listings module.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Xhtml 1.1 anthony General Support 2 02-16-2005 12:34 PM



All times are GMT -4. The time now is 12:41 PM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |