CodeIgniter Forums
404 error while creating new reord in scaffolding - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: 404 error while creating new reord in scaffolding (/showthread.php?tid=2521)



404 error while creating new reord in scaffolding - El Forum - 08-09-2007

[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


404 error while creating new reord in scaffolding - El Forum - 08-09-2007

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


404 error while creating new reord in scaffolding - El Forum - 08-10-2007

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

it is http://localhost/ci/


404 error while creating new reord in scaffolding - El Forum - 08-10-2007

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


404 error while creating new reord in scaffolding - El Forum - 08-10-2007

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

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

where
secret is word for scaffolding..

THANKS


404 error while creating new reord in scaffolding - El Forum - 08-10-2007

[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-guide/general/scaffolding.html titled "Enabling Scaffolding"?

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


404 error while creating new reord in scaffolding - El Forum - 08-10-2007

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


404 error while creating new reord in scaffolding - El Forum - 08-10-2007

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


404 error while creating new reord in scaffolding - El Forum - 08-10-2007

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


404 error while creating new reord in scaffolding - El Forum - 08-10-2007

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

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