Forums / General Questions / Products Images Won't Show After Replacing Accidentally deleted index.php file.

Products Images Won't Show After Replacing Accidentally deleted index.php file.

Views: 1,308

Results 1 to 4 of 4
29 May 2013, 9:50 AM
#1
karimah avatar

karimah

New Zenner

Join Date:
Jul 2010
Location:
Memphis, Tn
Posts:
19
Plugin Contributions:
0

Products Images Won't Show After Replacing Accidentally deleted index.php file.

Good Morning,

I accidentally deleted my index.php file as I was deleting product images that I had misplaced in the root folder. I was able to replace the index.php file from the original zencart download. Now that the index.php file was replaced, my website will show again. However, even though my product images are in the right location admin/images folder, they won't show on the website.

I refreshed the photos last night via Filezilla, hoping they would show up, but to no avail.

Any help will be appreciated. Most people won't buy anything from a website with no photos.

Thanks so much,

:D

29 May 2013, 4:31 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Products Images Won't Show After Replacing Accidentally deleted index.php file.

When you say:

However, even though my product images are in the right location admin/images folder, they won't show on the website.

What images are you having issues with? Store images go in the:
/images

directory and/or subdirectories:
/images/something

you appear to be indicating that your images are in:
/admin/images

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

30 May 2013, 3:51 AM
#3
karimah avatar

karimah

New Zenner

Join Date:
Jul 2010
Location:
Memphis, Tn
Posts:
19
Plugin Contributions:
0

Re: Products Images Won't Show After Replacing Accidentally deleted index.php file.

I appreciate your response. At first my images were in /images. The images would not show on the website. Then, I took a couple photos and put them in admin/images folder and the images showed up, so I put the rest of the images in there. And then the rest of the images showed up on the website. So, I thought that's where the images were supposed to be.

I will try moving them again and see if they show up. Thanks again.

31 May 2013, 6:20 PM
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,857
Plugin Contributions:
18

Re: Products Images Won't Show After Replacing Accidentally deleted index.php file.

You've not answered the posting tip questions nor given us the version of your ZC. There should not be a folder called admin for security reasons and, if images from an admin/images directory are showing up in your cart, you may have the two configure.php files misplaced as well.

Look at your includes/confgure.php to see what setting is there for the images folder.

And, make sure the includes/configure.php and YOUR_ADMIN/includes/configure.php are different from one another.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com