Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Issues installing Publisher

Status Resolved
Add-on / Version Publisher Lite 2.10.5
Severity
EE Version 3.5.10

Jason Hampton

Jan 10, 2019

Hi there,
I have some problems with my publisher CMS side… The only thing I can think of is that the Structure plugin is slightly out of date, however the errors I’m receiving don’t seem to be correlating back to structure strictly.  See below:

Uncaught ReferenceError: Publisher is not defined
Uncaught TypeError: $form.publisherToolbar is not a function

My installation steps were as follows:

1) Unzip plugin to local folder
2) Move themes folder into development server themes folder
3) Move system folder into development server system folder.
4) Turn on plugin
5) Had to update memchached on server to resolve warning error.

At this point when I access the ‘publish’ or ‘edit’ pages, I get the draft/published “save as” bar at the top, but following that it stops, and I can’t change between it, and it seems to be failing to load the library.

Could this be because structure is out of date?  We didn’t want to purchase that until we were 100% sure that publisher was installed and working.  If you think that is the root of this issue, I’ll get it updated.

To my untrained eye it seems there might be some files missing from the themes side, though?


Note:  We do have Matrix installed on this site which i appreciate isn’t supported - this is something we’ll have to tackle going forward.

#1

BoldMinded (Brian)

Please disable your custom theme. There is a very real chance it could be breaking something.

Those errors you’re getting, and based on the error in your console, indicate that one of the JS files isn’t being loaded. Have you tried replicating this in a new environment with no other add-ons or customizations? Is there anything in your htaccess/server rules that could be preventing the JS files from loading? Go to the Publisher > Utilities > Diagnostics page to make sure all hooks are correctly installed. Its also possible that another add-on is not using the cp_js_end hook correctly, which is preventing Publisher’s JS from getting added to the page.

#2

Jason Hampton

Comment has been marked private.

#3

BoldMinded (Brian)

I’d check the Digi Nut extension and see if the cp_js_end hook has a conditional similar to this, if not, then it would definitely cause problems with Publisher and other add-ons.

public function cp_js_end()
    {
        $scripts = [];

        // If another extension shares the same hook
        if (ee()->extensions->last_call !== false) {
            $scripts[] = ee()->extensions->last_call;
        }

Login to reply