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
Upgraded to 5.7 but forum not displaying properly
Avatar
sbt
Member
sp_UserOfflineSmall Offline
Aug 14, 2016 - 4:30 pm

Yes I cleared both caches with no luck.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 14, 2016 - 4:31 pm

did you try disabling?

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

http://sharpbettingtalk.com/wp.....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..

Avatar
sbt
Member
sp_UserOfflineSmall Offline
Aug 14, 2016 - 4:39 pm

Okay going to have him look into that right now

Avatar
sbt
Member
sp_UserOfflineSmall Offline
Aug 14, 2016 - 4:45 pm

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]#

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 14, 2016 - 4:55 pm

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

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

Avatar
sbt
Member
sp_UserOfflineSmall Offline
Aug 14, 2016 - 4:56 pm

Yes I just disabled both in global settings

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 14, 2016 - 5:00 pm

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

http://sharpbettingtalk.com/wp.....;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)...

Avatar
sbt
Member
sp_UserOfflineSmall Offline
Aug 14, 2016 - 5:06 pm

Okay looking into this right now

Avatar
sbt
Member
sp_UserOfflineSmall Offline
Aug 14, 2016 - 5:27 pm

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

Avatar
sbt
Member
sp_UserOfflineSmall Offline
Aug 14, 2016 - 5:31 pm

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.

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: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626