Welcome Guest, Not a member yet? Register   Sign In
Uploading Project
#1

[eluser]Unknown[/eluser]
Hi Everyone!
I have the following problem: cannot upload working site from localhost to hosting. i have bought domain, copied files to site by filezilla (system, application and assets). Changed configs. When trying to view site, site is not viewed as it should be, just list of files or error "access forbiden". To skip access forbiden, just deleted index.html files (but i think it's wrong solution).
htaccess:
Code:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]
When trying to load view file, it says "Using $this when not in object context". As i understood, it's problems with static functions and i should change it like $ci =& get_instance(); and use $ci instead of $this.
So question, please tell me, what should i do to properly upload my project(
Thanks in advance!




Theme © iAndrew 2016 - Forum software by © MyBB