Controller Was Not Found March 22, 2019, 12:00:35 PM Good morning, evenings or evenings as you read this message, I have a silly query, make a small app, in local mode great host everything works correctly, however, when uploading it to the server it throws me the next screen - Image 1Controller Was Not Found In Controller Directory. Please Check app/controllers/What may be causing this, or what should correct? Quote Selected
Re: Controller Was Not Found Reply #1 – March 22, 2019, 02:10:36 PM Hi,maybe it's the same problem I reported herehttps://forum.radsystems.io/index.php?topic=254.0and https://forum.radsystems.io/index.php?topic=235.0 Maby there was a Windows update which wrecks creation of all files?In the folder I have (see list below) which seem to be general phprad files.AccountController.phpApiController.phpComponentsController.phpErrorsController.phpFilehelperController.phpHomeController.phpIndexController.phpInfoController.phpPasswordmanagerController.phpReportController.phpas well as files matching my tables:FController.phpKController.phpMController.phpTaController.phpZeController.phpWhat does your directory look like?Olaf Quote Selected
Re: Controller Was Not Found Reply #2 – March 22, 2019, 05:56:50 PM I work with PHPRad ClassicAccountControllerApiControllerErrorsControllerFilehelperControllerHomeControllerIndexControllerInfoControllerPasswordmanagerControllerReportControllerSharedControllerIn my localhost it works without problems, however when uploading it to the online server, it shows the error mentioned above. in your case, how did you solve it? Quote Selected
Re: Controller Was Not Found Reply #3 – March 23, 2019, 03:57:49 PM Please make sure that .htaccess is allowed by you server and that you have uploaded it. Some server does not allow "dot files". Quote Selected
Re: Controller Was Not Found Reply #4 – March 26, 2019, 03:20:25 AM The project was made with the classic version, the .htaccess file is loaded and the drivers also, in my localhost it works without problems, nevertheless when uploading it to the server it generates me what the driver can not be found. Download the Vue test version and with this it does not give the error, check the .htaccess files and they are identical, so I do not understand what could be wrong. I listen to suggestions. Quote Selected
Re: Controller Was Not Found Reply #5 – March 27, 2019, 07:41:46 AM Hi Jgonzalez,some suggestions:Did you take care, that uploading files did not change case of filenames (C vs. c ...)?Did you make sure, all files have been uploaded?Ans of course all subdirectories?Did you try to upload as text or as binary files?Did you try a different ftp client?What happens, when you actually do NOT upload the .htaccess? Any errors?Is there enough webspace for you?Maybe something to know: What is your local test environment? What is the real environment? Both apache?Did you check for permissions on the uploaded files? Probably folders: 755 and files 644 (just a quick test on my environment)Olaf Quote Selected
Re: Controller Was Not Found Reply #6 – March 27, 2019, 11:29:33 AM Further to ong19's help. I've noticed that sometimes the case gets screwed up between Windows local and Linux web server. Really Windows test server ignores case and gives you Abc.php when you request ABC.php . Linux is case sensitive so if you ask for ABC.php you get a 404 even if Abc.php exists.Look at this thread/comment on special characters in file names. https://forum.radsystems.io/index.php?topic=192.msg648#msg648 Quote Selected