I have been working on a Project in CodeIgniter 3 and everything is working fine. I have decided to continue the project in another system. But when I pulled the project from GitHub into the second system, only the default_controller route works while other defined routes will always redirect me to 404 Page not Found.
I have checked everything from the first system and its looking good but I keep getting the Page Not Found! Please any help? ...
Related
I found a great problem with my Laravel project.
I'm writing a link to my project like- https://stackoverflow.com/
However, when I'm running my project, this link doesn't completely spread to me.
It is cut off http: or https: from this link.
So I have been working on Laravel projects with no issues at my new job, however I decided it was time to get it up and running on my system at home which for purposes of this question is running MS Windows 10. I managed to get it all set up correctly, however upon trying to get the test app working just to make sure everything was correctly configured, I am unable to get passed the laravel welcome (welcome.blade.php) despite having the Routes.php file in place.
The clean project was git cloned directly from laravel/laravel and I had no issues with this working on my work computer when I very first started learning Laravel. I'm not getting any errors, the routes are simply not working!
Btw I had to create the Routes.php file manually for some reason, even though I created my migrations and did:
artisan migrate
The views directory I created called 'testview' is being completely ignored in the routes file when calling:
Route::get('/', 'TestController#index');
Controller code:
Return view('testview.index');
That is within the public function index() just for those who try to be smart and say "oh but you didn't have it contained within a method".
Please could someone help and tell me where I'm going wrong??
It seems that for some reason the version of laravel on GIT is out of date as I peformed a different command line action using Composer and that installed the latest version. So in closing I've sorted this out myself, thanks.
I pushed my laravel 5 project online, on production. Everything was working fine on localhost, but now, online, the routes are not working anymore.
The index, is working but when I want to go to an other page of the project, it's returning an internal server error...
Does someone know where this issue could come from ?
Thanks
after I have installed a new LAMP Server I wanted to install cakephp3 on my server. So far everything works fine. I have generated the scaffold code explained in the beginner tutorial. After the code has been successfully generated I have noticed that the standard routing is not working, so I cannot call actions from controller, for example by typing http://adress/cakephp/Users/add. Instead of a error message occurs
"The requested URL /cakephp/Bookmarks was not found on this server."
This is irritating me, because I have also a MAMP Server on my MAC with a installed cakephp application and I didnt have errors like this. Thank you.
I am trying to deploy a php application having CodeIgniter as a framework in heroku.
I followed the steps here until the "Process and dyno tuning" part and managed to deploy my application. The first page works fine, but that's all. For any other page with codeigniter links(/index.php/home/link/ for the home controller, link action) I try to access, the server renders me the same first page. I thought that CI requires some of heroku extensions but here it says it only needs php. Do you happen to know what extensions do i have to provide?
The link to the website is this, and a test url should be this
This is defiantly a URI issue, Please try switching $config['uri_protocol']
from AUTO to any of the available modes until you get it fixed.
If you need a fast fix for this, just add ? for your index.php urls so it will be like this
index.php?/locations/get
but fixing this through the 'uri_protocol' thing is better.