[ic] IC & Strap search error

kerry kerry at basicq.com
Tue Feb 23 09:05:55 UTC 2016



On 02/22/2016 06:22 PM, Klaatu IC Hack wrote:
> On Tue, Feb 23, 2016 at 2:00 AM, kerry <kerry at basicq.com> wrote:
>> I am getting this error when using search on a second cart used by a
>> different user. interchange owned by interch on both carts, catalog
>> owned by different user on the one the error is coming from.
>>
>> error.log looks like this:
>> kstrap /cgi-bin/kstrap/search Runtime error: mkdir
>> /var/www/html/kstrap/images/items/120x150: Permission denied at (tag
>> 'image') line 184.
>>
>> I manually added the directory, and changed owner to interch, but still
>> get the error.
>>
>> Since interch owns interchange, do I need to add second user to interch
>> group?
> 
> Not usually.
> 
> This could probably do with improvement and suggestions welcome
> however something like this usually gets a catalog running correctly:
> 
> chown -R interch:interch catalogs/CATALOGNAME
> chown -R interch:WEBUSER catalogs/CATALOGNAME/*
> chown -R interch:WEBUSER catalogs/CATALOGNAME/products/*
> chown -R interch:WEBUSER catalogs/CATALOGNAME/tmp/*
> 
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
> 
I created the directory 120x150 manually and that get's rid of the
error, but not sure it is the correct fix as I believe there is one more
sub directory for the images that I have seen.

I will keep your suggestion in mind and test it when I get a chance.



More information about the interchange-users mailing list