X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Forum FAQs and guides (https://forum.x-cart.com/forumdisplay.php?f=30)
-   -   getting pics out of db (https://forum.x-cart.com/showthread.php?t=8438)

cotc2001 10-07-2004 10:54 AM

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

shan 10-07-2004 03:04 PM

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

giantpeach 11-20-2004 03:24 AM

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

shan 11-20-2004 03:35 AM

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 :wink:

giantpeach 11-21-2004 01:21 AM

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 :wink:


Ok, figured it out. I did a OPTIMIZE TABLE xcart_images and it cleared it down to the correct size :)

dianaal 11-24-2004 09:25 PM

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?

rvargas 12-17-2004 08:07 PM

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

shan 12-18-2004 05:20 AM

add .htaccess file to images directory with this in it

Code:

Allow from all

Taffy 01-17-2005 08:26 PM

This post saved me a LOT of time. Thanks guys!

rjcbear 01-17-2005 08:31 PM

Glad we can help.

Kind regards,
Ricky


All times are GMT -8. The time now is 11:00 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.