Shopping Cart Forum

Go Back   eShop Forums - eCommerce Help Forum for Shopping Cart Owners. > Shopping Cart Software > Zen Cart & osCommerce
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Zen Cart & osCommerce Tips, advice and help on how to use the most popular free E-commerce shopping carts available.

Free £10 High Street Voucher Euroffice Click here!
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-01-2008, 12:44 PM
Olivewoo Olivewoo is offline
Member
 
Join Date: Jan 2008
Location: Kent, UK
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Default The Template won't show...

Hi everybody..

well with one problem and another it's taken a while to Zencart installed, but we have it complete now.

just one little problem, i brought the PC with ZC into the office just incase i have a little time to play with it. the IT guys here have put it on the network etc and i can access ZC on the pc itself no problem (localhost). What i was hoping to do was remote connect from my desk but for some reason when i put the IP etc in IE ZC loads but without a template. ie now images, background etc just plain text.

incase it matters i think i ought to say ZC is loaded using XAMPP...

If anyone has any idea i love to hear from you..

Many thanks

Olivewoo
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-01-2008, 05:14 PM
Lawrence Lawrence is offline
Forum Admin
 
Join Date: Aug 2007
Location: Kenley, Surrey, UK
Posts: 1,220
Thanks: 2
Thanked 81 Times in 81 Posts
Default Re: The Template won't show...

The problem is probably due to the fact that when you installed Zen it was configured for 'localhost', so when you try to access it remotely your browser looks for the images and CSS on 'localhost' i.e. the PC you are browsing from. To fix the problem, you will need to configure Zen to work from the IP it is running from.

When you view the store remotely, right click on one of the image placeholders and select "properties", this will show you the path to the image location, you will see that it is looking for the image on the browsing PC and not the one running the store.

You can make it work by editing /includes/configure.php and admin/includes/configure.php but it will no longer work as local host when you remove it from the network.

There's two ways I can think off to get it to work in both environments. Create two copies of each config file and switch between them depending on where you are or when you are at home, configure your router (if you have one) to use the same IP for your PC as is used at work and leave the store configured for that IP instead of localhost. The second option is getting into geek territory and shouldn't be attempted unless you understand routers and networking.
__________________
Lawrence
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10-01-2008, 09:20 PM
Olivewoo Olivewoo is offline
Member
 
Join Date: Jan 2008
Location: Kent, UK
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: The Template won't show...

Thanks Lawrence, i'll have a look in the morning, what i did do today was use Net Meeting which was ok for now, i think long term i'll just have it at home and use it there.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 11-01-2008, 05:31 AM
dezina's Avatar
dezina dezina is offline
http://dezina.com
 
Join Date: Sep 2007
Location: England
Posts: 513
Blog Entries: 6
Thanks: 12
Thanked 75 Times in 72 Posts
Default Re: The Template won't show...

If you are using Windows, you can try the following
i.e.
Code:
Go to Run->cmd
you will get cmd command prompt
Type hostname
you will get the computer name here.
lets say the output is mkr456
then type
http://mkr456 
if this works on your pc, it should work in the network
and zen cart path should be
http://mkr456/zencart
(substitute /zencart for name of your zencart store folder)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 11-01-2008, 03:22 PM
Olivewoo Olivewoo is offline
Member
 
Join Date: Jan 2008
Location: Kent, UK
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: The Template won't show...

Hi Dezina,

Thanks for the reply, i gave this a go, but didn't work unfortunately.

I'm just going to take it back home and work on it there...

Just to chage the subject slightly, i see within the admin panel of Zencart you can control the sideboxes (position on off etc.), but where do i adjust what displays in the main page (or in the centre of the page) for example the featured products and new products i want to remove.

Thanks for for the help again.
Regards
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 11-01-2008, 03:33 PM
dezina's Avatar
dezina dezina is offline
http://dezina.com
 
Join Date: Sep 2007
Location: England
Posts: 513
Blog Entries: 6
Thanks: 12
Thanked 75 Times in 72 Posts
Default Re: The Template won't show...

Centre page displays..featured, new special etc
Turn on and off.. url below explains all
http://tutorials.zen-cart.com/index.php?article=4
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 14-01-2008, 11:17 AM
Olivewoo Olivewoo is offline
Member
 
Join Date: Jan 2008
Location: Kent, UK
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: The Template won't show...

Thanks again for the help Dezina.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for a Template BillH Site Building, Template & Image Design 14 21-11-2008 11:35 AM
altering a template MumsGrotto Site Building, Template & Image Design 5 29-01-2008 06:19 PM
Making simple changes to new template? Arkwright Zen Cart & osCommerce 1 19-10-2007 01:42 PM
Template Monster - Don't do it! Lawrence Zen Cart & osCommerce 0 26-09-2007 12:53 AM
Uploading a new template? Arkwright Zen Cart & osCommerce 2 25-09-2007 07:50 PM

Google

Edible Graphics, Affordable E-Commerce, Web Shops & Custom Form Scripts
Click here for domain name registration and web hosting
tech news, product reviews, the latest home and business technology, the latest in digital imaging


Content Relevant URLs by vBSEO 3.0.0