Custome validation error [message #561] |
Wed, 24 January 2007 05:19 |
stephenboey
Messages: 54 Registered: January 2007
|
Member |
|
|
Hi Tony,
For Tutorial 5, I encountered a problem doing the following
Test -> x_person -> (select a record I just created) x_person_addr -> New -> I keyed in (Addr Line 1 = 'Address Line 1', Town = 'SJ', Postcode = '47600') -> Submit
I encoutered an error. When I checked the error log it says
[24-Jan-2007 17:26:28] PHP Fatal error: validation_class::require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'subtype=CUSTOM, validation="sample.validation.class.inc' (include_path='.;C:\Apache\htdocs\radicore\MENU;C:\Apache\ht docs\radicore\audit;C:\Apache\htdocs\radicore\workflow;C:\Ap ache\htdocs\radicore\includes') in C:\Apache\htdocs\radicore\includes\std.validation.class.inc on line 46
Seems like Php is able to find std.validation.class.inc. So it could be the syntax of the generated code for sample.validation.class.inc
Im not sure if validation =" is valid. Please advice if any changes is necessary to fix this.
FYI, the value for <CUSTOM Validation> for telephone_no, is set to:
subtype=CUSTOM, validation=" sample.validation.class.inc/sample_validation_class/telephon e_no " (Meaning that I copied this into that field)
[Updated on: Wed, 24 January 2007 05:33] Report message to a moderator
|
|
|