Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Images Won't Work (Any)

Images Won't Work (Any)

Locked

Views: 2,601

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
17 Mar 2007, 1:17 AM
#1
celtickatt avatar

celtickatt

Zen Follower

Join Date:
Mar 2005
Location:
Tulsa, Ok
Posts:
174
Plugin Contributions:
0

Images Won't Work (Any)

I hope I can explain this to make sense...

Here is my setup:

http://www.celtickatt.com (this is for my personal site)
http://accessory-avenue.celtickatt.com (this is for my new business)

The subdomain was created so I can share the hosting with my main domain and still be able to create a small business without paying for extra hosting. After creating the subdomain and pointing my registrar to the correct information, I can now access the subdomain via https://www.accessory-avenue.com. Simple enough.

Here's my issue:
I want to be able to have an index.html page for https://www.accessory-avenue.com so I installed the cart in https://www.accessory-avenue.com/store. However, I cannot seem to get any of the images on my site to work. I even tried NOT putting it in the folder /store so it would be at root level, but it still doesn't work. I know this sounds silly, but I already have two carts installed on my site that work just fine (one is for my own items to sell and one is simply installed so I can test out mods on it before I actually install it to the cart.) I don't understand why they work and the other one doesn't (by that I mean just the images- or at least that's all I've noticed.) They are installed in sub-folders of my main domain (for example: https://www.celtickatt.com/store1 and /store2). Does anyone know why the carts installed on the main domain will work 100% and the one installed to a subdomain won't?

Thanks in advance!
Shannon

17 Mar 2007, 2:23 AM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Images Won't Work (Any)

Shannon

Something's very messy here!

Your webshop is on:-
http://www.accessory-avenue.com/store

But the path to the header logo is:-
http://accessory-avenue.celtickatt.com/store/includes/templates/classic/images/logo.gif

That's a completely different domain!

Study your two CONFIGURE.PHP files and see where you are pointing everything.

I think you're trying to cram too much into a tight space.

17 Mar 2007, 2:32 AM
#3
celtickatt avatar

celtickatt

Zen Follower

Join Date:
Mar 2005
Location:
Tulsa, Ok
Posts:
174
Plugin Contributions:
0

Re: Images Won't Work (Any)

Thank you for your reply. I'm not sure I understand what you mean though, because as I understand it, http://www.accessory-avenue.com/store/ and http://accessory-avenue.celtickatt.com/store/ are the same site. The cart is installed to the subdomain (accessory-avenue) of my main domain (celtickatt.com). When I go into my cpanel, everything appears to be installed in the correct place. Just a note, I did not manually install this cart. I have Fantastico in my cpanel and it auto-installs everything (which has always worked fine before.)

Maybe I'm just unclear on where I am messing up, if that's the case. ???

You have to excuse me for being a little slow here, it's been years since I've really dug my hands into Zen Cart. Exactly which two configure.php files are you referring to, and what do I need to do with them?

Thanks again,
Shannon

17 Mar 2007, 2:52 AM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Images Won't Work (Any)

The problem's likely to be Fantastico...

You should get a good FTP program - I'm sure you already have one. Then do all the uploads and installs MANUALLY.

It really isn't difficult.

You may be able to repair things by looking at your CONFIGURE.PHP files, but if not, I'd suggest you remove that upload, delete the database, and start afresh.

Here's how.

  1. I always start by creating the database (do this in C-Panel>MySQL) and make sure you apply a USER to the database. Right at the bottom of the MySQL page is the ACCESS HOSTS setting. Put in a % (wildcard).

  2. Remember the NAME of the database EG: (abcde_shop), the NAME of the user (abcde_timmy) and the PASSWORD of the user (12345abcde).

  3. FTP a set of FRESH ZENCART FOLDERS AND FILES to the directory where you want your shop to reside.

  4. Read the installation instructions for setting CHMOD permissions. DO NOT do this via FTP... Do it in FILE MANAGER in C-panel.

  5. INSTALL zencart according to the instructions.

  6. You will be asked to CONFIGURE it after the successful install, and this is where you'll need to know the database names, etc.

  7. The help is very good in the read-me, so you should not have too much difficulty.

8 When prompted, load the DEMO PRODUCTS - (you can remove them later)

  1. In three to four minutes from the start of the install, your cart will be working.
17 Mar 2007, 3:28 AM
#5
celtickatt avatar

celtickatt

Zen Follower

Join Date:
Mar 2005
Location:
Tulsa, Ok
Posts:
174
Plugin Contributions:
0

Re: Images Won't Work (Any)

Thanks schoolboy, you rock! I will download my own copy of Zen Cart and attempt to set everything up myself. I will reply to this again when I've tried and I'll let you know how it went (or to ask questions if I'm still lost!)

-S

17 Mar 2007, 3:52 AM
#6
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Images Won't Work (Any)

I'm sure you'll manage... just READ the documentation and don't rush things.

:happy:

17 Mar 2007, 4:44 AM
#7
celtickatt avatar

celtickatt

Zen Follower

Join Date:
Mar 2005
Location:
Tulsa, Ok
Posts:
174
Plugin Contributions:
0

Re: Images Won't Work (Any)

Ohhh-kay... After all that, it's installed successfully but STILL no images. I set all of the CHMODs to 777 like I was supposed to. Ack! See what you think...

http://www.accessory-avenue.com/store

18 Mar 2007, 4:55 PM
#8
celtickatt avatar

celtickatt

Zen Follower

Join Date:
Mar 2005
Location:
Tulsa, Ok
Posts:
174
Plugin Contributions:
0

Re: Images Won't Work (Any)

Can anyone help?! (See previous post)

18 Mar 2007, 5:58 PM
#9
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Images Won't Work (Any)

Hi shannon

The paths to your images are still confused. There is some gremlin creeping in as a result of your setting sub-domains.

Your SHOP is at
http://www.accessory-avenue.com/store

Your LOGO IMAGE is being called from
http://accessory-avenue.celtickatt.com/store/includes/templates/classic/images/

If I were you, I'd get rid of the subdomains until you get zen working properly

If you want your store to be at https://WWW.ACCESSORY-AVENUE.COM/STORE then all your files and folders must be in that directory, with the CONFIGURE.PHP files pointing to them.

I think you've installed the software without a problem - it would not work if you hadn't - and it DOES work.

All you need to do is make sure that the PATH to your images is correct.

18 Mar 2007, 6:29 PM
#10
fpoole avatar

fpoole

New Zenner

Join Date:
Jan 2005
Location:
Seattle, WA
Posts:
50
Plugin Contributions:
0

Re: Images Won't Work (Any)

I'm getting the same thing, images won't appear.
I checked and recheck (could still be wrong, but not seeing it) and everything is 777.

It's a path thing I'm sure, but can't find it...
Should the only 2 files admin/../config and includes/config be the only one that I should focus on??

I've got two shops installed. the orginal which seems to work fine:
http://www.poolesphotos.com/shoppe/

and the newer version that I finally just did an Ïnstall to get it up:
http://poolesphotos.com//shoppe_New/index.php

both linked to the same DB.
Newer one doesn't have the template I want like the first one and need to move the template over, but the images aren't showing on the new one.

Everything else on the new one, appears to be working ok, outside of the images and me moving the old template over to the new one...

(also, so that I'm not causing problems here, should I be posting on another "Like" posting or should I be creating a new one.
I did a search to see if I could find help, and then post if I see a "Like" posting and work off that as it might shed some light?, maybe not... please advise on best way of dong it.. confused in Zen-land)...

thanx..

18 Mar 2007, 7:31 PM
#11
fpoole avatar

fpoole

New Zenner

Join Date:
Jan 2005
Location:
Seattle, WA
Posts:
50
Plugin Contributions:
0

Re: Images Won't Work (Any)

Got it, I think anyway......

The reason I'm not seeing any images... is, well.... Doh !!!!
There weren't any, in the new install...
Loading them int /images/ now...

Sometimes you just have to "Step away from the keyboard.."
to see the forrest from the trees...

back in a bit... but thinks this is it...

still would appreciate advice on the dual posting etc...

thanx much..

18 Mar 2007, 7:45 PM
#12
celtickatt avatar

celtickatt

Zen Follower

Join Date:
Mar 2005
Location:
Tulsa, Ok
Posts:
174
Plugin Contributions:
0

Re: Images Won't Work (Any)

OK, here's what I did (this is a sum, for future readers)...

Originally I already had the folder /accessory-avenue created and tried different ways of installing the cart. First, I tried installing it via Fantastico into the folders accessory-avenue/store (if you have worked with Fantastico, you know that the ACTUAL folder to install the script into should not already exist, so I didn't create the /store folder prior to installing- I let Fantastico create it as it installed it.) However, the images didn't work, so I tried completely taking out the cart and starting back with just the folder /accessory-avenue. I still wanted it in the folder /store, so this time I created that folder and I manually installed the cart, which went well, but the images still wouldn't show up. So here's what I tried just to see if it would work and so far it appears to be... I decided that I would not use the folder of /store, but I still needed the cart installed into a subfolder of my main domain, so I completely deleted everything, even the /accessory-avenue folder I created to install everything into. I then went back to Fantactico (for ease of quickness, just to test this out) and told it to install the cart into the folder /accessory-avenue (remember that I deleted it, because Fantastico will create it for you during installation.) And voila! All the images work. Technically speaking, the cart was installed to http://celtickatt.com/accessory-avenue/ but I went back into GoDaddy and changed the information so that https://www.accessory-avenue.com will point to http://celtickatt.com/accessory-avenue/ and everything seems to work ok

I don't know if all of that made sense to people, and that may not cure the issue for other people (especially if their setup is not the same as mine) but if it is... that's what I did. And I'm PRAYING that don't have to mess with this issue anymore!

Thanks for all your replies schoolboy!

-Shannon

18 Mar 2007, 8:54 PM
#13
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Images Won't Work (Any)

When you've established that your difficulties are not server related, or corrupted php files or .htaccess settings, a possible remedy to many puzzling conflicts often relates to incorrect settings in your CONFIGURE.PHP files.

You should check these files FIRST, and ensure that all the settings are correct, and describe to the zencart code, exactly where it must go to find all the bits and pieces.

When starting out with a new zen cart install, I load the software into a sub-directory one level below the domain's root directory. I don't set up sub-domains at this point. I do not try to host anything else on the site, so my index.html page in the root will simply say:- "Under Construction", or I will have a meta re-direct to a completely different website / domain.

Nothing else can interfere with the initial install - as there isn't anything to do the interfering!

So, my initial set-ups tend to look like:-

http://www.mywebsite.co.uk/store

I always do the install WITH demo products as I can do all the layout and cosmetics as thoroughly as is needed.

When I am happy that the store (still only with demo products) is 100% functional, I move it up to the root directory, load the products, and go live.

I don't like to have "live" sites that still look as if there's a lot of construction work to do - it's not a good message to customers.


I am of the opinion that some problems with new installs (such as those being described in this thread) occur because of existing settings/code/programs/html/file structure/sub-domains - etc, etc. etc getting in the way of zen cart.

Shannon... without having a good understanding of the history of your existing domain and its hosting set-up, I cannot really offer more explanation.

My suggestion would be to consider EITHER 1 OR 2:-

  1. Getting rid of everything on your existing domain and host server, and configuring it to be "back to basics". If you still want the content and functionality of this old stuff, then put it on a different domain and server, and put a simple index.html meta re-direct to take your visitors to the new place.

We have done this with:-

http://www.des-uk.com to go to the new site - des-uk-shop.com (click the link to see it in action.

  1. Putting up your webshop on a completely new domain (thus KEEPING your existing domain and its set-up intact) and when your new webshop is ready, linking to it from the old domain.