If this is your first visit, check our documentation. To post, register or login.
Forums / Installing Zen Cart / Installing on a Linux/Unix Server / Missing icons in admin after changing from Windows to Linux?

Missing icons in admin after changing from Windows to Linux?

Started by swingin_sparrow on 12 Feb 2013, 12:50 PM · Views: 3,110

Results 21 to 25 of 25
14 Feb 2013, 6:09 AM
#21
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #21 by drbyte

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.php/Troubleshoot_-_Diagnosing_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.

14 Feb 2013, 10:42 AM
#22
swingin_sparrow avatar

swingin_sparrow

New Zenner

Join Date:
Aug 2011
Location:
Helsinki, Finland
Posts:
60
Plugin Contributions:
0

Post #22 by swingin_sparrow

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...

14 Feb 2013, 5:01 PM
#23
swingin_sparrow avatar

swingin_sparrow

New Zenner

Join Date:
Aug 2011
Location:
Helsinki, Finland
Posts:
60
Plugin Contributions:
0

Post #23 by swingin_sparrow

Hi,
I found the problem, there is one .htaccess in the admin/images folder. I updated it with this part ```
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
14 Feb 2013, 6:57 PM
#24
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #24 by drbyte

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.

14 Feb 2013, 7:37 PM
#25
swingin_sparrow avatar

swingin_sparrow

New Zenner

Join Date:
Aug 2011
Location:
Helsinki, Finland
Posts:
60
Plugin Contributions:
0

Post #25 by swingin_sparrow

DrByte:

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...