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

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

is there any problem in path settings?

THANKS
#2

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

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

it is http://localhost/ci/
#4

[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/
#5

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

http://localhost/ci/testing/test/secret

where
secret is word for scaffolding..

THANKS
#6

[eluser]CI Lee[/eluser]
OH!
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...
#7

[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...
#8

[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?
#9

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

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

Back up your files then try
http://ellislab.com/forums/viewthread/54103/




Theme © iAndrew 2016 - Forum software by © MyBB