View Single Post
  #10  
Old 09-26-2014, 10:14 AM
FounderSim FounderSim is offline
Member
 
Join Date: Sep 2014
Posts: 65
Gender: Male
Credits: 7,881
FounderSim is on a distinguished road
Default

Ok, So I came to the conclusion I am not so crazy afterall, just frustrated.

Code:
<?php

use Resource\Native\Integer;
use Resource\Native\String;
//use Resource\Collection\HashMap;

class TesterController extends AppController{

	//private $friendlist;

    public function __construct(){
        parent::__construct("member");
		$mysidia = Registry::get("mysidia");			            
    }
	
	public function index(){
	    throw new InvalidActionException("global_action");
	}
	

	
	public function test(){
		$mysidia = Registry::get("mysidia");            
	}
}
?>

Code:
<?php

use Resource\Native\String;
use Resource\Collection\LinkedHashMap;

class TesterView extends View{
		
	
	public function test(){
		$mysidia = Registry::get("mysidia");
		$document = $this->document;  
        $document->setTitle("TEST");
        //$document->addLangvar($mysidia->lang->remove);        
	}
}
?>

These files will work on PLAYER SIDE, but if i change the class names to ACPTesterView and ACPTester and move to correct locations, they will error and provide

Code:
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, blahblahblah 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.
Reply With Quote