Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25
  1. #21
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Missing icons in admin after changing from Windows to Linux?

    Zen Cart comes with several default .htaccess files which WILL NOT cause those symptoms.
    But if you've altered those files, or added your own additional .htaccess files with their own rules, then those will need to be fixed.

    So, in plain terms, this is what you need to do:
    - fix whatever .htaccess files (in all subdirectories) have been altered from what the original Zen Cart supplied .htaccess files contain
    - fix whatever new .htaccess files you've added

    http://www.zen-cart.com/wiki/index.p...Obscure_Issues
    .

    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.

  2. #22
    Join Date
    Aug 2011
    Location
    Helsinki, Finland
    Posts
    60
    Plugin Contributions
    0

    Default Re: Missing icons in admin after changing from Windows to Linux?

    AH ok, well, I have a problem then because I haven't added or changed any of these, and yet my host provider said they've seen several "deny" rules in my .htaccess file. I'm waiting for them to reply so I know which .htaccess file is the one to fix. They said by disabling it they could fix the problem... meanwhile I'll have a look to see if I can find it myself...

  3. #23
    Join Date
    Aug 2011
    Location
    Helsinki, Finland
    Posts
    60
    Plugin Contributions
    0

    Default Re: Missing icons in admin after changing from Windows to Linux?

    Hi,
    I found the problem, there is one .htaccess in the admin/images folder. I updated it with this part
    Code:
     but now allow just *certain* necessary files:
    <FilesMatch ".*\.(jpe?g|JPE?G|gif|GIF|png|PNG|swf|SWF)$" >
      Order Allow,Deny
      Allow from all
    </FilesMatch>
    and I got my icons to show up, but then I checked the original files of zen cart and realised there shouldn't be any .htaccess in this folder, so shall I simply delete it? or is the fix alright anyway? Can you confirm?
    Thanks

  4. #24
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Missing icons in admin after changing from Windows to Linux?

    That "fix" is fine. Or deleting the file is fine too if there are no other rules in it.
    You should really find out why the file was added in the first 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.

  5. #25
    Join Date
    Aug 2011
    Location
    Helsinki, Finland
    Posts
    60
    Plugin Contributions
    0

    Default Re: Missing icons in admin after changing from Windows to Linux?

    Quote Originally Posted by DrByte View Post
    That "fix" is fine. Or deleting the file is fine too if there are no other rules in it.
    You should really find out why the file was added in the first place.
    Ok I guess I will just delete it since it's not supposed to be there...
    Well, thanks a lot for your help, I couldn't have done it without you! I am really grateful...

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Switching from Windows to Linux
    By Pet Herbal Remedies in forum Installing on a Windows Server
    Replies: 1
    Last Post: 25 May 2011, 01:16 AM
  2. Moved from linux to windows...
    By END3RL3 in forum Installing on a Windows Server
    Replies: 5
    Last Post: 23 Mar 2010, 02:06 PM
  3. a problem from windows to linux
    By gueston in forum Customization from the Admin
    Replies: 0
    Last Post: 14 May 2009, 11:52 AM
  4. Welcome to Zecart page after moving from Windows server to Linux Server
    By smartmomma in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 21 May 2008, 12:36 PM
  5. Errors after move my zencart system from OS Windows to LInux
    By bianbian in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 8 Jun 2006, 02:29 AM

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