View Single Post
  #5  
Old 08-19-2004, 12:43 PM
 
Aragorn Aragorn is offline
 

Member
  
Join Date: Mar 2004
Location: UK
Posts: 23
 

Default Re: getting pics out of db

Hi rjc,

This is great... I'm also a "newbie"...

Have tried to do this... but I keep getting the message...

Warning: fopen(_htm/home/maxtarco/public_html/store/files/master/t_3.jpg): failed to open stream: No such file or directory in /home/maxtarco/public_html/store/admin/images_location.php on line 136

Warning: Cannot modify header information - headers already sent by (output started at /home/maxtarco/public_html/store/admin/images_location.php:136) in /home/maxtarco/public_html/store/include/func.php on line 181


but I'm not sure what this means or what I'm doing wrong.

All my image files (like 8416.jpg) are located in .../store/files/master

Also... I've uploaded my products in a product file with the .jpg file name in the thumbnail field.


Can you help?

thanks,

Aragorn





Quote:
Originally Posted by rjcbear
Quote:
Originally Posted by Joshshift
this may seem like a dumb question, but i was wondering if i could get a walkthrough on this. i have read all the posts concerning this and couldnt get a real straight answer. i have all my images in my database and want to put them in a "file system" how can i do this, i saw no option in phpmyadmin to do so. am i missing it? i have phpmyadmin version 2.4.0 and mysql version 4.0.20. im really lost on this, any info would be greatly appreciated.

Thanks in advance,

Josh

Josh,

here, is how to do it.

do not use phpMyadmin.

1.- Login into your store admin section.
2.- Make sure you create the folders on your server for the Thumbnails and the Detail Images and giving the proper permission if you have a UNIX server.
3.- Select "Images location"
Product thumbnails
4.- Store images in "File system"
5.- Type the path of your thumbnails (i.e. ../xcart/files/thumbnails)
Detailed product Images
6.- Store images in "File System"
7.- Type the path of your detail images (i.e. ../xcart/files/details)
8.- Select "Submit" buttom
9.- now create a file name ".htaccess"
10.- the htaccess file should have the following line of code
Allow from all
11.- Make sure the file you created does not have any extention if it does rename it.
12.- upload the .htaccess file to both of your folders where your images are.

and that will do it. If you have any question please drop me a line

Kind regards,
Ricky
__________________
==========================
Current version: xCart Gold 4.0.11 [unix]
iMac - running Leopard / PC - running XP Prof.
Reply With Quote