Welcome Guest, Not a member yet? Register   Sign In
Installation on shared host issue
#1

[eluser]Unknown[/eluser]
Sorry...I looked for this question here and can't find it. My Codeigniter install is jammed because of incorrect property for the "system folder". (Actually, the error msg is pointing to this propertly inside index.php, not the config.php) But I can't supply that system folder path because my site is on a shared host. I've heard CI can be used on a shared host, but what am I supposed to do for this "system folder" config? My web root is well inside my domain space.
#2

[eluser]InsiteFX[/eluser]
Mine is like this:
Code:
root
system
application
public_html
-- assets
-- index.php

If you put the system and application folders in the root then you need to edit your index.php filr to point to them.
Code:
/*
*-------------------------------------------------------------------------
* SYSTEM FOLDER NAME
*-------------------------------------------------------------------------
*
* This variable must contain the name of your "system" folder.
* Include the path if the folder is not in the same  directory
* as this file.
*
*/
$system_path = '../system';

/*
*-------------------------------------------------------------------------
* APPLICATION FOLDER NAME
*-------------------------------------------------------------------------
*
* If you want this front controller to use a different "application"
* folder then the default one you can set its name here. The folder
* can also be renamed or relocated anywhere on your server.  If
* you do, use a full server path. For more info please see the user guide:
* http://codeigniter.com/user_guide/general/managing_apps.html
*
* NO TRAILING SLASH!
*
*/
$application_folder = '../application';




Theme © iAndrew 2016 - Forum software by © MyBB