header image will not display. please help

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
goose
New Member
New Member
Posts: 2
Joined: Sun Jan 24, 2010 7:10 pm

header image will not display. please help

Post by goose »

it seems that wherever i host the image i cant get it to displayin the header, or anywhere. 

im am using "Layout: Top menu + 2 columns"

i have installed cmsms v 1.6.6 on a linux server

if i type in the direct location of the image into my browser i recieve an error. 500 internal server error

"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request."

this is the css being used:

/* header, we will hide h1 a text and replace it with an image, we assign a height for it so the image wont cut off */
  div#header {
background: #000 url(uploads/images/header.png) no-repeat;
height: 120px;         
  }

  div#header h1 a {
  /* you can set your own image here */
     background: #000 url(uploads/images/header.png) no-repeat 0 12px;
     display: block;
     height: 120px;         /* adjust according your image size */
     text-indent: -999em;  /* this hides the text */
     text-decoration:none; /* old firefox would have shown  underline*/
  }                        /*  for the link, this explicitly hides it*/

div#header h1 {
margin: 0;
padding: 0;
/*these keep IE6 from pushing the header to more than the set size*/
line-height: 0;
font-size: 0;
/* this will keep IE6 from flickering on hover */
background: url(uploads/images/header.png) no-repeat left top;
}
div#header h2 {
/* this is where the site name is */
float: right;
line-height: 1.2em;
/* this keeps IE6 from not showing the whole text */
font-size: 1.5em;
/* keeps the size uniform */
margin: 35px 65px 0px 0px;
/* adjust according your text size */
color: #333;
}

i have even tried installing a theme which includes its own images, the css apllies fine but the images do not disply.

is this a setting on the server, a setting within cmsms or a css issue? please help.    any advice would be appretiated.
reneh
Dev Team Member
Dev Team Member
Posts: 446
Joined: Tue Nov 28, 2006 8:39 pm

Re: header image will not display. please help

Post by reneh »

permision to see the image on the server!
ReneH 8-)
A search will save you hours waiting for an answer! Image
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: header image will not display. please help

Post by Rolf »

got a link to the website?
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
goose
New Member
New Member
Posts: 2
Joined: Sun Jan 24, 2010 7:10 pm

Re: header image will not display. please help

Post by goose »

i sorted it now. I had recently changed from a windows server to a linux server. not knowing that this created a .htaccess file

after messing about with the settings in this file to no avail, simply removing it altogether was the only fix i could find.

yes reneh you were right that it was permisions as the .htaccess files sets permisions for file access aswell as other things.

thanks

goose

goldeneggdesign.co.uk (please note that this site is still being worked on)
Post Reply

Return to “CMSMS Core”