change path of image problem, please help

11.10.2012 11:19
#1
Zelda
User Zelda
Name: Azura
10.10.2012
Posts: 6
Quote
change path of image problem, please help

I'm trying to change path of my images in this .php file:
\components\com_jshopping\lib\default_config.php

The old code is:
$config->image_product_live_path = $config->live_path . "files/img_products";
$config->image_product_path = $config->path . "files/img_products";

And i'm tryng to change path to my D: drive, for testing i'm trying at localhost, and the code i've changed is :
$config->image_product_live_path = "D:/files/test";
$config->image_product_path = "D:/files/test";

The result is, the image saved succesfully to my folder D:/files/test, but the problem is the image did'nt shown in my backend and also my website? What should i do? Help me please...
change path of image problem, please help

 
11.10.2012 11:51
#2
swissa
Joomshopping forum user no avatar
Name: swissandy
10.10.2011
Posts: 166
Quote
Aw: change path of image problem, please help

Just a thought but have you checked other files for the paths of images too?

e.g. in /controllers/product.php

do a backup of the file first obviously,

check lines circa 147, 202, 204, 215

They may need changing to the new path too.

 
11.10.2012 12:34
#3
Zelda
User Zelda
Name: Azura
10.10.2012
Posts: 6
Quote
Aw: change path of image problem, please help

swissa - 11.10.2012 11:51
Just a thought but have you checked other files for the paths of images too?

e.g. in /controllers/product.php

do a backup of the file first obviously,

check lines circa 147, 202, 204, 215

They may need changing to the new path too.


tx for your attention, /controllers/product.php is edited just like your guide, but nothing is change, is there another .php file is should modify?

 
Copyrights MAXXmarketing GmbH. All Rights Reserved