Results 1 to 9 of 9
  1. #1
    Join Date
    Feb 2008
    Posts
    111
    Plugin Contributions
    0

    Default Problem with CSS Stylesheet

    I have a MAJOR problem lol

    If anyone could help I appreciate it! The site is www.pinkinkgraphics.com

    Ok I am trying to add a background to the site everytime I try to save the stylesheet I get this error


    File Saved
    open stylesheet.css failed: Permission denied at cpanel.pl line 590 Carp::croak('open stylesheet.css failed: Permission denied') called at /usr/local/cpanel/Cpanel/Fileman.pm line 1240 Cpanel::Fileman::fmsavefile('%2fhome%2fpinking%2fpublic_html%2fincludes%2ftempla tes%2fclassic...', 'stylesheet.css', '/**^M^J * Main CSS Stylesheet^M^J *^M^J * @package templateSystem^M^J * ...', '', 1) called at cpanel.pl line 590 main::__ANON__('%2fhome%2fpinking%2fpublic_html%2fincludes%2ftemplates%2fclassic ...', 'stylesheet.css', '/**^M^J * Main CSS Stylesheet^M^J *^M^J * @package templateSystem^M^J * ...', '', 1) called at cpanel.pl line 1763 main::exectag('<cpanel Fileman="fmsavefile($FORM{\'dir\'},$FORM{\'file\'},$FORM...') called at cpanel.pl line 4806 main::dotag(undef) called at cpanel.pl line 4673 main::cpanel_parseblock('SCALAR(0x919fa24)') called at cpanel.pl line 4625 main::cpanel_parse('GLOB(0xab8d234)') called at cpanel.pl line 1295
    [a fatal error or timeout occurred while processing this directive]

    Now the code I am using to add the background is below

    body {font: 62.5% verdana, arial, helvetica, sans-serif; color: #333; background: #fff url(../images/PINKBG.gif)}


    Thank you Angie

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Problem with CSS Stylesheet

    Shoul be constructed like this with repeat as required
    Code:
    body {
    	margin: 0;
    	font-family: verdana, arial, helvetica, sans-serif;
    	font-size: 62.5%;
    	color: #333;
    	background-color: #fff;
            background-image: url(../images/PINKBG.gif);
            background-repeat: repeat;
    	}

  3. #3
    Join Date
    Feb 2008
    Posts
    111
    Plugin Contributions
    0

    Default Re: Problem with CSS Stylesheet

    Thank you so much for your help I went in and replaced the coding per your suggestion still getting an error code and it did not add the background

    Code is saying Fatal error timed out

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Problem with CSS Stylesheet

    A stylesheet should not cause a fatal error??

    You are editing the stylesheet.css file correct?

    What editor do you use?

  5. #5
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Problem with CSS Stylesheet

    Edit the file using ftp program, do not use cpanel to edit it.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  6. #6
    Join Date
    Feb 2008
    Posts
    111
    Plugin Contributions
    0

    Default Re: Problem with CSS Stylesheet

    Thank you both for the help I tried using FTP as suggested now I am getting

    553 Can't open that file: Permission denied
    st

    So I am thinking I might have to unistall my zencart and start from scratch is that what you recommend?

    Angie

  7. #7
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Problem with CSS Stylesheet

    FTP the file to your local computer.

    Open it in a plain text editor or a code editor -
    Make your changes - Save it
    FTP it back to your server

    Try this and see if you are not successful

    This is a basic issue and does not have anything to do with your installed cart.
    Re-installing will only bring you right back to this issue trying to alter files

  8. #8
    Join Date
    Feb 2008
    Posts
    111
    Plugin Contributions
    0

    Default Re: Problem with CSS Stylesheet

    Thank you for the help I will try that! LOL
    I have several zencart sites and none with this prolblem lol

  9. #9
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Problem with CSS Stylesheet

    The original shorthand properties for the body are fine and could not be the problem in any way.

 

 

Similar Threads

  1. Huge Spacing Problem I Can't Find on stylesheet.css
    By uruharacosplay in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 2 Aug 2011, 02:07 AM
  2. I need help with CSS Stylesheet
    By rspencer1762 in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 8 May 2011, 07:43 AM
  3. problem changing font in Stylesheet CSS
    By zshopa in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 17 Feb 2010, 09:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg