[ic] Item promotion
Marcel Montes
marcel@multimake.com
Wed, 08 Nov 2000 13:45:40 -0300
Hiya everyone.
Today I've started lurking on the construct demo on the admin interface.
I've added a new item on hammers, with SKU 'm1001'
I edited the item (Pricing, Up Sell, and cross sell and Inventory) but
when I click
on "promotion" a cgi error pops up (500 Internal Server Error).
looking at logs....
here's what I've found:
================ URL =================
http://mydomain/cgi-bin/construct/admin/item_feature?mv_session_id=XowJZ2T6&item_id=m1001&ui_sequence_edit=&item_id_left=
=====================================
======= /usr/local/interchange/error.log =======
10.10.10.105 XowJZ2T6:10.10.10.105 - [08/November/2000:13:04:25 -0300]
construct /cgi-bin/construct/admin/item_feature Safe: There is no row
with index 'm1001' at /usr/local/interchange/lib/Vend/Table/Common.pm
line 255.
>
>
> my $db = $Db{merchandising};
> my $date = $Tag->convert_date({ raw => 1 });
> my $code = $CGI->{item_id} or return;
> return unless $db->field($code, 'timed_promotion');
> return if $date le $db->field($code, 'finish_date');
> $db->set_field($code, 'featured', 'expired');
> return;
>
>
10.10.10.105 XowJZ2T6:10.10.10.105 - [08/November/2000:13:04:25 -0300]
construct /cgi-bin/construct/admin/item_feature Runtime error: Can't
call method "open_table" on an undefined value at
/usr/local/interchange/lib/Vend/Data.pm line 789.
==========================================
I tried accessing it in a different way (item list table):
and
http://mydomain/cgi-bin/construct/admin/item_feature?mv_session_id=XowJZ2T6&item_id=m1001
returns the same error
on /var/log/httpd/error_log i've found the tipical "Premature end of
script" and nothing else.
Should I watch somewhere else?
Could it be a installation/makecat misconfiguration?