[ic] Products.txt.upload problem

Frank Reitzenstein frank at aussievitamin.com
Sun May 5 10:48:55 UTC 2013


mnow wrote:
>
> On 05/05/2013 02:44 AM, Frank Reitzenstein wrote:
>> 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.
>>
>>
>>
>> _______________________________________________
>> interchange-users mailing list
>> interchange-users at icdevgroup.org
>> http://www.icdevgroup.org/mailman/listinfo/interchange-users
>>
> checked the headers and such and nothing seems to have changed since
> using RedHat.
>
> I did upload the basic products.txt from the tutorial pages and the
> server worked
> with the exception that only 2 of the 4 items showed up (not sure why
> that was though).
>
> Do not have a UI interface as this was set up manually.
> Can a UI be set up with manual config?
>
>
>
>
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
>
You should have a login already. I had my own way of building these
stores, but I am guessing that regardless of how you did it your admin
page is found like this:

This is my site where I sell the First Bible by Marcion of Sinope AD
140, which I edited, print and bind.

( http://www.franz-schubert.com/images/bloggie/books.mp4 )

http://www.marcion.info/

It has a neater URL than the store out of the box. This is achieved
thorugh lines in interchange.cfg and in httpd.conf. The real URL is:

http://www.marcion.info/shop/marcion/

Which was also changed from:

http://www.marcion.info/cgi-bin/marcion/

Anyway, unless there are too many server redirects I am guessing that
for all of these stores you just type admin after the index page like this

http://www.marcion.info/shop/marcion/admin

That is where you should be able to log in with your user and pass.

I have hosted at home for 10 years on ADSL.

I have been panicking a bit about the motherboard frying so I have
started to virtualise my office. Now my work pc is a virtual pc running
on linux KVM. I was able to make a clone onto a similar pc within an
hour. When I find a little time I will build my server as a virtual
machine too. In the past we would not have considered running the server
from a gui for various reasons, but with increasing speeds, at the very
least I want the server on virtual machines for backups and redundancy.
Development should then be much easier.

There is nothing wrong with building your whole setup from scratch. I
find that if too many years go by before the server blows up then
learning the new hardware, linux and servers becomes a huge job. That is
why I am looking at upgrades, development and the latest builds before
we need to do it during a crisis.




More information about the interchange-users mailing list