Jump to content

Recommended Posts

Posted

I recommend using the latest versions either 3.1.0 or 3.0.8.

 

Blank page could be any reason, have you got a log (tools > logs > modules) or a error_log?

Posted

Apache Error Log is empty, and I don't have the Modules Log you mentioned.

 

As far as the version is concerned, we have a lot of custom code that would imply lots of work to get it updated. And we have it running in our internal network so we're keeping this one for now.

Posted

Try enabling error reporting and see if that white page turns into an error message.

 

To enable error reporting, edit /config/blesta.php and change
 
Configure::errorReporting(0);
 
to
 
Configure::errorReporting(-1);
Posted

Well, it seems like this structure.pdt is required, but also not mentioned anywhere on the docs.

 

I copied it over from another plugin, but now I just get a blank page with the contents of my admin_main view and nothing else.

Posted

I had this issue myself and its kind of really annoying.

 

Add this to your controller's preAction method:

        $this->structure->setDefaultView(APPDIR);
        $this->structure->setView(null, $this->orig_structure_view);

Add this to your plugin's main controller preAction (i.e.: plugin_controller.php file):

                $this->view->view = "default";
                $this->orig_structure_view = $this->structure->view;
                $this->structure->view = "default";

Note that your controller (where you call setView()) has to extend your plugin's controller for this to work.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...