installing CI app on the subfolder of another CI app in my webserver |
[eluser]n1colius[/eluser]
hi i have a problem regarding in installing CI app on the subfolder of my main app that also build in CI so let's say my domain is www.mydomain.com and the app is in the root of my public_html folder. then i add another CI app that located in /public_html/demo/another_ciapp i already change the base url config to http://www.mydomain.com/demo/another_ciapp/ but it's not working and it gives me this error Code: Warning: require(/home/nikoliu1/public_html/demo/ci-ajax-smtpmail/system//home/nikoliu1/public_htmldemo/ci-ajax-smtpmail/application/config/constants.php) [function.require]: failed to open stream: No such file or directory in /home/nikoliu1/public_html/demo/ci-ajax-smtpmail/system/codeigniter/CodeIgniter.php on line 52 any ideas how to fix this?
[eluser]cereal[/eluser]
Read the User Guide: http://www.ellislab.com/codeigniter/user..._apps.html you have to modify the index.php file, bye
[eluser]William Lopes[/eluser]
I don't know if understand right, but you wanna put other app? If, create one folder e put the main "index.php" and folder "application" (even the CI) in the folder. Change your "$system_folder" for the way "CI system". Change normaly your config.php in "application". Ex.: $system_folder = "/home/nikoliu1/public_html/demo/ci-ajax-smtpmail/system" another_ciapp (any name) --> application (folder) --> index.php (file) Access by link from new folder, ex.: http://www.mydomain.com/demo/another_ciapp/ Sorry for the spelling, I'm Brazilian. Hugs!
|
Welcome Guest, Not a member yet? Register Sign In |