Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Entire forum display corrupted - very strange?
Avatar
Christopher Paris
Member
Free Members
sp_UserOfflineSmall Offline
May 5, 2016 - 9:34 pm

This just happened up today. I'm not sure what would have caused this, as I haven't made any changes. All plugins are up to date. We did move to https a week or so ago, but the forum was tested since then and has been working fine. 

Any ideas?

 

Image Enlarger

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 6, 2016 - 12:18 am

well, it wont just happen... something had to have changed... wp update?  wp theme update?  plugins?  simple press updates?

on forum - integration - page and permalink, is https showing properly?

if you are using the combined css cache, you might go to forum - toolbox - housekeeping and try clearing it...

link to the site would be useful as well..

Avatar
Christopher Paris
Member
Free Members
sp_UserOfflineSmall Offline
May 6, 2016 - 8:54 am

Sorry, the forum link is here.

In checking the Error Log I found this, from April 22:

22 April, 2016 8:23 PM | spaErrError | 14 | database

file: /var/www/html/emma/wp-content/sp-resources/forum-plugins/blog-linking/sp-linking-plugin.php
line: 148
function: sp_update_blog_link
error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND post_index=1' at line 1

It then includes some text from a post, but the post is very old (Sep 2015) and hasn't been touched. Anyway, this may point to a SQL error? 

This is the only error shown in the log.

Avatar
Christopher Paris
Member
Free Members
sp_UserOfflineSmall Offline
May 6, 2016 - 9:02 am

I see a Mantis discussion on this subject and it appears to be open.

http://mantis.simple-press.com.....#038;nbn=2

But if I'm reading it right (I'm not a coder, so who knows) it doesn't appear to have caused any actual display corruption. So I'm not sure it's the same problem. But that's the only error in my log, and the dates may actually line up with when this problem happened. 

Cleared the caches in the Housekeeping page, ran a few of the other cleaning options, no effect.

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
May 6, 2016 - 9:34 am

As far as I'm aware that error has never actually caused any problems. In terms of blog linking it didn't disrupt the process and in terms of display it had no impact.

It looks like no CSS is being loaded at all for your forum. What theme are you using?

Using my browser console I'd expect to see all SP styles loaded but instead under default.php I see:


403 Forbidden

How about the question regarding permalinks? Are you seeing https correctly?

The only thing that immediately comes to mind is your server isn't allowing a PHP file to be used as a CSS file, but unless something on the server changed or your hosting changed things it wouldn't have just happened out of the blue.

I'm also not sure how to check if this is actually the problem other than making an educated guess - Andy or Steve might know a way to confirm but I haven't been able to find anything on a quick search. You can of course test by trying out Barebones CSS Only theme - If that works, then maybe try the regular Barebones Theme, and if that doesn't work then that's most likely the problem and you could probably put the question to your hosting company.

But the bottom line is something must have changed, updated, been added etc.. And it could very well be something you're unaware of.

Are you getting any errors in your PHP error log?

Avatar
Christopher Paris
Member
Free Members
sp_UserOfflineSmall Offline
May 6, 2016 - 9:49 am

In Chrome when I use the console inspector, I see this error related to theme, so I think that's the right track:

GET https://www.oxebridge.com/emma.....;ver=4.5.1
jquery-migrate.min.js?ver=1.4.0:2

JQMIGRATE: Migrate is installed, version 1.4.0

Uncaught ReferenceError: _ is not defined

(anonymous function) @ advanced-image-styles.js?ver=0.4:148

Switching to the CSS Only theme fixes the problem, and the page displays properly, but I do still see this error in console:

advanced-image-styles.js?ver=0.4:148

Uncaught ReferenceError: _ is not defined(anonymous function) @ advanced-image-styles.js?ver=0.4:148

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 6, 2016 - 10:35 am

forget the blog linking notice... its harmless and unrelated...

so what is doing advanced-image-styles?? that is not a simple press function...

the real problem, I believe, lies in that the forum styles are not web accessible... notice the error Ike posted trying to access the styles...

are possibly your server is now disallowing access to php type css... are you using nginx?

Avatar
Christopher Paris
Member
Free Members
sp_UserOfflineSmall Offline
May 6, 2016 - 11:31 am

I don't know what nginx is, so will have to ask my web guy.

I will hunt down the advance-image-styles... I don't know what that is either, and it's not a recent wordpress plugin. Will check and report back.

Thanks.

Avatar
Christopher Paris
Member
Free Members
sp_UserOfflineSmall Offline
May 6, 2016 - 11:44 am

Advance Image Styles was a plugin that is no longer compatible with the latest WP. I deactivated it, but that's had no effect on the problem at hand.

So it looks like we are coming down to this PHP / CSS issue. I will keep pursuing that. We did make a change to Securi WAF so I am wondering if that caused a problem.

Does using the CSS-only theme cause any functional issues? It actually looks rather nice!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 6, 2016 - 11:47 am

No, the css only theme is just a different look/style... everything works the same...  it exists for those hosts that block the user of php files for css (this allows our overlay system)...

you probably just need to get Sucuri to whitelist the theme php file for you...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625