[ic] 500 Error after UI edit

Mike Heins mike at perusion.com
Thu Dec 4 11:30:50 EST 2003


Quoting Interchange User (interchange at framework.cx):
> Greetings,
> 
> 	IC 4.9.9, MySQL 4
> 
> 	In MySQL, I altered a table to include a new field.  I then went 
> 	into the admin UI and added said field to show up in the editor, and 
> immediately started getting 500 errors as soon as I went back to the 
> item editor.  This is what the logs tell me:
> 
> 10.0.1.2 dhcggmaZ:192.168.0.100 - [04/December/2003:07:22:29 -0500] 
> fmridc /cgi-bin/fmridc/admin/item_edit.html Runtime error: Can't use 
> string ("price") as a HASH ref while "strict refs" in use at 
> /Users/peter/interchange/lib/Vend/Table/Editor.pm line 3403.
> 
> 	The table I am accessing is not named "products" but is one of the 
> ProductFiles in catalog.cfg, but the table does not contain a field 
> named "price".  Is that necessary?
> 
> 	Can anyone tell me why this is happening?

You didn't restart IC. Interchange reads the table at catalog config
time, and builds the column setup then. 

Do "apply changes" and all should be well.

-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.765.647.1295      <mike at perusion.com>

Opportunity is missed by most people because it is dressed in
overalls and looks like work. -- Thomas Edison


More information about the interchange-users mailing list