Forums / ZCDEV - v2-Development Bugs / v1.6 Admin images not displaying (yes it might be my fault..)

v1.6 Admin images not displaying (yes it might be my fault..)

Views: 5,368

Results 1 to 20 of 24
24 Nov 2013, 5:21 PM
#1
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

v1.6 Admin images not displaying (yes it might be my fault..)

I really HATE to have to post this.. BUT.. sigh here goes..

I’m finally getting around to setting up a test site to review v1.6.. Ran into something right away that I’m sure is more of a function of something I did wrong than something being wrong with the v1.6 (hence why I've been trying to NOT post this).. None of the admin images display (icons, logo, buttons) and I get a 403 error when I try to directly view these images.. (yes all the images are in the right place)

This is a fresh v1.6 install that I've done NOTHING to.. I KNOW this is probably something small and stupid.. But I'm stumped as to what.. What the he!! am I missing??

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

24 Nov 2013, 5:32 PM
#2
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: v1.6 Admin images not displaying (yes it might be my fault..)

So it's not just the admin images.. looks like none of the shop images display either.. :frusty: Grrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr..... What am I NOT seeing here???

http://zentestcart16x(dot)overthehillweb(dot)com/images/test_demo.jpg

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

24 Nov 2013, 9:05 PM
#4
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,876
Plugin Contributions:
7

Re: v1.6 Admin images not displaying (yes it might be my fault..)

With the Firebug console I see a load of 403 forbidden messages: permissions issue?

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

25 Nov 2013, 2:47 AM
#5
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: v1.6 Admin images not displaying (yes it might be my fault..)

torvista:

With the Firebug console I see a load of 403 forbidden messages: permissions issue?

No.. This is a fresh v1.6 install that I've done NOTHING to.. The folder and file permissions are correct (755 for folder, 644 for image file)

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

25 Nov 2013, 5:03 AM
#6
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: v1.6 Admin images not displaying (yes it might be my fault..)

DivaVocals:

No.. This is a fresh v1.6 install that I've done NOTHING to.. The folder and file permissions are correct (755 for folder, 644 for image file)

Fresh install that was not locally tested either? (No local/configure.php to interfere?)

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

25 Nov 2013, 5:16 AM
#7
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: v1.6 Admin images not displaying (yes it might be my fault..)

mc12345678:

Fresh install that was not locally tested either? (No local/configure.php to interfere?)

No..:laugh: and even if it was, I know how to update a local configure.php to a live configure.php file.. I am quite sure that how to do this hasn't changed that drastically between v1.5.x to v1.6.x..:smile:

fresh v1.6 install that I've done NOTHING to..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

25 Nov 2013, 5:27 AM
#8
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: v1.6 Admin images not displaying (yes it might be my fault..)

DivaVocals:

No..:laugh: and even if it was, I know how to update a local configure.php to a live configure.php file.. I am quite sure that how to do this hasn't changed that drastically between v1.5.x to v1.6.x..:smile:

fresh v1.6 install that I've done NOTHING to..

I'm curious. Was looking at the 1.6 distr-configure.php file and the defined_paths file. How do these two get linked? Does the new configure.php after installation get populated with more than what is currently shown for defines? (Ie, does it take the form of 1.5.x?)
Now now, after a discussion about reading an attribute in, I know certainly well that either you know how to or know how to find how to do something. :) Whether you thought of it was the question, and I was trying to ask a very specific question.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

25 Nov 2013, 7:29 AM
#9
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: v1.6 Admin images not displaying (yes it might be my fault..)

mc12345678:

I'm curious. Was looking at the 1.6 distr-configure.php file and the defined_paths file. How do these two get linked? Does the new configure.php after installation get populated with more than what is currently shown for defines? (Ie, does it take the form of 1.5.x?)
Now now, after a discussion about reading an attribute in, I know certainly well that either you know how to or know how to find how to do something. :) Whether you thought of it was the question, and I was trying to ask a very specific question.

the configure.php files (admin and storefront) get created and during the Zen Cart install.. V1.6.x does this no differently.. The dist-configure.php as I've always understood them are SAMPLE files.. they can be deleted from your store as they are not used/needed..

Bottomline is I am not doing a local install and transferring it to my webhost (or I would have said that in my initial post).. I created a subdomain so that I can create a clean VIRGIN Zen Cart v1.6.x install for testing, and for reasons that escape me NONE of the store or admin images display... I get 403 error when I try to view images directly.. I JUST wiped out the test store and re-uploaded the v1.6.x files and repeated the install and got the EXACT same result. (no images on the admin and storefront -- 403 errors)..

Not sure why, and I'd like to buy a vowel please..:smile:

# Server Information
Server OS: Linux 2.6.32-20130307.60.9.bh6.x86_64 Database: MySQL 5.5.34-log
Server Date: 11/25/2013 00:34:06 Database Date: 11/25/2013 00:34:06
Server Up Time: 00:34:06 up 6 days, 15:42, 2 users, load average: 32.98, 25.45, 21.05 HTTP Server: Apache
PHP Version: 5.4.20 (Zend: 2.4.0) PHP Memory Limit: 128M PHP Safe Mode: Off
PHP File Uploads: On Max Size: 10M POST Max Size: 10M
Database Data Size: 364 kB Database Index Size: 534 kB

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

25 Nov 2013, 4:01 PM
#10
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: v1.6 Admin images not displaying (yes it might be my fault..)

Completed install this am. couple of warnings associated with the install such as no https, and some issues with htaccess; however, site is locally reachable. Loaded one "product" and was able to see images. Went back to your site and see that the picture of buttons is up there, but others are not. What changed?

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

25 Nov 2013, 4:43 PM
#11
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: v1.6 Admin images not displaying (yes it might be my fault..)

DivaVocals:

the configure.php files (admin and storefront) get created and during the Zen Cart install.. V1.6.x does this no differently.. The dist-configure.php as I've always understood them are SAMPLE files.. they can be deleted from your store as they are not used/needed..

Bottomline is I am not doing a local install and transferring it to my webhost (or I would have said that in my initial post).. I created a subdomain so that I can create a clean VIRGIN Zen Cart v1.6.x install for testing, and for reasons that escape me NONE of the store or admin images display... I get 403 error when I try to view images directly.. I JUST wiped out the test store and re-uploaded the v1.6.x files and repeated the install and got the EXACT same result. (no images on the admin and storefront -- 403 errors)..

Not sure why, and I'd like to buy a vowel please..:smile:

Server Information
|

|
|

Server OS: Linux 2.6.32-20130307.60.9.bh6.x86_64 |
Database: MySQL 5.5.34-log |

Server Date: 11/25/2013 00:34:06 |
Database Date: 11/25/2013 00:34:06 |

Server Up Time: 00:34:06 up 6 days, 15:42, 2 users, load average: 32.98, 25.45, 21.05 |
HTTP Server: Apache |

PHP Version: 5.4.20 (Zend: 2.4.0) PHP Memory Limit: 128M |
PHP Safe Mode: Off |

PHP File Uploads: On Max Size: 10M |
POST Max Size: 10M |

Database Data Size: 364 kB |
Database Index Size: 534 kB |

Still not sure why, but when using firebug with firefox, if prepended the broken images src with / then image would show. Is there either something different about your configure.php file(s) or about how your htaccess/server redirect is getting to this folder? Further, I noticed as I said the picture of buttons appears, these pictures are in your main images folder; however, other images that do not work are in a sub-directory off of the images folder, but adding the forward slash to the src=" " before the images folder seems to fix the issue and allow the image(s) to show. Is there a logic error in the install procedure?

Maybe something in the template? Noticed that the template being used has been modified from the default 1.6 template... Don't know if there is anything related to that there.... :/

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

25 Nov 2013, 5:14 PM
#12
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: v1.6 Admin images not displaying (yes it might be my fault..)

mc12345678:

Still not sure why, but when using firebug with firefox, if prepended the broken images src with / then image would show. Is there either something different about your configure.php file(s) or about how your htaccess/server redirect is getting to this folder? Further, I noticed as I said the picture of buttons appears, these pictures are in your main images folder; however, other images that do not work are in a sub-directory off of the images folder, but adding the forward slash to the src=" " before the images folder seems to fix the issue and allow the image(s) to show. Is there a logic error in the install procedure?

Maybe something in the template? Noticed that the template being used has been modified from the default 1.6 template... Don't know if there is anything related to that there.... :/

I'm starting to sound like a broken record here.. This is a VANILLA Zen Cart v1.6 install that I've done ABSOLUTELY nothing to. NO I did NOT modify the default template, NO I did not modify the congfigure.php file, and no I did not make any changes to the how the subdomain is configured.. NOTHING different at all in the way I setup this test site than when I setup my v1.5.x test site.. I did the same thing I do ALL THE TIME to set up my other test store.

  • Set up a sub-domain on my host
  • Ceated a database
  • FTP the Zen Cart files to my subdomain's folder
  • Ran the Zen Cart install

That's it.. I did NOTHING else after this because I am stuck on the fact that NONE of the site's images will display..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

25 Nov 2013, 6:39 PM
#13
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: v1.6 Admin images not displaying (yes it might be my fault..)

Almost has to be a server thing. I'm embarassed to admit I don't know where to get the 1.6 files. If you can provide a link I'll install it here and see if I have the same problem.

25 Nov 2013, 6:51 PM
#14
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: v1.6 Admin images not displaying (yes it might be my fault..)

stevesh:

Almost has to be a server thing. I'm embarassed to admit I don't know where to get the 1.6 files. If you can provide a link I'll install it here and see if I have the same problem.

Thanks steve.. I am sure it's a server issue as well, and I'm not even sure where to begin to correct this.. what's maddening is that I don't know why I don't have this same issue with other Zen Cart installs on this same hosting account..

https://github.com/zencart/zencart/tree/v160

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

25 Nov 2013, 7:16 PM
#15
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: v1.6 Admin images not displaying (yes it might be my fault..)

DivaVocals:

I'm starting to sound like a broken record here.. This is a VANILLA Zen Cart v1.6 install that I've done ABSOLUTELY nothing to. NO I did NOT modify the default template, NO I did not modify the congfigure.php file, and no I did not make any changes to the how the subdomain is configured.. NOTHING different at all in the way I setup this test site than when I setup my v1.5.x test site.. I did the same thing I do ALL THE TIME to set up my other test store.

  • Set up a sub-domain on my host
  • Ceated a database
  • FTP the Zen Cart files to my subdomain's folder
  • Ran the Zen Cart install

That's it.. I did NOTHING else after this because I am stuck on the fact that NONE of the site's images will display..
Was the folder location different than other sub-domains that you've created? In your hosted environment's file-structure, is the v1.6.0 install a root folder (/foldername) or a sub-folder (/yoursite/foldername)? I guess what I'm trying to ask is whether there might be an .htaccess file in the sub-domain folder's parent that biting your :censored:.

25 Nov 2013, 7:21 PM
#16
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: v1.6 Admin images not displaying (yes it might be my fault..)

Installed, and all imagery present and accounted for.

The only thing I probably do differently from you is: I create a installation .zip file by unzipping the Zencart .zip file and re-zipping the folders and files into a new .zip file without the intermediate folder, which I upload to the root of the store and Extract it there using CPanel's File Manager. That seems to do some things involving permissions and file ownership that's different from what happens if you upload the folders and files via FTP. Also much, much faster.

25 Nov 2013, 7:23 PM
#17
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: v1.6 Admin images not displaying (yes it might be my fault..)

deleted duplicate

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

25 Nov 2013, 7:24 PM
#18
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: v1.6 Admin images not displaying (yes it might be my fault..)

lat9:

Was the folder location different than other sub-domains that you've created? In your hosted environment's file-structure, is the v1.6.0 install a root folder (/foldername) or a sub-folder (/yoursite/foldername)? I guess what I'm trying to ask is whether there might be an .htaccess file in the sub-domain folder's parent that biting your :censored:.

The way Bluehost let's you configure sub-domains is by creating the sub-domain and pointing it to a specific folder in your hosting (usually a sub folder of the root)

  • Zen Cart v1.5.1 store folder is called "zentestcart" and the URL is "http://zentestcart(dot)overthehillweb(dot)com"
  • Zen Cart v1.6 store folder is called "zentestcart16x" and the URL is "http://zentestcart16x(dot)overthehillweb(dot)com/"

I can't figure out how the root .htaccess would hose this site, but not others..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

25 Nov 2013, 7:28 PM
#19
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: v1.6 Admin images not displaying (yes it might be my fault..)

There was a fair amount of change in the /admin/.htaccess file between v1.6.0 and v1.5.1. You could try replacing the /admin/.htaccess with the v1.5.1 version (although there might be other side effects) to see if the image-display problem goes away.

25 Nov 2013, 7:31 PM
#20
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: v1.6 Admin images not displaying (yes it might be my fault..)

lat9:

There was a fair amount of change in the /admin/.htaccess file between v1.6.0 and v1.5.1. You could try replacing the /admin/.htaccess with the v1.5.1 version (although there might be other side effects) to see if the image-display problem goes away.

That was the very first thing I did.. I replaced both the store and admin .httaccess files, and got no real change.. I even dropped by PHP version down to 5.2, and that got me nothing either..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.