Welcome Guest, Not a member yet? Register   Sign In
help with scaffolding on the tutorial

(This post was last modified: 04-02-2015, 11:29 AM by ciadmin.)

[eluser]adrian westlake[/eluser]

I am new to CI, and just ran through the third tutorial (the AJAX function search) and downloaded the code. I thought I\'d try the scaffolding functionality, so amended the routes.php file, and the application.php file. When the page loads up, there is a warning message at the top.

A PHP Error was encountered

Severity: Warning

Message: preg_match() expects parameter 2 to be string, array given

Filename: helpers/url_helper.php

Line Number: 93

Anyone know the problem here?

In the routes.php file i added the line:

$route[\'scaffolding_trigger\'] = \"g6sHjjUUSF7shbH\";

In the constructor of the application.php file I put:


and to access the scaffolding I typed the url localhost/ci_sample/application/g6sHjjUUSF7shbH

I commented out the other code in the constuctor just in case that was interfering, but no luck...

Any help most gratefully received,


Messages In This Thread
help with scaffolding on the tutorial - by El Forum - 06-21-2007, 05:17 AM
"help with scaffolding on the tutorial" - by El Forum - 06-22-2007, 03:08 PM

Theme © iAndrew 2016 - Forum software by © MyBB