Hey people,

I think I found the problems in global.php.

Kinda tricky cos it is related to PHP version AND the register_globals php.ini
setting. In Sm 1.2.9 the sqsession_register and sqsession_unregister do an
extra check using:

    $rg = ini_get('register_globals');
    if ( !check_php_version(4,1) && empty($rg)) {

I think this is not entirely correct as I am using PHP 4.0.6 and register
globals = on, so the register/unregister won't use the appropriate code for
PHP 4.0.6, but the code for 4.1 and higher.

I made a patch for global.php for SM 1.2.9 which removed this check and added
session_(un)register. This is however not a really sound fix, but it works.
Maybe Jonathan can come up with a propper solution.

The patches are included (also one for SM 1.3.2 which won't work in all cases)..

Greetz,

Roalt Zijlstra

-- 
Project-Based Calendar System
http://www.pbcs.org
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED] (Work)

Attachment: SM-1.2.9-global.patch
Description: Binary data

Attachment: SM-1.3.2-global.patch
Description: Binary data

Reply via email to