Jump to content

Recommended Posts

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...