NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[unmapped remote file] Unknown


Joined: 18 Jan 2005
Posts: 5
Reply with quote
Anybody knows this error?

I have a little loop like
Code:

if(array_key_exists("memberof", $SecurityOfficer[0])) {
    for($i = 0; $i < $SecurityOfficer[0]["memberof"]["count"]; $i++) {
        if($SecurityOfficer[0]["memberof"][$i] == $LDAPSRV[0]["USER"]["securitytag"])         $IsSecOff = TRUE;
        if($SecurityOfficer[0]["memberof"][$i] == $LDAPSRV[0]["USER"]["toktag"])              $IsTokTag = TRUE;
        if($SecurityOfficer[0]["memberof"][$i] == $LDAPSRV[0]["USER"]["ssurtag"] && $IsAdmin) $IsSsurTag = TRUE;
    }
}

if(array_key_exists("ownerof", $SecurityOfficer[0]) && $IsAdmin) {
    for($i = 0; $i < $SecurityOfficer[0]["ownerof"]["count"]; $i++) {
        if($SecurityOfficer[0]["ownerof"][$i] == $LDAPSRV[0]["USER"]["ssurtag"]) $IsLroTag = TRUE;
        }
    }


Adding two watches $SecurityOfficer[0]["memberof"][$i] and $SecurityOfficer[0]["ownerof"][$i] causes an error while debugging!

I get a new tab named [unmapped remote file] Unknown, a log entry Failed to find local file "Unknown" corresponding to "Unknown" remote file, a message box Error: E_NOTICE\nUndefined variable: SecurityOfficer and after pressing F7 for the next step a message box Error: E_WARNING\nUnknown(): The second argument should be either an array or an object!

Somewhere during this procedure i get this error too and the debug session will be killed: Error [8] Undefined index:
Critical failure in line 1 of file dbg_eval()


The last error seems to be a php error, all the rest occours in the PHPed IDE!

Please help me! Debugging works almost fine WITHOUT adding watches!


Bye,

Markus
View user's profileFind all posts by rocitSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
Quote:
Error: E_WARNING\nUnknown(): The second argument should be either an array or an object
Looks like you have a function or method call in the Watches where you make this call with wrong or non-existing arguments or method call with non-existing object.

Quote:
Error [8] Undefined index:
Critical failure in line 1

what dbg and php versions do you run?
I'd recommend you to switch to php-4.3.7 or higher and dbg 2.16.15.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 18 Jan 2005
Posts: 5
Reply with quote
i´m using DBG v2.16.14 & PHP/4.3.7.

how can i get dbg 2.16.15?? i can´t download it because there is nothing in Free downloads/Customer Patches/debugger modules

where to get this newer version??

thanks,

markus
View user's profileFind all posts by rocitSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
Sorry, there was bogus "Customer Patches" in the Free Downloads folder. Please login the to the site and open Customer Patches link on the left pane. You'll find debugger modules there.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 18 Jan 2005
Posts: 5
Reply with quote
If you mean i should login over shop.nusphere.com (on the right pane), there is no link "Customer Patches" on the left!

I only can see something as follows:

Categories
NuSphere Store
Evaluate
Purchase
Maintenance Renewal
Upgrade
Free Downloads

NuSphere Corporation

Help
Recover password
Contact us
View user's profileFind all posts by rocitSend private message


Joined: 18 Jan 2005
Posts: 5
Reply with quote
Ok, sorry!

I used my evaluation login instead of my company login!

Now i use dbg .15!

Same errors...!
View user's profileFind all posts by rocitSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
ok. Please post your script and content of the Watches window to support AT nusphere DOT com
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 18 Jan 2005
Posts: 5
Reply with quote
Should i email the whole script to support AT nusphere DOT com?

Is it possible that the error will be caused by incorrect dependencies in my project.

I´m not able to send the whole project!


I tried the same procedure with only one script...that works almost fine.

I think the watches are not the reason of the error(s), same failure occours moving the mouse over a variable to see it´s value in the tooltip while debugging.
View user's profileFind all posts by rocitSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
I'd highly appreciate if you create the smallest possible set of scripts that will replicate the problem and yes please send it at the specified address.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
[unmapped remote file] Unknown
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic