I am updated to 1.3.4
I got to my explore/add admin acp page and get same error. still no luck and just as confused.
explore.php ACP
Code:
<?php
use Resource\Native\String;
class ACPExploreController extends AppController{
public function __construct(){
parent::__construct();
$mysidia = Registry::get("mysidia");
if($mysidia->usergroup->getpermission("canmanagesettings") != "yes"){
throw new NoPermissionException("You do not have permission to manage promocode.");
}
}
public function index(){
$mysidia = Registry::get("mysidia");
throw new InvalidActionException($mysidia->lang->global_action);
}
public function add(){
$mysidia = Registry::get("mysidia");
//$document = $mysidia->frame->getDocument();
}
}
?>
view/exploreview.php
Code:
<?php
use Resource\Native\String;
use Resource\Collection\LinkedHashMap;
class ACPExploreView extends View{
public function add(){
$mysidia = Registry::get("mysidia");
$document = $this->document;
$document->setTitle("TEST");
}
}
?>
I am still getting the
Quote:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, blahblah and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
|