installing CI |
[eluser]djeetee[/eluser]
fellow codeigniters, I'm moving my local ci site onto a media temple server and I'm having a problem with the location of the system and application folders. the structure of the server is as follows: ../domains /mysite.com /html html is the root of my domain. i.e this is where i'd go when i access www.mysite.com I placed the ci system folder (ci_system) under domains. since the html folder is being used by a few 'under construction' files, I created a subfolder called 'mysiteapp' under html and placed my application folder, idex.php, css, js folders there. I edited the index.php file so that $system_folder = "../../../ci_system"; the problem is, when I access the site, i get a php error: Warning: require(../../../ci_system/application/config/constants.php) [function.require]: failed to open stream: No such file or directory in /nfs/c08/h04/mnt/xxxxxx/domains/ci_system/codeigniter/CodeIgniter.php on line 52 so it looks like the ci_system folder is being located however it is still trying to locate the application folder off of the ci_system folder. I have tried specifying the full path the the application folder but it still tries to concatenate the 2 together. I have not done many ci installations and my local one was done months ago and i don't remember it being a pain. so I'm not sure where to look to fix this problem. hope someone can help. thanks
[eluser]djeetee[/eluser]
UPDATE: I upgraded CI to v2.01. the problem went away. not sure why or how. maybe the new index.php helped. who knows. |
Welcome Guest, Not a member yet? Register Sign In |