By Steve Comeau on Tuesday, 09 February 2016
Posted in General Issues
Replies 3
Likes 0
Views 272
Votes 0
I am getting a 500 error when saving an article with "loadpostion" in the post.

Post: FUEL Up For Less with The Herald

I can provide Joomla access, I cannot provide FTP access. That will need to be done via myself

I have looked in the logs and there is no errors in either the apache or php logs.
Hey Steve,

There is something that the module is doing when the blog post is saved. I believe they are probably fiddling around with the "document" object. I am not too sure what their scripts are doing.

Since the saving process is "ajax" based, this will often cause errors if the module / plugin is trying to perform some actions relating to the document object.
·
Tuesday, 09 February 2016 14:52
·
0 Likes
·
0 Votes
·
0 Comments
·
ok ... are you saying that when the "post" is "being saved" in the backend, the "loadposition" code is actually being "executed" as opposed to the text just being saved?
·
Wednesday, 10 February 2016 05:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, because when EasyBlog saves the blog post, it actually triggers Joomla's trigger before saving a post just like what Joomla article does. However, the difference is that in EasyBlog, the "save" request are made via "AJAX" (not a page refresh) and if the module tries to do something extraordinary like manipulating with the "Document" object in Joomla without first testing the document type, it'll hit errors.
·
Wednesday, 10 February 2016 13:21
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post