Welcome Guest, Not a member yet? Register   Sign In
Issues with uploading files to web server
#1

Hi guys, i currently need your help badly
have just finished developing a web app
but the issue is uploading to the web server

after the uploading
anytime i visit the website , what i see is error 404 ,page not found
whats the way out , thanks alot.
Reply
#2

Hi, teelake. I would try to first install Codeigniter alone on your web server. You should get the original welcome page just like when you installed it on your local host. Don't copy your .htaccess to your web server. To remove the need to use index.php in all your URLs, create a new .htaccess on your web server. I think this is all you need:

Code:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]  

Once you have Codeigniter working on your web server, then upload the applications folder from your local Codeigniter installation to your web server, replacing the existing one. Everything that is about your application should be in that folder. If your database is created, and if you didn't hard code URLs in your application, it should work without any changes.

Let us know how it's going.
Hey, don't work without a PHP debugger. Several free IDEs have this features built in. Two are NetBeans and CodeLobster. Without a debugger, it's like you're driving with a blindfold on -- you are going to crash!
Reply
#3

thanks i will get back to you
Reply
#4

thanks a lot bro. am really grateful. u made ma day
Reply




Theme © iAndrew 2016 - Forum software by © MyBB