Page 1 of 1
[solved] Cataloger :: incorrect image urls
Posted: Fri Mar 22, 2013 11:30 am
by urheat
Used many times this great Cataloger-module. But now I have problems with the image url, that the module (or Cataloger.Image.php?) creates.
The path should be something like:
Code: Select all
www.site.com/uploads/images/catalog/image.jpg
but there is this "module/Cataloger" in the url, like:
Code: Select all
www.site.com/modules/Cataloger/uploads/images/catalog/image.jpg
Any ideas?
Cataloger: 0.11.3
CMSMS: 1.11.4
Re: Cataloger :: incorrect image urls
Posted: Fri Mar 22, 2013 2:00 pm
by Jo Morg
bug report [#8579] wrote:The $config['root_url'] and $config['uploads_url'] that are reported in Catalog.Image.php are incorrect unless they are stated explicitly in config.php (which they are not by default in newer versions of CMSMS).
It will be fixed in next release. For the moment the workaround is, as stated, to set explicitly both config vars in config.php.
Re: [solved] Cataloger :: incorrect image urls
Posted: Tue Apr 02, 2013 3:48 pm
by urbanbindi
Can you explain the workaround and where it should be included? I have a website due to go live soon and need cataloger working properly.
Re: [solved] Cataloger :: incorrect image urls
Posted: Tue Apr 02, 2013 3:55 pm
by Jo Morg
Just add the correct entries to your config.php file:
Code: Select all
$config['root_url'] = '<your_root_url>';
$config['uploads_url'] = '<your_uploads_url>';
Replace the <your_root_url> and <your_uploads_url> with the pertinent values for your site.

Re: [solved] Cataloger :: incorrect image urls
Posted: Tue Apr 02, 2013 4:02 pm
by urbanbindi
Jo Morg wrote:Just add the correct entries to your config.php file:
Code: Select all
$config['root_url'] = '<your_root_url>';
$config['uploads_url'] = '<your_uploads_url>';
Replace the <your_root_url> and <your_uploads_url> with the pertinent values for your site.

Thanks alot, it worked

Re: [solved] Cataloger :: incorrect image urls
Posted: Tue Apr 02, 2013 4:24 pm
by urbanbindi
I wanted to add...
now the "no image" graphic is being displayed for items with no images assigned. However, when I upload an image, there is still no image available for the item.
Re: [solved] Cataloger :: incorrect image urls
Posted: Tue Apr 02, 2013 5:10 pm
by Jo Morg
You may also need t set the uploads_path on the config.php...
Not sure...
Re: [solved] Cataloger :: incorrect image urls
Posted: Tue Apr 02, 2013 5:13 pm
by urbanbindi
Jo Morg wrote:You may also need t set the uploads_path on the config.php...
Not sure...
Yep that's right, I added it soon after I submitted that last post.