Call to undefined function PHPDS_exception()

Bug #1039522 reported by Bill Gosse
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PHPDevShell
Fix Committed
Low
Greg

Bug Description

Uncaught Exception while running

This page will try to provide as much information as possible so you can track down (and hopefully fix) the problem.
The error

The message of the error is as follow:

    Call to undefined function PHPDS_exception()

The error occurred in file /opt/lampstack/apps/phpdevshell/htdocs/includes/PHPDS_core.class.php at line 430

    424 $this->loadControllerFile($menu_id);
    425 break;
    426 // External File.
    427 case 4:
    428 // Require external file.
    429 if (!$this->loadFile($navigation[$menu_id]['menu_link'])) {
    430 PHPDS_exception(sprintf(___('File could not be found after trying to execute filename : %s'), $navigation[$menu_id]['menu_link']));
    431 }
    432 break;
    433 // HTTP URL.
    434 case 5:
    435 // Redirect to external http url.
    436 $this->ok(sprintf(___('You are now being redirected to an external url, %s'), $navigation[$menu_id]['menu_link']), false, false);
    437 $this->navigation->redirect($navigation[$menu_id]['menu_link']);

Revision history for this message
Bill Gosse (bill-gosse) wrote :

I think line 430 should be:

throws new PHPDS_exception(sprintf(___('File could not be found after trying to execute filename : %s'), $navigation[$menu_id]['menu_link']));

Greg (gregfr)
Changed in phpdevshell:
importance: Undecided → Low
status: New → Fix Committed
milestone: none → 3.2.1-stable
Greg (gregfr)
Changed in phpdevshell:
milestone: 3.2.1-stable → 3.5
Greg (gregfr)
Changed in phpdevshell:
assignee: nobody → Greg (gregfr)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.