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: Categories causes error

Status Resolved
Add-on / Version Publisher Lite 2.5.0
Severity
EE Version 3.5.3

Harold Kuiper

Jun 21, 2017

Hi Brain,

Description:
When I create a new entry (with a couple of categories checked) and save it as a draft. The Preview shows up perfectly. Save as Published, same results. But when I save it again as Draft I get an error “Something has gone wrong and this URL cannot be processed at this time.” (Internal 500).
This goes for both Draft and the Published version.
Sometimes when I Publish the entry again it’s al fine and sometimes I keep getting the error.
Now when I do the same as above but without the Categories it al works (saving as Draft and Published) without a problem. But as soon as I check a categorie things go bad. Save as Draft generates the Error and the Published version still works(maybe because it has no category assigned). Save the Draft as Published and the Published version is also throwing the error.

Sometimes when Publishing the other pages on the site show the error but things are fine after a reload.
During the tests I did I noticed that changing the category in the Draft version also changes it on the Published version.

Our sites navigation is partially build from categories (Per category a couple of latest entries). When I exclude the navigation it all seems to work.
Caching it seems to make it worse but couldn’t figure it out exactly.
Navigation is embedded on the layout template.

Please let me know if you need more info or anything.

Cheers,
Martijn

 

#1

BoldMinded (Brian)

Comment has been marked private.

#2

Harold Kuiper

Hi Brian,

Tried the build and the debugging but nothing comes out. I’ve copied the site to an other server and couldn’t reproduce the error. This test site doesn’t have ssl. So I disabled it on the other server and… no errors. This doesn’t make any sense to me. SSL and Categories? Any thoughts on this? I can’t disable ssl on the production version.

#3

BoldMinded (Brian)

SSL shouldn’t have anything to do with it. To be honest this sounds very peculiar and usually when a bug is reported I have a good idea of what the issue might be, but this one doesn’t make any sense. Did you try the clean install? Or removing other add-ons to see if its conflicting with something else? If you got a 500 error, there is a message logged somewhere. Have you checked the PHP error log?

#4

Harold Kuiper

Hi Brian, Yeah I totally agree that it doesn’t make any sense. I haven’t setup a clean install yet or disabled add-ons. Will do that when there’s is more time. I can see a 500 error in the logs but nothing else. So nog PHP errors. That makes me think it’s a 500 Expression Engine created. As I mentioned before the category in the draft version is also shown in the published version. So could it be when the navigation is loaded this somehow causes the error. The error is permanent when template caching is on, when it’s disabled it’s only shown in the beginning and works fine after a couple of reloads.(feels time related.) So the error is always thrown and probably caused in the navigation. Entries loop is based on category id. I recon that when the categories issue is fixed things should be fixed. I hope so. I’m not focusing on the ssl story right now.

Cheers, Martijn

#5

Harold Kuiper

Ok, think we’ve found it. Like i said it felt time related. In the nav there is a notification when an entry is last edited. (Edited one hour ago). The conditions and calculation were causing an error which didn’t show up somehow but resulted in the 500 error. So it’s not a Publisher thing. Sorry about that. The only thing remaining is the category sync but that’s not a problem for now.

Cheers, Martijn

Login to reply