tripatheea / inventory-management

A simple web-based inventory management software written in PHP (MySQL) with CodeIgniter.
MIT License
65 stars 67 forks source link

Registration issue/Enable to register #9

Open gldtn opened 7 years ago

gldtn commented 7 years ago

I can't seem to register. Does it come with a default login? Does it come with a default user that I may have missed?

If I go to register, I'm just sent to the login page: https://glaudston.com/ims/index.php/auth/register

Thanks!

genkidama20 commented 7 years ago

I have a similar issue. Won't let me register, so I manually added a user via myphpadmin. Although, I guess I'm doing something wrong because it recognizes my username, but won't accept my password.

razlupercio commented 7 years ago

you need to change the $config['base_url'] parameter on the application/config/config.php to something like:

$config['base_url'] = 'http://localhost/inventory-management';

Anyway, there's some kind of bug since you won't be able to register unless in the application_fa93g/helpers/permission_manager_helper.php file you comment out the following line [22 in my project]:

        if ( ! $CI->tank_auth->is_logged_in())
        {
            //redirect('/auth/login/');
        }

Hope this helps...

MalkusCZ commented 5 years ago

It helps, unfortunatelly recaptcha is not working any more and replase is more complicated :(