I cant access my admin panel

Username ((http://unlockme.epizy.com/)) or Website URL

(please specify the website or account you are asking about)

i cant access my admin panel it is also not showing errors

(please share the FULL error message you see)

Other Information

(other information and details relevant to your question)

Can you screenshot the root directory contents?

do you mean the root directry of admin?

the user login is working fine

What is the URL of the admin login form?

2 Likes

http://unlockme.epizy.com/index.php/admin

in xampp it is working fine

http://localhost/unlock/index.php/Admin
this is xampp url

Is better for you to show the root directory contents in order to help you figure out the admin location

D:\xampp\htdocs\unlock\application\views\admin

We cannot see your computer’s files if you give us the path to that as we don’t have access to your files.

This link leads me to an error 500. Could you turn on PHP errors in the control panel and show us the error you are getting?

5 Likes

turned on error but now it is only black screen

What is “http://unlockme.epizy.com/index.php/admin” supposed to show?

admin panel

Is it supposed to show a login or just an admin panel? Are you sure there is code in “index.php/admin/”? If so, could you show us?

1 Like

it should show admin login in xampp when i enter this url it show admin login

in infinity when i enter the same it change the url to this

http://unlockme.epizy.com/index.php/admin/session/?return_url=http://unlockme.epizy.com/index.php/admin.html

XAMPP is software to run code locally which is not the same as here. Could you show us the contents of your code?

1 Like
<div class="loginBlock" id="login" style="display: block;">

    <h1>Welcome! Please Sign In</h1>

    <div class="dr"><span></span></div>

    <div class="loginForm">

        <?php $this->load->view('admin/includes/message'); ?>

        <?php echo form_open('admin/login', array('class' => 'form-horizontal')); ?>

            <input type="hidden" name="return_url" value="<?php echo $this->input->get('return_url') ?>" />

            <div class="control-group">

                <div class="input-prepend">

                    <span class="add-on"><span class="icon-envelope"></span></span>

                    <input type="text" name="Email" id="Email" placeholder="Email" value="<?php echo set_value('Email') ?>" class="validate[required]"/>

                </div>                

            </div>

            <div class="control-group">

                <div class="input-prepend">

                    <span class="add-on"><span class="icon-lock"></span></span>

                    <input type="password" name="Password" id="Password" placeholder="Password" class="validate[required]"/>

                </div>

            </div>

            <div class="row-fluid">

                <div class="span8">

                    <div class="control-group" style="margin-top: 5px;">

                        <!--<label class="checkbox"><input type="checkbox"> Remember me</label>-->                                                

                    </div>                    

                </div>

                <div class="span4">

                    <button type="submit" class="btn btn-block">Sign in</button>      

                </div>

            </div>

        <?php echo form_close(); ?>  

        <div class="dr"><span></span></div>

        <div class="controls">

            <div class="row-fluid">

                <div class="span6">

                    <button class="btn btn-link btn-block" onClick="loginBlock('#forgot');">Forgot your password?</button>

                </div>

                <div class="span2"></div>

                <div class="span4"></div>

            </div>

        </div>

    </div>

</div>    



<div class="loginBlock" id="forgot">

    <h1>Forgot your password?</h1>

    <div class="dr"><span></span></div>

    <div class="loginForm">            

        <?php echo form_open('admin/session/forgot_password', array('class' => 'form-horizontal')) ?>

            <p>This form help you return your password. Please, enter your password, and send request</p>

            <div class="control-group">

                <div class="input-prepend">

                    <span class="add-on"><span class="icon-envelope"></span></span>

                    <input type="text" placeholder="Your email" name="Email" value="<?php echo set_value('Email') ?>"/>

                </div>                

            </div>                

            <div class="row-fluid">

                <div class="span8"></div>

                <div class="span4">

                    <button type="submit" class="btn btn-block">Send request</button>      

                </div>

            </div>

        <?php echo form_close(); ?>  

        <div class="dr"><span></span></div>

        <div class="controls">

            <div class="row-fluid">                    

                <div class="span12">

                    <button class="btn btn-link" onClick="loginBlock('#login');">&laquo; Back</button>

                </div>

            </div>

        </div>

    </div>

</div>

admin login page

I’m afraid I can’t figure this out, your link is redirecting me to “http://unlockme.epizy.com/index.php/admin/session/?return_url=http://unlockme.epizy.com/index.php/admin.html” which I believe shouldn’t happen.

I believe this would not work

due to this

This is only tip of the iceberg. What works on localhost may not work on actual hosting.
You got to figure on your own

5 Likes

so should i remove this