[ic] Products.txt.upload problem

Frank Reitzenstein frank at aussievitamin.com
Sun May 5 06:44:45 UTC 2013


mnow wrote:
>
> On 05/04/2013 05:16 AM, Stefan Hornburg (Racke) wrote:
>> On 05/04/2013 09:49 AM, mnow wrote:
>>> Hello,
>>>
>>> Recently switched from RH7 to Ubuntu with IC 5.6.1 and am now having
>>> issues with uploading the "products.txt" file.
>>> This was built using the "Tutorial Guide" and always worked under
>>> RH7 but not on Ubuntu.
>>>
>>> The file is uploaded to "/var/www/shops/tut/images/products.txt"
>>> then sym linked to
>>> "/var/lib/interchange/catalogs/tut/products/products.txt"
>>>
>>> The products.gdm seems to be updating, but then the web page fails
>>> with a 500 error and "The server encountered an internal error or
>>> misconfiguration and was unable to complete your request."
>>>
>>> Am also getting error in the IC log of "/cgi/bin/ic/tut Runtime
>>> error: Can't use an undefined value as an array reference at
>>> /usr/lib/interchange/Vend/Interpolate.pm line 4605"
>>>
>>> Any suggestions?
>>>
>> Please make sure that the upload file has the correct ownership /
>> permissions (readable and writable by IC user).
>>
>> Which code is at this line in Interpolate.pm?
>>
>> Regards
>>     Racke
>>
> The products.txt file has U/G of interchange and 666 for permissions.
>
> code at line 4506:
>         my $object = {
>                                             mv results => $ary,
>                                             mv_field_hash =>$nh,
>                                             mv_return_fields
> =>{mv_more_id},
>                                             matches => scalar @$ary,
>
>
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
>
Check your headers in product.txt, that none are missing. Also things
like capitalisation caused by spreadsheets. Try and find the table under
Tables in Admin. I really only use this type of database for
variable.txt and a few others. You can also create a short products.txt
with one row of headers and one item to help nail it down. Of course the
file may be fine.





More information about the interchange-users mailing list