Mailing List Archive

IC & Strap search error
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?

Kerry

Internal Server Error

The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator at root@localhost to inform them
of the time this error occurred, and the actions you performed just
before this error.

More information about this error may be available in the server error log.

_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users
Re: IC & Strap search error [ In reply to ]
On Tue, Feb 23, 2016 at 2:00 AM, kerry <kerry@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@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users
Re: IC & Strap search error [ In reply to ]
On 02/22/2016 06:22 PM, Klaatu IC Hack wrote:
> On Tue, Feb 23, 2016 at 2:00 AM, kerry <kerry@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@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.

_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users