Forums / Upgrading from 1.3.x to 1.3.9 / After 1.3.9 Upgrade, graphics disappear

After 1.3.9 Upgrade, graphics disappear

Locked

Started by mshultise on 21 Apr 2010, 8:17 AM · Views: 2,137

Results 1 to 19 of 19
This thread is locked. New replies are disabled.
21 Apr 2010, 8:17 AM
#1
mshultise avatar

mshultise

Zen Follower

Join Date:
Feb 2005
Location:
Captain Cook, Hawaii
Posts:
172
Plugin Contributions:
0

After 1.3.9 Upgrade, graphics disappear

I just upgraded to 1.3.9 from 1.3.8a. I am using gloss_black template by the way. I am on PHP 4.4.8 but can upgrade to 5 if desired.

After the update, all graphics and the template graphics are missing. renaming the .htaccess file in the stores include directory brings the template graphics back, and renaming the .htaccess in the store's image directory brings the some of my other graphics back.

I assume this is related to the "Limit Options Indexes" option suggested for the webserver.

I'll contact them to see what my settings are and report back, but wanted to give people a heads up as I have not seen this issue reported yet.

Aloha from Hawaii! (its a dirty job, but SOMEBODY has to live here...)

21 Apr 2010, 9:37 AM
#2
jynxy avatar

jynxy

New Zenner

Join Date:
Jul 2005
Posts:
34
Plugin Contributions:
0

Re: After 1.3.9 Upgrade, graphics disappear

what format is the images in ? .gif .jpg .png etc ??

21 Apr 2010, 9:41 AM
#3
mshultise avatar

mshultise

Zen Follower

Join Date:
Feb 2005
Location:
Captain Cook, Hawaii
Posts:
172
Plugin Contributions:
0

Re: After 1.3.9 Upgrade, graphics disappear

jpg and gif

BTW, I sent you a private message too.

Aloha from Hawaii! (its a dirty job, but SOMEBODY has to live here...)

21 Apr 2010, 9:48 AM
#4
mshultise avatar

mshultise

Zen Follower

Join Date:
Feb 2005
Location:
Captain Cook, Hawaii
Posts:
172
Plugin Contributions:
0

Re: After 1.3.9 Upgrade, graphics disappear

The hosting company replied:


Hello,

Thank you for contacting our Technical Support Department.
Please note that the usage of AllowOverride All is not necessary and from the htaccess code you will only have to remove the last line: OPTIONS -Indexes -ExecCGI

This is in fact replaced by the line above: IndexIgnore *

and it prevents directory listings.

If we can help you with any other problem, do not hesitate to contact us again. You are always welcome.

--

I removed the last line and the graphics came back, but I believe we still need the -ExecCGI though.

Aloha from Hawaii! (its a dirty job, but SOMEBODY has to live here...)

21 Apr 2010, 1:48 PM
#5
qdixon avatar

qdixon

Support Team

Join Date:
Feb 2004
Location:
Simcoe, Ontario, Canada
Posts:
1,906
Plugin Contributions:
1

Re: After 1.3.9 Upgrade, graphics disappear

What you removed is .htaccess security.

Removing OPTIONS -Indexes -ExecCGI will allow execution of cgi scripts in that directory and the indexing. For redundancy the indexignore is a backup for directory listing.

I did notice that your host really needs to upgrade and upon doing so, these features will work.

Just to be blunt, your store is not safe using php 4.4.8

Windows, BSD, Linux, Cisco, Hardware & IT Security Tech
AEIIA - Zen Cart Certified & PCI Compliant Hosting

21 Apr 2010, 7:58 PM
#6
mshultise avatar

mshultise

Zen Follower

Join Date:
Feb 2005
Location:
Captain Cook, Hawaii
Posts:
172
Plugin Contributions:
0

Re: After 1.3.9 Upgrade, graphics disappear

Qdixon:

What was removed is .htaccess security.

Removing OPTIONS -Indexes -ExecCGI will allow execution of cgi scripts in that directory and the indexing. For redundancy the indexignore is a backup for directory listing.

I did notice that your host really needs to upgrade and upon doing so, these features will work.

Just to be blunt, your store is not safe using php 4.4.8

I have control over the PHP version via the control panel and changed PHP to version 5.2.1.

However, based upon my initial contact with the hosting compny, it does not sound as though they have or will update the httpd files. Is this change to httpd a normally requested option?

Aloha from Hawaii! (its a dirty job, but SOMEBODY has to live here...)

21 Apr 2010, 8:04 PM
#7
qdixon avatar

qdixon

Support Team

Join Date:
Feb 2004
Location:
Simcoe, Ontario, Canada
Posts:
1,906
Plugin Contributions:
1

Re: After 1.3.9 Upgrade, graphics disappear

Actually you should upgrade to the current version 5.2.13 or the 5.3 series as they are most secure as of the date of this post.

Httpd refers to Apache...What version is that?

Windows, BSD, Linux, Cisco, Hardware & IT Security Tech
AEIIA - Zen Cart Certified & PCI Compliant Hosting

21 Apr 2010, 8:28 PM
#8
mshultise avatar

mshultise

Zen Follower

Join Date:
Feb 2005
Location:
Captain Cook, Hawaii
Posts:
172
Plugin Contributions:
0

Re: After 1.3.9 Upgrade, graphics disappear

Qdixon:

Actually you should upgrade to the current version 5.2.13 or the 5.3 series as they are most secure as of the date of this post.

Httpd refers to Apache...What version is that?

My Option for PHP is 4, 5 or 6 (and they suggest 6 is not ready for prime time :-). I chose 5 and got 5.2.1. I assume they will roll out an update soon.

As for Apache, I don't see the version in the control panel, but a 500 error page shows:
Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7e mod_auth_pgsql/2.0.3

Aloha from Hawaii! (its a dirty job, but SOMEBODY has to live here...)

21 Apr 2010, 10:03 PM
#9
qdixon avatar

qdixon

Support Team

Join Date:
Feb 2004
Location:
Simcoe, Ontario, Canada
Posts:
1,906
Plugin Contributions:
1

Re: After 1.3.9 Upgrade, graphics disappear

You apache version is fine. I would just work to get PHP 5.2.13 from them.

Windows, BSD, Linux, Cisco, Hardware & IT Security Tech
AEIIA - Zen Cart Certified & PCI Compliant Hosting

21 Apr 2010, 11:48 PM
#10
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: After 1.3.9 Upgrade, graphics disappear

Odixon, I'd like your take on this post: http://www.zen-cart.com/forum/showthread.php?t=153211 I definitely think there are issues with the newly introduct .htaccess files introduced in different folders.

Thanks!

22 Apr 2010, 10:52 AM
#11
hfxstop avatar

hfxstop

New Zenner

Join Date:
Dec 2009
Location:
Halifax Canada
Posts:
19
Plugin Contributions:
0

Re: After 1.3.9 Upgrade, graphics disappear

mine is when you click on a product the description is there image is gone

Totality Zenned I love this cart!!!

22 Apr 2010, 6:11 PM
#12
drbyte avatar

drbyte

Sensei

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

Re: After 1.3.9 Upgrade, graphics disappear

hfxstop:

mine is when you click on a product the description is there image is gone
What type of image is it? jpg? gif? png?

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

22 Apr 2010, 7:36 PM
#13
nedward avatar

nedward

New Zenner

Join Date:
Mar 2007
Posts:
90
Plugin Contributions:
0

Re: After 1.3.9 Upgrade, graphics disappear

Lol, I just visited the forum because all my graphics were not showing!
I found this thread and thought, great, I can solve my problem because something is obviously broken and I'll need to be editing my .htaccess files.

Then it occured to me. I hadn't uploaded my graphics, they were still in my images folder in my original shop's folder amd not in my 139 test folder!

After I uploaded them they suddenly appeared.
I'm Such a numpty.

Anyway, thanks to all concerned, I've managed to upgrade and so far I haven't had any problems. well problems that were not my own doing.

Ned
been a member for over 3 years and still I'm a NEW Zenner! Indeed.

23 Apr 2010, 1:05 AM
#14
hfxstop avatar

hfxstop

New Zenner

Join Date:
Dec 2009
Location:
Halifax Canada
Posts:
19
Plugin Contributions:
0

Re: After 1.3.9 Upgrade, graphics disappear

jpg & gif for mine

Totality Zenned I love this cart!!!

23 Apr 2010, 1:59 AM
#15
drbyte avatar

drbyte

Sensei

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

Re: After 1.3.9 Upgrade, graphics disappear

hfxstop, what version of apache?

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

23 Apr 2010, 2:18 AM
#16
hfxstop avatar

hfxstop

New Zenner

Join Date:
Dec 2009
Location:
Halifax Canada
Posts:
19
Plugin Contributions:
0

Re: After 1.3.9 Upgrade, graphics disappear

Apache/2.2.15

Totality Zenned I love this cart!!!

23 Apr 2010, 3:05 AM
#17
drbyte avatar

drbyte

Sensei

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

Re: After 1.3.9 Upgrade, graphics disappear

What's the URL?

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

23 Apr 2010, 3:23 AM
#18
hfxstop avatar

hfxstop

New Zenner

Join Date:
Dec 2009
Location:
Halifax Canada
Posts:
19
Plugin Contributions:
0

Re: After 1.3.9 Upgrade, graphics disappear

I am so sorry Dr. Byte I found the Problem it was a problem with IH2 Mod 1 file was over written it's back with no edits to ht access files

Totality Zenned I love this cart!!!

23 Apr 2010, 4:07 AM
#19
drbyte avatar

drbyte

Sensei

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

Re: After 1.3.9 Upgrade, graphics disappear

Okay ... so ... in summary:

3 people reporting problems with images:

  • one person had an .htaccess conflict vs restrictions placed by hosting company
  • one person simply didn't copy their images over
  • one person had broken their Image Handler addon which therefore prevented their images from displaying.

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