Support Forum

Upgraded to 5.7 but forum not displaying properly

36 Answers

New Answer

MP Mr Papa
Mr Papa
Member

interestingly your site is disallowing access… says cookies are not allowed or enabled… which is incorrect…

MP Mr Papa
Mr Papa
Member

so, as recommended, did you go to forum – toolbox – housekeeping and clear the combined css and js caches?  there seems to be an issue with them…  either doesnt exist or permissions not allowing access…

you could also try disabling the combined caches on forum – options – general settings..

MP Mr Papa
Mr Papa
Member

but appears easily solvable if  you do what is asked… or at least will point to the issue…

MP Mr Papa
Mr Papa
Member

did you try disabling?

looks like its a permissions issue… not web accessible.. try the path to file:

http://sharpbettingtalk.com/wp-content/sp-resources/forum-cache/sp-plugin-styles-all.css?ver=32

errors out…  check the permission of that file… and make sure you wp-content/sp-resources directory is not protected so its web accessible..

SB sbt
sbt
Member

The permissions seem correct for this account and its files, however that file and one other in this directory have no content:

—
root@host [/home/wecovers/public_html/sharpbettingtalk/wp-content/sp-resources/forum-cache]# ls -l
total 40
drwxr-xr-x 2 wecovers wecovers 4096 Aug 14 16:31 ./
drwxr-xr-x 12 wecovers wecovers 4096 Sep 11 2015 ../
-rw-r–r– 1 wecovers wecovers 32684 Aug 14 16:31 sp-plugin-scripts-desktop-header.js
-rw-r–r– 1 wecovers wecovers 0 Aug 4 2015 sp-plugin-scripts-header.js
-rw-r–r– 1 wecovers wecovers 0 Aug 14 16:31 sp-plugin-styles-all.css

root@host [/home/wecovers/public_html/sharpbettingtalk/wp-content/sp-resources/forum-cache]# cat sp-plugin-styles-all.css
root@host [/home/wecovers/public_html/sharpbettingtalk/wp-content/sp-resources/forum-cache]#

MP Mr Papa
Mr Papa
Member

which seems to indicate we cannot write to them to update…

did you try disabling as requested???  lets find out if cache issue…

MP Mr Papa
Mr Papa
Member

so again, try loading the direct css file now (its not cached)…

http://sharpbettingtalk.com/wp-content/sp-resources/forum-themes/default/styles/default.php?overlay=fools-gold&theme=default&device=desktop&site=0&ver=4.5.3

you get an error…  its not accessible by the web user…

so besides permissions, check the uid/gid (owners) of the file and directories…

you may not be allowing access to the php served css…  you can also try a non php theme file (ie css only or barebones css)…

SB sbt
sbt
Member

I still haven’t heard back from but will update as soon as I do.

SB sbt
sbt
Member

This is what he sent back to me. So next step is upgrade theme to barebones css?

 


Hi,

Please pass this along to the plug in developer. The file in question does appear to be a style, but is not a CSS file – it’s a php file. This is an unusual way to define a style and I’m not sure I’ve ever seen this done this way before in a WordPress theme. However, the permissions in this directory look fine:

—
root@host [/home/wecovers/public_html/sharpbettingtalk/wp-content/sp-resources/forum-themes/default/styles]# ls -l
total 108
drwxr-xr-x 4 wecovers wecovers 4096 Apr 14 17:35 ./
drwxr-xr-x 5 wecovers wecovers 4096 Apr 14 17:35 ../
-rw-r–r– 1 wecovers wecovers 69759 Apr 14 17:35 default.php
-rw-r–r– 1 wecovers wecovers 8207 Apr 14 17:35 default-rtl.css
drwxr-xr-x 2 wecovers wecovers 4096 Apr 14 17:35 images/
drwxr-xr-x 2 wecovers wecovers 4096 Apr 14 17:35 overlays/
-rw-r–r– 1 wecovers wecovers 2155 Apr 14 17:35 reset.css
-rw-r–r– 1 wecovers wecovers 2117 Apr 14 17:35 reset-rtl.css
—

The ownership is correct and the files/directories are 644/755 which are correct permissions. I didn’t see any permissions issues leading into this directory.

I looked into this further suspecting an .htaccess rule preventing access and after a few minutes of searching I found /home/wecovers/public_html/sharpbettingtalk/wp-content/.htaccess:

—
root@host [~]# cat /home/wecovers/public_html/sharpbettingtalk/wp-content/.htaccess



Order allow,deny
Deny from all


Require all denied


—

I’m not certain what this code is supposed to do, but it does seem to block access to the file (and perhaps other php files inside wp-content). When I renamed the .htaccess file I was able to access it without issues and see the style displayed.

Please let me know if you have any other questions.