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: Wrong Title/URL titles after installing the publisher !!!

Status Resolved
Add-on / Version Publisher Lite 2.4.0
Severity
EE Version 3.5.4

Behzad N. Fotoohieh

Mar 28, 2017

Dear,

Description:
I have installed the Publisher lite on my EE3 website and came up with a very strange problem!!!
Installation goes well and after its finishing when I go to EDIT/ENTRY it will list all my entries as usual and when I click them strangely it is using a random Title/URL Title but the rest of the content of the entry is correct!!!

As soon as I click on the View Draft it will show the correct Title/URL Title , Also If I turn the plugin offline again everything goes back to normal !!!
I have attached the screenshots for your reference. If you need a live access I need to setup a dev server and send you the link later.

Any idea at all!!!

Thanks
Behzad

#1

BoldMinded (Brian)

Thanks for the report Behzad. Can you do me a favor and run the following query on your database, and replace “1” with the entry_id of an entry that is showing the incorrect title. Paste the output of the query back into this ticket.

select title, `status`, lang_id from exp_publisher_titles where entry_id = 1
#2

Sears Davies

Thanks Brian,

I put it into the PHPMyAdmin and gives me this message : Current selection does not contain a unique column. Grid edit, checkbox, Edit, Copy and Delete features are not available.

title status lang_id Scott Manson status 1

#3

Sears Davies

Hi Brian again,

I checked the IDs and it seems the CMS shows the entry_id - 3 !!! for example if the if of a member is 459 then its showing the 456 title or if the id is 103 then its showing the id 100 title !?

Thanks

#4

BoldMinded (Brian)

Have you tried un-installing Publisher and re-installing?

#5

Sears Davies

Dear Brian,

As soon as uninstall the plugin and try to install it again it breaks the whole EE and not loading anything anymore! In the DB also the exp_publisher_titles empty now as it’s crashed!

#6

BoldMinded (Brian)

I don’t know what crashed means. Uninstalling Publisher will remove the exp_publisher_titles table. Is that what you mean by “crashed”.

After un-installing your site should operate just fine. What do you mean by breaks?

Please always include screenshots or error messages.

#7

Sears Davies

Dear Brian,

After uninstall everything is fine, However as soon as I re install it again. It goes to the EE dead white screen and I can not access to the backend anymore.

Thanks

#8

BoldMinded (Brian)

If you are getting a white screen you need to turn up the debugging to reveal the error. I can’t help with a white screen until you can provide an error message.

https://gist.github.com/litzinger/5598641

#9

Sears Davies

Thanks Brian,

Error Argument 1 passed to BoldMinded/Publisher/Service/Session::setCurrentLanguage() must be an instance of BoldMinded/Publisher/Model/Language, null given, called in user/addons/publisher/Service/Session.php on line 584 and defined

user/addons/publisher/Service/Session.php, line 398 hide details Severity: E_RECOVERABLE_ERROR

#10

BoldMinded (Brian)

Delete your cookies.

#11

Sears Davies

Dear Brian,

ReInstalled it and its still the same issue:

Table: exp_channel_titles entry_id 459 title Scott Manson

Table: exp_publisher_titles id 433 entry_id 459 title Scott Manson

In the CMS Edit entry 459 title Axiom welcomes new member Scott Manson This title is from Table: exp_channel_titles / entry_id 456

Hope this helps

#12

BoldMinded (Brian)

This happens on all entries? Or just this one?

What other add-ons do you have installed?

#13

Sears Davies

It happens to all entries in all channels!!! All the same pattern.

Other plugins are: chopper expresso freeform http_header low_reorder pdf_press publisher vcard3

#14

BoldMinded (Brian)

To test, I uninstalled Publisher on demo.boldminded.com, and re-installed Publisher Lite. It is showing the correct Title and URL Title values when viewing an open or draft version of an entry, and the database has the correct information. Basically I’m unable to replicate the issue.

Have you tested this with no other add-ons installed and only Publisher?

What version of PHP are you using?

#15

Sears Davies

Yes I have removed all plugins and its doing the same thing!!! Also the PHP version is 5.6.27

#16

BoldMinded (Brian)

Can you edit this ticket and provide CP and FTP credentials to a dev environment so I can take a look?

#17

Sears Davies

Sure,

I am leaving the office now. I will do this tomorrow.

Thanks

#18

Sears Davies

Hi Brian,

I have edited the ticket with CMS Login and FTP access!

Thanks

#19

BoldMinded (Brian)

It’ll be several hours before I can login and check it out. In the mean time, could you setup a clean EE installation, create a couple of entries, then install Publisher to see if it exhibits the same behavior you’re seeing on your site?

#20

BoldMinded (Brian)

There is something very strange going on with the site. At first glance it appears to be a caching issue, but after looking at it more it seems to be querying the wrong data, even though the correct parameters are being sent to the query.

Right now I’m more interested in seeing what happens when you create a clean EE install with just Publisher and trying to re-create the issue.

#21

Sears Davies

Hi Brian,

Thanks for your message. I have installed a fresh EE and publisher and added some dummy content and nothing is wrong! It happens with the content of this site.

I have tested everything , I have removed all plugins / all extra channels / even created a new channel and it does the same thing !!!

Its very strange ! not sure about the ee default plugins! as you can see there is no default plugin installed (i.e. Query - RSS - jQuery & …)

Thanks

#22

BoldMinded (Brian)

Yeah I don’t know what is happening yet. I looks like EE’s internal query is messing up, but don’t know why.

#23

BoldMinded (Brian)

Behzad, I still can’t pinpoint what the issue is. If this was a widespread issue I would be getting reports from other people about it, and I would have seen it during the year or so Publisher 2 was in development, and it would be able to be reproduced either by myself or by your new environment, but it isn’t happening anywhere else, which leads me to believe that its something specific with your site.

#24

Sears Davies

Hi Brian,

Thanks for your time and sorry to hear that but I understand that might be the case. So In this case I will create a fresh EE and install the Publisher before adding contents and then will add channel contents one by one and If I get the same issue will let you know.

Thanks

#25

BoldMinded (Brian)

FWIW I have a ticket with the EllisLab devs to see if they might be aware of anything internal that could be causing the query to goof up.

Login to reply