Welcome Guest, Not a member yet? Register   Sign In
Need Clarification
#1

[eluser]Unknown[/eluser]
I tried to properly follow every step of the installation guide from the user guide. I have to tell you it was a disaster looking at it and it brought more questions then answers. Not experienced users may feel the quide is fairly straigt forward but then again, an installation guide is supposed to be for a user with little or no experience.

Quote: 1.Unzip the package.

2.Upload the CodeIgniter folders and files to your server. Normally the index.php file will be at your root.

3.Open the application/config/config.php file with a text editor and set your base URL. If you intend to use encryption or sessions, set your encryption key.

4.If you intend to use a database, open the application/config/database.php file with a text editor and set your database settings.

steps 1, 3, & 4 are easy to understand. Step 2 sounds very easy to start with but gets confusing later.

"Upload the CodeIgniter folders and files to your server"... will the codeigniter folder be inside my site folder, or is it THE site folder? if it is THE site folder then obviously it will be renamed and that will also be the root folder..right?

Here is why I got that doubt in the first place...

Quote:If you wish to increase security by hiding the location of your CodeIgniter files you can rename the system and application folders to something more private. If you do rename them, you must open your main index.php file and set the $system_folder and $application_folder variables at the top of the file with the new name you've chosen.

For the best security, both the system and any application folders should be placed above web root so that they are not directly accessible via a browser. By default, .htaccess files are included in each folder to help prevent direct access, but it is best to remove them from public access entirely in case the web server configuration changes or doesn't abide by the .htaccess.

After moving them, open your main index.php file and set the $system_folder and $application_folder variables, preferably with a full path, e.g. '/www/MyUser/system'.

"For the best security, both the system and any application folders should be placed above web root so that they are not directly accessible via a browser".

Wait a sec... ABOVE the root??? I would along with a lot of other would appreciate an example dir structure for this, with clear indication of what/where is my codeigniter dir?, what/where is my site dir?, what root are you talking about?, AND

"After moving them, open your main index.php file and set the $system_folder and $application_folder variables, preferably with a full path, e.g. '/www/MyUser/system'."

with the dir structure explained example path to be set in the index.php after moving the files, because the given example path here says/www/MyUser/system where I am assuming this is a relative path to the 'system' folder inside the server root, but then the statement "should be placed above web root" makes absolutely no sense what so ever... not to me it does not.....

So here is what I want,

default dir structure with appropriate relative paths in the index.php, and moved and renamed dir structures for them as well..

I tried to uploade the default codeigniter folder to the server renamed it to mysitename, edited the baseurl in config.php to "http://localhost/mysitename/"

and tried running it, I got this error: "Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php"






Theme © iAndrew 2016 - Forum software by © MyBB