CodeIgniter Forums
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: scaffolding (/showthread.php?tid=33044)



scaffolding - El Forum - 08-13-2010

[eluser]anna16[/eluser]
Hi

I have successfully installed the latest version of CI.
I also successfully run the blog tutorial and then when
I added scaffolding and followed the instruction, there is an error message,

Code:
A PHP Error was encountered

Severity: Warning

Message: require_once(/home/coder9/public_html/ci/system9/scaffolding/Scaffolding.php) [function.require-once]: failed to open stream: No such file or directory

Filename: libraries/Controller.php

Line Number: 117

Where did i made wrong? or is the scaffolding is really deprecated?
anybody would like to help and explain to me this.

Thanks in advance.


scaffolding - El Forum - 08-13-2010

[eluser]bretticus[/eluser]
where does the part of the path: system9 come from? It should be system unless you have renamed the system folder.


scaffolding - El Forum - 08-13-2010

[eluser]anna16[/eluser]
yes i renamed system into system9


scaffolding - El Forum - 08-13-2010

[eluser]anna16[/eluser]
A simple 'Hello World' script worked.
I don't understand why the scaffolding has an error.
Anyone would like to help please.

Thanks in advance.


scaffolding - El Forum - 08-13-2010

[eluser]bretticus[/eluser]
Try changing it back and see if that fixes your problem, or modify Controller.php to use your custom path, or don't use scaffolding (there really are many better database editors out there.) Why did you change the system folder path anyway? If it's added security (through obscurity) you are after, better to use mod_rewrite:

http://codeigniter.com/wiki/mod_rewrite/


scaffolding - El Forum - 08-13-2010

[eluser]anna16[/eluser]
thanks I'll try your suggestion.