phpgroupware-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [phpGroupWare-users] Trouble on sitemanager with an user...


From: Benoit Hamet
Subject: Re: [phpGroupWare-users] Trouble on sitemanager with an user...
Date: Fri, 09 Mar 2007 17:18:27 +0100
User-agent: Icedove 1.5.0.9 (X11/20061220)

Hi Marco,

Sorry, I got a lot's of problems and forgot yours,

Marco Gaiarin wrote:
I was thinking of something like a _debug_array($_POST); in the sitemgr
portion of code responsible for the recording. so perhaps in the bo save
function. So you can check that the value that the user try to save is
correctly passed to php, and check that's phpgw is destroying it.
Hem, please, can give me some practical examples? I'm not a PHP guru...

Please, i'm still in trouble...

In sitemgr/inc/class_ContentUI.inc.php near line 80 :

            $page_id = $_GET['page_id'];
            $cat_id = $_GET['cat_id'];
            $block_id = $_GET['block_id'];
//add this after
{
        $mystr = _debug_array('Get output :', false);
        $mystr .= _debug_array($_GET, false);
        $mystr .= _debug_array('Post output',false);
        $mystr .=_debug_array($_POST,false);
        $mystr .= "\n--\n";
        $hd = fopen('/tmp/debug_manage'.$_SERVER['REMOTE_ADDR'].'.txt', 'a');
        fwrite($hd, $mystr);
        fclose($hd);
}

NOTE : /tmp should be writable for apache process.

Then ask your user to do the test, and send us the resulting file.

Regards.

Caeies.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]