Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
ModSquadHockey Posted May 7, 2016 Posted May 7, 2016 Hello, When a user attempts to edit a post on our forum, the edit interface comes up but the window to actually make the edits seems to be... missing? See attached. IPS v4.1.10 PHP 5.4.45 MySQL 5.5.46 Where should I begin looking?
chilihead Posted May 7, 2016 Posted May 7, 2016 4.1.10 did not support PHP 5.4, so upgrade to 4.1.11. There was a patch but it is gone, probably because 4.1.11 was released.
Nathan Explosion Posted May 7, 2016 Posted May 7, 2016 6 minutes ago, chilihead said: 4.1.10 did not support PHP 5.4, so upgrade to 4.1.11. There was a patch but it is gone, probably because 4.1.11 was released. Good advice but as the issue he has is front-end, the back-end version of PHP shouldn't be relevant here. Where to look? Basically, figure out if there is a javascript error appearing - the editor is JS, it should be loading at that point...if it isn't then there may be a JS issue. If you want to go further - provide a URL to your site so people can register and test it out.
ModSquadHockey Posted May 7, 2016 Author Posted May 7, 2016 Here's the Javascript console errors when I click the edit link under a post.
Nathan Explosion Posted May 7, 2016 Posted May 7, 2016 There's your cause: http://modsquadhockey.com/forums/uploads/javascript_forums/front_front_topic.js.fe6cf21959f218edc6030763c59e9d38.js?v=3b89dfa754 That doesn't exist. Simple test - does it work in the default IPS theme?
ModSquadHockey Posted May 7, 2016 Author Posted May 7, 2016 1 minute ago, Nathan Explosion said: There's your cause: http://modsquadhockey.com/forums/uploads/javascript_forums/front_front_topic.js.fe6cf21959f218edc6030763c59e9d38.js?v=3b89dfa754 That doesn't exist. Simple test - does it work in the default IPS theme? It doesn't. That was the first thing I tried to ensure it wasn't a theme issue. Do you have a suggestion to fix this?
ModSquadHockey Posted May 8, 2016 Author Posted May 8, 2016 I did some digging tonight. From what I can tell, the /uploads/javascript_forums/front_front_topic.js file APPEARS to be created any time a user edits a post, with a different ID each time. I think, I may be wrong. Either way, its clearly not a part of the core IPS system, nor is it a part of the theme we have installed. So that leaves plugins. I disabled all plugins and the edit button started working. I started enabling the plugins again one by one, and actually got to the end of them and the edit button kept working. So my guess is on the last upgrade (to 4.1.10), something got "stuck". I'm not sure exactly what, but it seems to be working correctly for now at least.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.