![]() |
Cant rename or move application folder without breaking the cms. - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Cant rename or move application folder without breaking the cms. (/showthread.php?tid=53071) |
Cant rename or move application folder without breaking the cms. - El Forum - 07-10-2012 [eluser]Paulo Carvalho [/eluser] Yeah ,well im looking for it, just trying to find out if this sort of issue has been asked before, I think that eventually ill get it ![]() Cant rename or move application folder without breaking the cms. - El Forum - 07-10-2012 [eluser]wiredesignz[/eluser] I'll ask again... How can the word 'application' appear in the error message after you have renamed the directory to 'cms'? Your application is probably running from a different index.php file. To prove it alter the $application_folder setting in index.php to 'cms' but leave the directory name as 'application' and see what happens. Cant rename or move application folder without breaking the cms. - El Forum - 07-10-2012 [eluser]Paulo Carvalho [/eluser] this: Your application folder path does not appear to be set correctly. Please open the following file and correct this: index.php Cant rename or move application folder without breaking the cms. - El Forum - 07-10-2012 [eluser]wiredesignz[/eluser] Ok so look further down the code in index.php to the block of code which checks the application directory. Code: // The path to the "application" folder Rename both the application directory and change the index.php setting to something other than 'cms' EDIT: Have you set $modules_locations in the config file? Cant rename or move application folder without breaking the cms. - El Forum - 07-10-2012 [eluser]Paulo Carvalho [/eluser] still has application in error, very weird. Yes Code: $config['modules_locations'] = array( Cant rename or move application folder without breaking the cms. - El Forum - 07-10-2012 [eluser]wiredesignz[/eluser] echo APPPATH in a few strategic places. Try just before CodeIgniter.php loads in index.php and other places. EDIT: You can use FCPATH if your $modules_locations are outside of the application directory. You can see how it is defined in index.php Cant rename or move application folder without breaking the cms. - El Forum - 07-10-2012 [eluser]Paulo Carvalho [/eluser] I think Im going to make a new setup with the required folders layout from the beginning and add the modules and all the rest until I find what makes it fail. changed to luso_csm and folder to luso_cms triigers same error. if I print APPPATH result is luso_cms/ Cant rename or move application folder without breaking the cms. - El Forum - 07-10-2012 [eluser]Paulo Carvalho [/eluser] Just doing a new setup with application inside a luso_cms folder as soon as I move my_controller to core folder gives me the same error. luso_cms application system I had as well MX into third party folder Cant rename or move application folder without breaking the cms. - El Forum - 07-10-2012 [eluser]Paulo Carvalho [/eluser] now on the new setup works fine. Stupid me didnt up the My_loader and MY_router. but the only diference in MY_loader orginal and the one I have is this: Code: public $theme = ''; Cant rename or move application folder without breaking the cms. - El Forum - 07-10-2012 [eluser]Paulo Carvalho [/eluser] Think I have it working now, but no idea on how and what was making it fail ![]() |