Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

getting pics out of db

 
Reply
   X-Cart forums > Forum FAQs and guides
 
Thread Tools Search this Thread
  #11  
Old 10-07-2004, 10:54 AM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

Ok i've found out that it just won't export from the database to the filesystem BUT if i delete all detailed images from products and then change the image location and then upload a detailed image it WILL then place it into the file system.

Very, Very strange
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #12  
Old 10-07-2004, 03:04 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

Quote:
Originally Posted by Jason @ streetwerke
Good tip from rjcbear.

People need to understand that for some reason, X-Cart thought it would be really funny to have the default .htaccess file include the text:

Code:
Deny From All

So, you must change it or create a new file. I simply edited it, and copied it to my two image folders (Thumbnails & Detailed Images) that I have created under the .../xcart/files/ directory.

Also, you won't see the .htaccess files on most FTP programs. They are hidden files. I have to use my Control Panel File Manager application (off of my hosted server) to see them.

the reason was that its where your downloadable products get stored if you sell that kind of stuff
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #13  
Old 11-20-2004, 03:24 AM
 
giantpeach giantpeach is offline
 

Member
  
Join Date: Jun 2003
Posts: 18
 

Default thanks!

Wow, thanks for this quick how to. It worked perfectly for me!

One question though. The files are still in the db under 'xcart_images' as well (I only moved the detailed images). When it moves the images from db to the file system, does it not automatically delete them from the db? I'm trying to bring the size of my database down.

If not can I delete them and how?

thanks, j
__________________
giantpeach
Reply With Quote
  #14  
Old 11-20-2004, 03:35 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default Re: thanks!

Quote:
Originally Posted by giantpeach
Wow, thanks for this quick how to. It worked perfectly for me!

One question though. The files are still in the db under 'xcart_images' as well (I only moved the detailed images). When it moves the images from db to the file system, does it not automatically delete them from the db? I'm trying to bring the size of my database down.

If not can I delete them and how?

thanks, j

use the checkbox that says 'store only in this location'

something like that
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #15  
Old 11-21-2004, 01:21 AM
 
giantpeach giantpeach is offline
 

Member
  
Join Date: Jun 2003
Posts: 18
 

Default Re: thanks!

Quote:
Originally Posted by shan
Quote:
Originally Posted by giantpeach
Wow, thanks for this quick how to. It worked perfectly for me!

One question though. The files are still in the db under 'xcart_images' as well (I only moved the detailed images). When it moves the images from db to the file system, does it not automatically delete them from the db? I'm trying to bring the size of my database down.

If not can I delete them and how?

thanks, j

use the checkbox that says 'store only in this location'

something like that

Ok, figured it out. I did a OPTIMIZE TABLE xcart_images and it cleared it down to the correct size
__________________
giantpeach
Reply With Quote
  #16  
Old 11-24-2004, 09:25 PM
 
dianaal dianaal is offline
 

Member
  
Join Date: Sep 2004
Posts: 11
 

Default Help!!!

I try everything for import my images and I follow all the steps that you wrote here...but doesnt work. When I run the process it show me:

16177 /home/httpd/vhosts/swansterling.com/httpdocs/files/thumbs/DD0001.gif Success
#16181 /home/httpd/vhosts/swansterling.com/httpdocs/files/thumbs/DD0002.gif Success
#16185 /home/httpd/vhosts/swansterling.com/httpdocs/files/thumbs/DD0005.gif Success
#16179 /home/httpd/vhosts/swansterling.com/httpdocs/files/thumbs/DD0010.gif Success

etc etc

but when I see the products dont show me the images...what happen? what I am doing wrong?
__________________
Diana

xcart v4.0.19 [win]
Reply With Quote
  #17  
Old 12-17-2004, 08:07 PM
 
rvargas rvargas is offline
 

Member
  
Join Date: Sep 2004
Location: usa
Posts: 27
 

Default missing images

I followed the instrucctions to move my images to file system,
I puut them outside .../store/files, then I realized I would not be able to see them when I was modifying or creating a product, so I changed them to 'store/files/detailed' and 'store/files/thumbnails' I had no problems doing that, but now when I click on a product the detailed image do not appear, any ideas how can I fix this?

Thanks
__________________
Roberto Vargas
computersar.com
X-Cart Gold 4.0.13 Installed On Unix Server
Location: Ca - USA
Reply With Quote
  #18  
Old 12-18-2004, 05:20 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

add .htaccess file to images directory with this in it

Code:
Allow from all
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #19  
Old 01-17-2005, 08:26 PM
 
Taffy Taffy is offline
 

Advanced Member
  
Join Date: Dec 2004
Location: Azusa, California, USA
Posts: 54
 

Default

This post saved me a LOT of time. Thanks guys!
__________________
X-Cart 4.1.11
PHP 5.1.4
MySQL server 5.0.23
Windows
www.ericsperformanceparts.com
Reply With Quote
  #20  
Old 01-17-2005, 08:31 PM
  rjcbear's Avatar 
rjcbear rjcbear is offline
 

X-Adept
  
Join Date: Jun 2004
Location: Alabama,U.S.A
Posts: 503
 

Default

Glad we can help.

Kind regards,
Ricky
__________________
X-CART Gold version 4.0.14 & 4.1.11
Apache Version 1.3.29 (Unix)
EWDHosting-Quality X-cart Hosting
We will always sell you the right shoe and the left one is free.
Reply With Quote
Reply
   X-Cart forums > Forum FAQs and guides


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:51 PM.

   

 
X-Cart forums © 2001-2020