Welcome Guest, Not a member yet? Register   Sign In
getting a not found error
#5

(This post was last modified: 04-09-2019, 11:39 PM by richb201.)

BTW, I don't think it is a problem getting to index.php in the document root since one of my controllers (the login one) runs fine. I think that it is not finding Controller/index which should be a function called "index" in the Controller "Configure".

Not Found
The requested URL /sub_crud/Configure/index was not found on this server.

The way I am getting here is by running this line in the login controller:
redirect('/Configure/index'); //success

So this is the "index" that is not being found!

Here is the function index() that is not being found.


public function index()
{
   $this->_configure_output((object)array('output' => '''js_files' => array(), 'css_files' => array()));
   [i]//this is to put the system in maint mode. This is set by the cronjob
   if(file_exists('cron.lock'))
   {
       show_error("The Substantiator is down for weekly maintanance. ",400,"System down");
       exit(0);
   }
   $this->campaign_management_with_actions();
}
[/i]


So it comes down to the code not understanding that I am trying to run the index() function in the Configure controller. BTW, this code runs fine on my remote linux server which makes me think it is a config issue on this ubuntu PC. 
proof that an old dog can learn new tricks
Reply


Messages In This Thread
getting a not found error - by richb201 - 04-09-2019, 11:08 AM
RE: getting a not found error - by InsiteFX - 04-09-2019, 12:28 PM
RE: getting a not found error - by richb201 - 04-09-2019, 01:30 PM
RE: getting a not found error - by richb201 - 04-09-2019, 10:47 PM
RE: getting a not found error - by richb201 - 04-09-2019, 11:12 PM
RE: getting a not found error - by salain - 04-10-2019, 03:22 AM
RE: getting a not found error - by richb201 - 04-10-2019, 06:12 AM
RE: getting a not found error - by salain - 04-10-2019, 07:07 AM
RE: getting a not found error - by richb201 - 04-10-2019, 07:50 AM
RE: getting a not found error - by richb201 - 04-10-2019, 08:16 AM
RE: getting a not found error - by richb201 - 04-10-2019, 01:35 PM
RE: getting a not found error - by richb201 - 04-11-2019, 01:01 AM
RE: getting a not found error - by salain - 04-11-2019, 01:50 AM
RE: getting a not found error - by InsiteFX - 04-11-2019, 08:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB