Welcome Guest, Not a member yet? Register   Sign In
host configuration
#1

Hello, I would like to help me with the correct configuration to host my project, and I made the appropriate settings (think and are all), when you view it on the web, I markthe 404, page not found.

and configure the lines.
$ config ['base_url'] = 'http://depbebidas.mipropia.com/';
$ route ['default_controller'] = 'login'; // my controller

my .htaccsess

RewriteEngine on
REQUEST_FILENAME RewriteCond% {}! -f
REQUEST_FILENAME RewriteCond% {}! -d
RewriteRule. * Index.php / $ 0 [PT, L]


thanks
Reply
#2

(This post was last modified: 12-08-2015, 10:53 PM by sv3tli0.)

If - http://depbebidas.mipropia.com is your site..

You have issue with Mysqli ..
read that and try some of its suggestions - http://stackoverflow.com/questions/42199...connect-vi
If I am right you are using some custom free hosting and its most likely that its not configured well..
Perhaps if you are using "localhost" for db host and switch it to "127.0.0.1" it may work..
Best VPS Hosting : Digital Ocean
Reply
#3

(12-08-2015, 10:46 PM)sv3tli0 Wrote: If - http://depbebidas.mipropia.com is your site..

You have issue with Mysqli ..
read that and try some of its suggestions - http://stackoverflow.com/questions/42199...connect-vi
If I am right you are using some custom free hosting and its most likely that its not configured well..
Perhaps if you are using "localhost" for db host and switch it to "127.0.0.1" it may work..

thanks, I worked that part, he tells me that there is error in a class. But I did that because in config routes
$ route ['default_controller'] = 'CursoGrocery';
I changed the name of my driver, that's my second controller, and Cundo I put my other controller
$ route ['default_controller'] = 'login'; Login to the 404 mark me, it is what I'm not clear bine.
because when I put another driver in my case "login" page not found me out and put another and finds ...
Reply




Theme © iAndrew 2016 - Forum software by © MyBB