473,608 Members | 1,820 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Routing issues with CodeIgniter

57 New Member
Hi everyone, I'm a beginner in not just Codeigniter but in frameworks in general. And this routing thing is really confusing me. *This might be a silly question but here it is.*

This is the thing:

Expand|Select|Wrap|Line Numbers
  1. $route['default_contoller'] = 'dashboard';  //main page here, it works
  2. $route['login'] = 'login';
The problem is that when I go to localhost/codeigniter/login, it brings back to the dashboard. I'm very sure I'm not making redirects to dashboard from the login page.
Jun 4 '16 #1
1 1260
Toxicous8
57 New Member
I SOLVED IT GUYS. thanks anyway
Jul 6 '16 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
4805
by: Shiv Agarwal | last post by:
Hi, I am writing a .NET application in C#. I have to display the routing table in some formatted NMS way. Anyhow the issue is that, whenever the routing table changes I want to get an event. How can i register for the event ? And what event is that ? Any smaple code ??? thanks Shiv.
1
1869
by: Tom Weston | last post by:
Help I have created a report in access and wish to use a routing slip to email it to my line management, how can I do that? I have searched the web but not found a way to add a routing slip, ideally it should be done with one button press, ie create the report and then email it to the first person on the routing slip. Tom
1
1932
by: Gerry Vandermaesen | last post by:
Hi, I was looking into CodeIgniter, and encountered the following problem: In codeigniter, you could create a new controller like this: --- class People extends Controller { function index() { ... }
2
1701
by: salman | last post by:
we are developing new office, and now we are at stage to build office network, please kindly any help on the following issue to understand. - Components of a corporate network (Hardware Firewall, Cisco Pix501, Intrusion Detection System, etc.), - Design Issues in a corporate network, - Security Issues and Considerations in network design, - Role of Active Directory in network resource management, - Multi network integration Issues,...
0
4101
by: surfivor | last post by:
I am doing some preliminary research as we are slated to do a project with wordpress. I looked at the wordpress code and realized why I like MVC so much (Rails) because the code mixed in with the rendering looked like a mess to me. I'm not at all sure exactly what we will be doing on the project as the details haven''t been discussed yet. I found that the Wordpress API doesn't look well documented. I set up wordress and created some blog...
2
4997
by: ricky | last post by:
Hi, I am student and I am doing a final year project on Zig-bee. I have to write low energy routing algorithms. I need to write routing algorithm for LEACH. If anybody can help with some links where I can find basics on how to write routing algorithms. It will be great. I have tried to search alot on google but can't find any good links. There are lot of links that talk about the theory aspects of routing algorithms. But I am looking...
0
3267
by: shekharban | last post by:
Hi, Below is the raw socket program for sending routing header in ipv6 domain. My source address is fe80::21d:9ff:fe17:58c7 and destination address is fe80::21d:9ff:fe17:5d0e in the below example. When i run this i am getting invalid argument with sendmsg, with error number 22. Could any one please help me out with this. #include <sys/types.h> #include <netinet/in.h> #include <netinet/ip6.h> #include <errno.h> #include <string.h>
5
2272
TheServant
by: TheServant | last post by:
I have recently (today) started doing something worthwhile on CodeIgniter, which is fantastic BTW. I have a problem and I can't figure out what is going wrong. I will post what I have now, but this has been changed so much in the past hour, it hardly reflects my efforts! Control Call $data->settings = $this->settings->get_settings(); Model Function function get_settings() { $query = $this->db->get('settings');
2
4416
vivekgs2007
by: vivekgs2007 | last post by:
hi to all, I am using the php from last 1 year…this is my first framework i am using i downloaded CodeIgniter and made the configaration as listed above..i am also using wamp server.. I am getting this error..please any one help me in this… http://www.cmjackson.net/2009/06/30/how-to-setup-codeigniter/ Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please...
0
8071
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8013
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8488
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8164
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8360
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6831
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4039
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2482
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1613
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.