1
ORbit2
news module validation
  • 2008/12/7 9:01

  • ORbit2

  • Just popping in

  • Posts: 36

  • Since: 2008/5/12


Hi,

I am working to get my site w3c valid, I am using 2.0.18 but I find a error in the news module 1.56.
This error I receve
Warning  Line 165Column 96cannot generate system identifier for general entity "PHPSESSID" .

…s/index.php?storytopic=1&start=5&PHPSESSID=1c187618bb63a73974ebad4776eeec


I think the fault is the '&' , I already looked in the themplates but I can't find what I have to change to get it right.

Has anybody a idea ?

greets,
siko

2
ORbit2
Re: news module validation
  • 2008/12/7 9:54

  • ORbit2

  • Just popping in

  • Posts: 36

  • Since: 2008/5/12


I noticed I have the same error's with other modules ,like xfguestbook 2.50, extgallery 1.01, wfdownloads 3.1 .
I have not enough knowledge to say the problem lies when these modules generate(?) or use(?) "PHPSESSID".

3
ghia
Re: news module validation
  • 2008/12/7 11:22

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


It is indeed the &, that causes these kind of problems in the validation. It should be encoded as & amp; (without the space) by passing it trough the appropriate php function (htmlspecialchars) and settings . To get it right, changements may be needed in the core and/or the module.

4
trabis
Re: news module validation
  • 2008/12/7 12:14

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Modules do not generate PHPSESSID and I don´t know how it is getting there.

5
Anonymous
Re: news module validation
  • 2008/12/7 12:18

  • Anonymous

  • Posts: 0

  • Since:


There are newer versions of both of these modules; perhaps the coding had been altered with them?

6
ORbit2
Re: news module validation
  • 2008/12/7 12:40

  • ORbit2

  • Just popping in

  • Posts: 36

  • Since: 2008/5/12


Quote:
It is indeed the &, that causes these kind of problems in the validation. It should be encoded as & amp; (without the space) by passing it trough the appropriate php function (htmlspecialchars) and settings . To get it right, changements may be needed in the core and/or the module.


Does it mean I have to look in the core of the news module ? Because in the templates I found nothing.

How can I see the assignment that it generate "PHPSESSID" in the code.

@ trabis

so that means it lies in the core of XOOPS ?

Login

Who's Online

339 user(s) are online (258 user(s) are browsing Support Forums)


Members: 0


Guests: 339


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits