Html error funcion.print.php

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
piratos

Html error funcion.print.php

Post by piratos »

If i validate my pages the w3 -validator found on all pages the same error:

Code: Select all

<a href="index.php?page=1&print=true&CMSSESSID=3bec8da9f2e4abab1ea1be2a075b7c98">
and this is the reason: &CMSSESSID=  , must call &CMSSESSID ....
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: Html error funcion.print.php

Post by Ted »

That's PHP's fault for trying to put on that "transparant" session id stuff...  I'll see if I can find a way to programmatically turn it off.
Akrabat

Re: Html error funcion.print.php

Post by Akrabat »

ini_set( 'session.use_only_cookies', true );
piratos

Re: Html error funcion.print.php

Post by piratos »

That is it !!!:

if you have access to php.ini, make sure you change arg_separator.input and arg_separator.output to

arg_separator.input = '&'
arg_separator.output = '&'

You may be able to do this in an .htaccess file

php_value arg_separator.input '&'
php_value arg_separator.output '&'

As a last resort, you may be able to override it at the beginning of all your scripts in PHP itself

ini_set('arg_separator.input','&');
ini_set('arg_separator.output','&');
Locked

Return to “CMSMS Core”