I upgraded to PHP 5 on my server and i couldn't get cpg to work. I'm not a pro in PHP coding but i think that i figured out that it is because cpg uses extensively the "deprecated" $HTTP_POST_VARS kind of syntax. Apparently what was deprecated in previous versions of PHP is now forbidden in version 5 and the whole thing falls apart.
Is there a quick fix for that problem? Do you plan to make the code of cpg PHP5 compatible?
Thank you for that otherwise brilliant piece of software!
please search the forums for php5 for the fix.
Right, I set register_long_arrays to On in the php.ini file and everything seems to have gotten back to normal.
Still, I would suggest to the team of developper to upgrade the whole source code to the new versions of these variables (HTTP_GET_VARS --> _GET) because it had been deprecated for a while and because it is extremely bewildering for the user if it doesn't occur to him to look at the http error logs (one of the many errors i had was red message when trying to authenticate: "Your navigator does not accept cookies" hmmm ??? i had no idea that PHP5 could be related to that! now i understand why, of course)
Thanks a lot, and sorry for the noise!
register_long_arrays is on by default in PHP 5
That change is already made for CPG 1.4