Closed ghost closed 6 years ago
Hello,
I'm trying to set this up for a friend who owns a restaurant. I'm not sure what I'm doing wrong in setting up the database (I assume it is trying to send a post to the database but it can't save there).
So you can see here (http://vagabondlogic.com/setup/) it is stuck on this page. But If I switch from mysqli to mysql it will just return a blank screen (which you can see here (http://www.ericslusarz.com/order-online/).
I'm wondering what I'm doing wrong in the configuration step.
Here is my database.php configuration file. Is there something else I need to change?
<?php if ( ! defined('BASEPATH')) exit('No direct access allowed');
$active_group = 'default'; $query_builder = TRUE;
$db['default']['dsn'] = ''; $db['default']['hostname'] = 'localhost'; $db['default']['username'] = 'ericslusarz'; $db['default']['password'] = 'entered my password here'; $db['default']['database'] = 'order-online-taco'; $db['default']['dbdriver'] = 'mysqli'; $db['default']['dbprefix'] = ''; $db['default']['pconnect'] = TRUE; $db['default']['db_debug'] = (ENVIRONMENT !== 'production'); $db['default']['cache_on'] = FALSE; $db['default']['cachedir'] = ''; $db['default']['char_set'] = 'utf8'; $db['default']['dbcollat'] = 'utf8_general_ci'; $db['default']['swap_pre'] = ''; $db['default']['autoinit'] = TRUE; $db['default']['encrypt'] = FALSE; $db['default']['compress'] = FALSE; $db['default']['stricton'] = FALSE; $db['default']['failover'] = array(); $db['default']['save_queries'] = (ENVIRONMENT !== 'production');
/ End of file database.php / / Location: ./system/tastyigniter/config/database.php /
And the other website has mysql instead of mysqli. I didn't include my password for obvious reasons.
Please, any help would be appreciated!
Use issues to report bugs, please post your questions on the forums or better still search the forums for existing solutions.
Hello,
I'm trying to set this up for a friend who owns a restaurant. I'm not sure what I'm doing wrong in setting up the database (I assume it is trying to send a post to the database but it can't save there).
So you can see here (http://vagabondlogic.com/setup/) it is stuck on this page. But If I switch from mysqli to mysql it will just return a blank screen (which you can see here (http://www.ericslusarz.com/order-online/).
I'm wondering what I'm doing wrong in the configuration step.
Here is my database.php configuration file. Is there something else I need to change?
<?php if ( ! defined('BASEPATH')) exit('No direct access allowed');
$active_group = 'default'; $query_builder = TRUE;
$db['default']['dsn'] = ''; $db['default']['hostname'] = 'localhost'; $db['default']['username'] = 'ericslusarz'; $db['default']['password'] = 'entered my password here'; $db['default']['database'] = 'order-online-taco'; $db['default']['dbdriver'] = 'mysqli'; $db['default']['dbprefix'] = ''; $db['default']['pconnect'] = TRUE; $db['default']['db_debug'] = (ENVIRONMENT !== 'production'); $db['default']['cache_on'] = FALSE; $db['default']['cachedir'] = ''; $db['default']['char_set'] = 'utf8'; $db['default']['dbcollat'] = 'utf8_general_ci'; $db['default']['swap_pre'] = ''; $db['default']['autoinit'] = TRUE; $db['default']['encrypt'] = FALSE; $db['default']['compress'] = FALSE; $db['default']['stricton'] = FALSE; $db['default']['failover'] = array(); $db['default']['save_queries'] = (ENVIRONMENT !== 'production');
/ End of file database.php / / Location: ./system/tastyigniter/config/database.php /
And the other website has mysql instead of mysqli. I didn't include my password for obvious reasons.
Please, any help would be appreciated!