Welcome Guest, Not a member yet? Register   Sign In
how to open admin panel
#1

[eluser]praveenarya[/eluser]
hi all,
i am developing a shopping cart where i have admin control panel and user side
for this i have created folders as specified here
now i want my admin side to display when i type
http://localhost/mysite/admin/
it is displaying 404 error
in user guide they said to select certain application type
$application_folder = "application/admin";
where i need to add this variable?
thank you
#2

[eluser]Phil Sturgeon[/eluser]
In the index.php.

Before you start doing it that way, this might help you work out the best method to use for creating an admin panel.

"Create an Admin panel with CodeIgniter"
#3

[eluser]praveenarya[/eluser]
thank you very much for your reply
#4

[eluser]praveenarya[/eluser]
hi all,
as explained in the link i have created admin and my stucture is

codeigniter/
index.php
admin/
index.php
system/
application/
frontend/
......
admin/
.....

i am getting error failed to open stream 'D:\wamp\www\codeigniter\admin/system/codeigniter/CodeIgniter.php'

what should i change in my admin index.php file i think in line
require_once BASEPATH.'codeigniter/CodeIgniter'.EXT;

i tried adding ../ and also substr but no use

thanks in advance..
#5

[eluser]Phil Sturgeon[/eluser]
Change $system_folder to "../system".

Did you read my post? This is the worst way to do it...
#6

[eluser]praveenarya[/eluser]
thank you so much for your reply,
i have tried second method but iam not getting it right i got 404 error
and tried first one and got this error thought atleast php eror can be solved




Theme © iAndrew 2016 - Forum software by © MyBB