Welcome Guest, Not a member yet? Register   Sign In
404 error while creating new reord in scaffolding

[eluser]Kaleem Ullah[/eluser]
i am facing problem while i want to create new record in scaffolding....

is there any problem in path settings?


[eluser]CI Lee[/eluser]
Have you set your base url in the config file?

[eluser]Kaleem Ullah[/eluser]
ya i have set it already ...

it is http://localhost/ci/

[eluser]CI Lee[/eluser]
Can you post the url that is causing the 404? I understand that it is a local server so everything after the http://localhost/ci/

[eluser]Kaleem Ullah[/eluser]
it is..


secret is word for scaffolding..


[eluser]CI Lee[/eluser]
So the scaffolding doesnt load at all then!
I follow now!

Have you followed the steps at http://ellislab.com/codeigniter/user-gui...lding.html titled "Enabling Scaffolding"?

It has to be loaded in the controller of your choice etc...

[eluser]Kaleem Ullah[/eluser]
ya i enable it already....
it shows me all of the records which is in my table.....
but it shows error while creating new record...

[eluser]CI Lee[/eluser]
Ahh thats what I was trying to figure out when I asked the url.

So you can see the table when you access http://localhost/ci/testing/test/secret but when you try and create an entry it fails; correct?

[eluser]Kaleem Ullah[/eluser]
ya u r 100% rite....

[eluser]CI Lee[/eluser]
Maybe its the subfolder issue....

Back up your files then try

Theme © iAndrew 2016 - Forum software by © MyBB