Kohana 3.2 not working Form helper

123 views Asked by At

I have some code, where is used Form helper. All worked well. Now I have error

Call to undefined method Form::open()

When I check SYSPATH exist classes Form and Kohana_Form

This situation is in each file where is used this helper.

This is kohana 3.2. In this files was not any changes. I tried it on PHP 5.4 and PHP 5.5

Any idea why? Thanks in advance for help.

1

There are 1 answers

0
lukenofurther On

The most likely thing is that you have a Form.php somewhere that's overriding the SYSTEM Form.php. To find out if this is happening, use the Kohana::find_file() function like this:

Kohana::find_file('classes', 'form');

The output from this should tell you the path of the Form.php that's being used when you call the Form class. Check if it's the one in the SYSTEM folder.