Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
Post update layout issues
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 23, 2015 - 9:53 pm

looks like you have a permissions issue on your server... trying to access the stylesheet yields this error:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>403 Forbidden</title> </head><body> <h1>Forbidden</h1> <p>You don't have permission to access /wp-content/sp-resources/forum-themes/default/styles/default.php on this server.</p> </body></html>

so since the stylesheet cannot be loaded, you get no styles...

Avatar
Nancy Johnson
Member
Free Members
sp_UserOfflineSmall Offline
Aug 29, 2015 - 2:11 am

What do I need to do to fix this?

thanks!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 29, 2015 - 3:06 am

If you do not feel comfortable trying to fix up your sever permissions then I would ask your hosting support to look into it.

The bottom line is that ALL folders beneath the 'wp-content' folder require the same permissions. This would normally be 755 for folders and 644 for files.

It is also important that they check the UID and GUID (they will know what these are) on all items to ensure they also are set correctly to allow web access.

Perhaps the more important question is why your permissions here are incorrect. Your host support may have an answer. But getting things running again is more probably more of a priority.

andy-signature.png
YELLOW
SWORDFISH
Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Aug 30, 2015 - 1:40 pm

Mr Papa said
quite odd... would indeed be interested in knowing what error/condition was causing an issue...

Sorry for the late reply...

We recently moved all our sites to a new server with newer versions of PHP, cPanel, et.al. The broken style issue we had was clearly a permissions issue. WE actually had some legacy permissions from the old box set to 777 long ago that addressed past permissions problems. (I know, bad practice, but it was a quick fix long forgotten.)

On the new server, 777 perms for directories that include executables are not allowed, hence the server error preventing style files from loading. Changing permissions to 755 for /simple-press and /sp-resources did the trick!

I discovered the cause when discovering certain theme images were not loading. Upon investigation, I noticed and changed the folder permissions.

Hope this helps @macwebgrrl too. As Steve noted, there is clearly a permissions or access problem with the styles directory:

GET http://www.clangregor.com/wp-content/sp-resources/forum-themes/default/styles/default.php [HTTP/1.1 403 Forbidden 102ms]

Nancy, you may want to check your server logs if changing permissions does not fix the problem. If your server is running mod_security, there may also be a rule preventing access to the file(s). I had to whitelist various mod_sec rules on our new server to get everything running smoothly!

Thanks again...

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Aug 30, 2015 - 1:46 pm

In fact, I might investigate (or ask your server manager/host) the mod_sec issue first Nancy. Looking at the actual request URL:

/wp-content/sp-resources/forum-themes/default/styles/default.php?overlay=ice&theme=default&device=desktop&ver=4.3

Reminds me of similar dynamic URLs that were throwing false positives for some of the rules in the comodo mod_sec rule set, which resulted in 403 (access forbidden) errors.

God luck!

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
Nancy Johnson
Member
Free Members
sp_UserOfflineSmall Offline
Sep 1, 2015 - 8:59 am

Thanks. I sent a request to my hosting company. 🙂 

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Sep 1, 2015 - 9:30 am

Thanks Jim!

Best of luck Nancy, let us know how it goes.

Avatar
Nancy Johnson
Member
Free Members
sp_UserOfflineSmall Offline
Sep 15, 2015 - 12:04 am

Never got it fixed. The ISP followed your directions. No joy. 🙁
I'm looking at finding another forum solution.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 15, 2015 - 3:33 am

Yes - I see you have removed it. Sorry things went wrong there.

Looking back through this thread and what was reported we are 100% sure this still came down to permissions - either the server permissions or mod_security or some such server setting. We hope that doesn't come back to cause grief in any future options you install. If they do, and your hosting support does not come up with the answer, I would seriously recommend changing hosting company.

andy-signature.png
YELLOW
SWORDFISH
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: 649
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 618
Members: 17357
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10123
Posts: 79613