EllisLab text mark
Advanced Search
     
Form validation: problem finding file in config folder
Posted: 10 November 2012 02:56 PM   [ Ignore ]
Joined: 2012-10-28
6 posts

I have a typical form-based app which I have copied and placed at a different IP. The only difference between the two installations is that the first is installed in a subdirectory of the web root, the new one is installed in the web root.

The only problem with the new installation seems to be that it can’t find form_validation.php in the config folder. The login screen continually fails validation.

If I set a rule in the controller using $this->form_validation->set_rules, the form works.

Since the new installation finds the copied database, I assume that at least the db config file is being found.

Any ideas on how to debug this?

 
Posted: 10 November 2012 05:50 PM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Joined: 2009-04-15
453 posts

are both machines Linux OS?

can you show a simple layout of the dir structure?

 Signature 

Code By Jeff

Mahana Messaging Library

Problem with your query? Did you run

$this->db->last_query(); 

before you came to the forums for help?

 
Posted: 10 November 2012 10:02 PM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Joined: 2012-10-28
6 posts

Sorry. This problem is resolved. It was due to a lingering extension to Form_validation.php. Once removed, problem solved.