osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

change path to images to absolute reference

This is a discussion on change path to images to absolute reference within the osCMax v1.7 Installation forums, part of the osCMax v1.7 Forums category; My web host uses IIS. They do not permit file uploads to folders inside the main website folder. I can ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Installation

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 12-31-2003, 06:36 PM
Lurker
 
Join Date: Dec 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mkraft
Default change path to images to absolute reference

My web host uses IIS. They do not permit file uploads to folders inside the main website folder. I can create a new folder on the same level as the main folder for my images, but I need a little help in modifying the code to display the images in the pages and to direct the upload to the folder.

Any tips?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 01-05-2004, 09:07 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,568
Thanks: 1
Thanked 84 Times in 71 Posts
Rep Power: 10
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default

Not sure what your saying - you can not have subfolders in subfolders?

Where did you install OSC - where did you need to put the images. I have an IIS server and works fine.

If you installed to www.mystore.com/catalog/ and want the images from www.mystore.com/images/ then change your configure.php file and change the define for images to "../images" do the same for upload/downloads.

Better suggestion - get a Apache host.
__________________
JPF - osCMax Fourm Moderator
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 01-09-2004, 06:49 AM
Anonymous
Guest
 
Posts: n/a
Default

Ok - I have some of this figured out, so let me restate the situation:

In IIS, my images are in a folder not inside the root web, but at the same level (ISP security stuff). The created a virutal directory for me called maximages. I made the apporpriate changes in the catalog/includes/configure.php, moved my images, etc. and that part works.

In the admin, though, I've tracked my problem down to the DIR_FS_CATALOG_IMAGES variable. I keep getting an error that the folder for the images doesn't exist. I've tried putting the fully qualified path (d:/hosted web sites/my.id/site/maximages/), just "/maximages/", and just about any other combo I can think of, but I am still getting the error (with the missing folder error changing to reflect whatever I set the variable to). I guess if somebody can tell me how this var is used in the code, or where it is, I can figure out how I need to config that variable so it works.

Thanks in advance!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 01-09-2004, 06:53 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,568
Thanks: 1
Thanked 84 Times in 71 Posts
Rep Power: 10
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default

Have you tried 'maximages/' (not '/maximages/') or '../maximages/' ?
__________________
JPF - osCMax Fourm Moderator
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 03-06-2004, 07:01 AM
Anonymous
Guest
 
Posts: n/a
Default

there are 2 config.php files, one is in the includes and one is in includes admin
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 04-24-2004, 01:17 AM
Anonymous
Guest
 
Posts: n/a
Default

Did you ever figure out this problem? I have the same "images directory does not exist".
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

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
Path to images wrong after install cwinter osCommerce 2.2 Installation Help 2 12-14-2004 06:37 AM
Images Path ... arames osCommerce 2.2 Modification Help 7 06-24-2004 06:59 AM
Image path, where to change? misterjonl osCommerce 2.2 Modification Help 2 10-08-2003 07:23 PM
How to change httpsdocs path to httpdocs, post installation? dmilo osCommerce 2.2 Installation Help 12 04-22-2003 02:25 AM
Absolute vs. Relative Links in header.php sheikyerbouti osCommerce 2.2 Modification Help 0 10-24-2002 10:38 AM


All times are GMT -8. The time now is 11:56 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax