Page 1 of 4 123 ... LastLast
Results 1 to 10 of 35
  1. #1
    Join Date
    Jan 2010
    Posts
    49
    Plugin Contributions
    0

    Default Removing Errors from our site - /includes/templates/classic/css/none

    As the title says - we've been trawling through our servers error logs and we seem to get a lot of error hits for the file [our address]/includes/templates/classic/css/none

    There is no "none" file in that folder, why does this show up?

    Thanks in advance for your input

  2. #2
    Join Date
    Jan 2010
    Posts
    49
    Plugin Contributions
    0

    Default Error hits = /includes/templates/classic/css/none WHY???

    I posted this first in the "other" section which was probably wrong.

    As the title says - we've been trawling through our servers error logs and we seem to get a lot of error hits for the file [our address]/includes/templates/classic/css/none

    There is no "none" file in that folder, why does this show up?

    Thanks in advance for your input

  3. #3
    Join Date
    Dec 2009
    Location
    Pinner
    Posts
    230
    Plugin Contributions
    1

    Default Re: Error hits = /includes/templates/classic/css/none WHY???

    Is the ip address your own or someone elses ? Does it have a referrer ?

    There are two class files that could refere to a "non"

    admin/includes/classes/phplot.php (which would be you)

    includes/classes/shopping_cart.php

    which has something to do with file uploads.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Error hits = /includes/templates/classic/css/none WHY???

    Quote Originally Posted by MattyMatt View Post
    There are two class files that could refere to a "non"

    admin/includes/classes/phplot.php (which would be you)

    includes/classes/shopping_cart.php

    which has something to do with file uploads.
    Neither of those is relevant to stylesheets.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Dec 2009
    Location
    Pinner
    Posts
    230
    Plugin Contributions
    1

    Default Re: Error hits = /includes/templates/classic/css/none WHY???

    Quote Originally Posted by DrByte View Post
    Neither of those is relevant to stylesheets.
    I know, but they do reference directory structure and "none" (not non), in shopping_cart we have

    $_POST[UPLOAD_PREFIX . $i]] != 'none'

    and in upload.php we also have

    ( zen_not_null($file['tmp_name']) && ($file['tmp_name'] != 'none') && is_uploaded_file($file['tmp_name']) )

    and me being the paranoid type, I've looked at the stylesheet section and there appears to be no "none" sub-directory reference anywhere, but there could be some experimentation going on with trying to set the UPLOAD_PREFIX or file['tmp_name'], I can't find any other explanation unless someone has built a theme that references "none" in the classic template which sounds more far fetched.

  6. #6
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Error hits = /includes/templates/classic/css/none WHY???

    Are you hosted on a Windows Server? I think that is the Windows way of reporting an error; i.e. none - instead of file not found.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Error hits = /includes/templates/classic/css/none WHY???

    Quote Originally Posted by MattyMatt View Post
    I know, ...

    ... sounds more far fetched.
    Quite far fetched.

    And, if you know that your answer is irrelevant, don't post it.
    There's no point sending the person on a wild goose chase looking in a completely irrelevant place.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Dec 2009
    Location
    Pinner
    Posts
    230
    Plugin Contributions
    1

    Default Re: Error hits = /includes/templates/classic/css/none WHY???

    Quote Originally Posted by DrByte View Post
    Quite far fetched.

    And, if you know that your answer is irrelevant, don't post it.
    There's no point sending the person on a wild goose chase looking in a completely irrelevant place.

    No I meant looking for a css explanation is irrelevant. e.g. looking for a theme built into "classic" rather than an override, that looks for none.

  9. #9
    Join Date
    Jan 2010
    Posts
    49
    Plugin Contributions
    0

    Default Re: Removing Errors from our site - /includes/templates/classic/css/none

    Thanks for your replies, great to hear your input and ideas.

    We're on a linux server so that would rule out the windows server replying "none" for "file not found"

    IP addresses are totally random and not our own, so thats another thing ruled out.

    Here's an example of a line from the error log file, with the addresses taken out for privacy.

    [Wed Jan 27 08:10:50 2010] [error] [client 00.00.00.00] File does not exist: /hsphere/local/home/username/domainname.co.uk/includes/templates/classic/css/none

    Over 200 of our error entries show up this error every day.

    Has anyone experienced this before?

    Thanks for your help.

  10. #10
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Removing Errors from our site - /includes/templates/classic/css/none

    Quote Originally Posted by epsonprintersrock View Post
    [client 00.00.00.00]
    That's especially odd ...
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. Replies: 1
    Last Post: 11 Feb 2013, 09:01 PM
  2. v150 Changed file in includes/templates/images and site not working
    By Lore13 in forum Basic Configuration
    Replies: 6
    Last Post: 5 May 2012, 05:29 PM
  3. Removing Price From Title -Classic Green
    By r.muinos in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Sep 2011, 03:23 PM
  4. dir(includes/templates/classic/index) NO such file or directory. Stacktrace.
    By tzre in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 3 Aug 2011, 09:32 PM
  5. includes/templates/template_default/css
    By golfthrills in forum General Questions
    Replies: 2
    Last Post: 6 Sep 2010, 08:36 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR