New Zenner
- Join Date:
- Mar 2008
- Posts:
- 31
- Plugin Contributions:
- 0
CSS problems - Stylesheet won't load
Now my css is broken.
Can anyone look at my source code here http://modern-contemporaryfurniture.com
and see if they can see the problem?
New Zenner
Black Belt
http://modern-contemporaryfurniture.com/includes/templates/12541/css/stylesheet.cssSomething in your server setup or ?? is preventing your stylesheets from being read.
<!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 /includes/templates/12541/css/stylesheet.css
on this server.</p>
<hr>
<address>Apache/2.0.54 Server at modern-contemporaryfurniture.com Port 80</address>
</body></html>
New Zenner
gjh42:
Something in your server setup or ?? is preventing your stylesheets from being read.
Sensei
Sensei
New Zenner
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mnt/gs01/herd04/8190/domains/modern-contemporaryfurniture.com/html/includes/configure.php:135) in /mnt/gs01/herd04/8190/domains/modern-contemporaryfurniture.com/html/includes/functions/sessions.php on line 108
Warning: Cannot modify header information - headers already sent by (output started at /mnt/gs01/herd04/8190/domains/modern-contemporaryfurniture.com/html/includes/configure.php:135) in /mnt/gs01/herd04/8190/domains/modern-contemporaryfurniture.com/html/includes/init_includes/init_templates.php on line 78
™ ™
Warning: I am able to write to the configuration file: /home/8190/domains/modern-contemporaryfurniture.com/html/includes/configure.php. This is a potential security risk - please set the right user permissions on this file (read-only, CHMOD 644 or 444 are typical). You may need to use your webhost control panel/file-manager to change the permissions effectively. Contact your webhost for assistance.
Black Belt
New Zenner
kobra:
Try switching to the classic template through the admin and see if the issue persists
Sensei
Sensei
New Zenner
DrByte:
Does your hosting account give you access to the server errorlogs for your site?
If so, check what messages are in the errorlog. Any 403 errors should be listed there. Hopefully there is also a "reason" listed with the error message.
If you can't see the logs yourself, contact your hosting company for access or get them to give you a copy of the errorlogs from the last 24 hours etc.
denied: /home/8190/domains/modern-contemporaryfurniture.com/html/includes/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://modern-contemporaryfurniture.com/
[Fri Apr 04 08:57:37 2008] [crit] [client 12.41.116.10] (13)Permission denied: /home/8190/domains/modern-contemporaryfurniture.com/html/includes/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://modern-contemporaryfurniture.com/
[Fri Apr 04 08:57:37 2008] [crit] [client 12.41.116.10] (13)Permission denied: /home/8190/domains/modern-contemporaryfurniture.com/html/includes/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://modern-contemporaryfurniture.com/
[Fri Apr 04 08:57:37 2008] [crit] [client 12.41.116.10] (13)Permission denied:
Sensei
Permission denied: /home/8190/domains/modern-contemporaryfurniture.com/html/includes/.htaccessWhat are the permissions on the /includes/.htaccess file?
New Zenner
DrByte:
What are the permissions on the /includes/.htaccess file?
Sensei
New Zenner
DrByte:
That would seem normal.
But, you said this all started happening around the time you were altering your configure.php and changing permissions, right?
Perhaps you've accidentally changed something else related to permissions.
Now, something that's puzzling ...
You said you renamed /includes/.htaccess to htaccess_off
When you did that, and then checked the server errorlogs, do you keep getting new permissions errors about /includes/.htaccess ?
You shouldn't.
So ... what happens if you delete the /includes/.htaccess file altogether? Don't rename it. Just delete it. That gets rid of the permissions issue which would follow the file when you rename it.
Sensei
johnbtes:
I have now deleted the includes/.htaccess and no changes
New Zenner
DrByte:
So, after deleting the file, are the errorlogs *still* logging *new* permission errors?
denied: /home/8190/domains/modern-contemporaryfurniture.com/html/includes/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://modern-contemporaryfurniture.com/
[Fri Apr 04 10:47:41 2008] [crit] [client 12.41.116.10] (13)Permission denied: /home/8190/domains/modern-contemporaryfurniture.com/html/includes/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://modern-contemporaryfurniture.com/
[Fri Apr 04 10:47:41 2008] [crit] [client 12.41.116.10] (13)Permission denied: /home/8190/domains/modern-contemporaryfurniture.com/html/includes/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable,
Sensei
New Zenner
DrByte:
... and you're sure that you've been working with the correct .htaccess file?
ie: /home/8190/domains/modern-contemporaryfurniture.com/html/includes/.htaccess
Sounds like you need to talk to your hosting company for specific help.
New Zenner
johnbtes:
Does this make sense though? For the .htaccess to be affecting the permission of the stylesheets?
When I went to change the template in the Admin to classic and I just clicked preview it threw a 403 because of the preview image.
If I just edited and changed the theme I didn't get the 403, just an error talking about my meta tags module.
I'm not sure why the .htaccess would be doing this?
Destination thread ID and reason are required when shown.
Tell staff why this post should be reviewed.
Required for login, security, and core site functionality.
Help us understand how the site is used so we can improve it.
Used for promotion and personalized campaign measurement.