i am trying to make a connection with salesforce
I use abanta when i try to open the web page
this what i have
Routing Error
No route matches [GET] "/salesforce/MerchandiseCs"
Try running rake routes for more information on available routes.
I don't understand what this
any help please
Open the terminal and write: "rake routes".
You will see the available routes. The error is because "/salesforce/MerchandiseCs" is not in the list.
Related
I have in .env file defined APP_URL. On apache web server host is configured to respond only for domain exampledomain.com
In routes is for example route defined as
Route::get('/orders/main-table', [\App\Http\Controllers\OrdersController::class, 'main_table'])->name('orders.offers_and_requests');
When following code is executed sometimes instead of expected url starting with https://exampledomain.com/...... I get https://ipaddress-of-server/.... and there is no rule when I get this. I personaly can't replicate to get this result but sometimes like some hacker override this... I would't notice if I did't analyzed activity log as I for debug purposes log all activity in app... All these routes from which can be executed this url generation are protected, so hacker can't just use post to generate these links.
route('orders.offers_and_requests');
Whenever i run my mern project in heroku its work but when i route 2 -3 page their is this type of error occure.
Cannot GET /visitor/display-HomePage
You'll see the message Cannot GET / if you don't specify which page it is that you're trying to get.
Did you try seeing the URL path? You might have entered a different page name like instead of http://localhost:3000/visitor/display-HomePage, you might have entered something different.
I changed the domain name for my ruby application but when I run it I get
The page you were looking for doesn't exist.
In the log file it says
Routing error no route matches [GET] "/"
In my routing file config/routes.rb I changed domaincontraint to domain new.
I must say that this configuration worked with my old domain name.
Am I missing some place to change the domain name? Please note I am very noobie to ruby
So, the good news is you are getting Routing error no route matches [GET] "/". this means your request reaches the rails application. Because in most cases it doesn't even come pass your server such as Nginx. In such cases its nothing to do with rails.
However, since you get the above routing error, that means your request hits the rails app.
Few things to check here:
1) make sure you have a root url defined in your config/routes file.
2) Make sure you url you are trying to access has a matching route.
For an example, say if you do http://<your domain>/products
Then in the routes, you should have products GET /products(.:format) products#index
You can check this by running rake routes from root of your rails app.
Also, it will be helpful for you to update the question with your config/routes file and also the url you are trying to access.
when we reload the current page(angular6), i got the below error.
Server Error in '/' Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /chapters/chapters
Please help me.
Can you please elaborate a more?
Because if the route is correct and component is correctly defined in routing, then it shouldn't be throwing an error.
Server Error in '/' Application. The resource cannot be found. Description: HTTP 404.
Its clearly saying that route is not found. Please check the routing file.
would you please tell me what i did wrong with my service worker installation, i have those errors appear in chrome console (see the image-1).
The script resource is behind a redirect, which is disallowed. service-worker.js:1
Failed to load resource: net::ERR_UNSAFE_REDIRECT https://harampress.com/post/45/service-worker.js
i use Laravel framework in backend if that could help
just to know that my service-worker.js is in the root of the website, works fine on home page no errors on chrome console, but the moment i try to navigate to a post for example, those two errors appears (see image-2).
knowing that i use sw-precache and sw-toolbox, i generate the service worker useing sw-precache with gulp.
image-1
image-2
see the solutions here on github discussion
the message from the discussion in github that actually answered to my problem :
What #wanderview means is that when you do
navigator.serviceWorker.register('/sw.js')
The actual requesting URL is the sw.js located in the root
but when you do
navigator.serviceWorker.register('sw.js')
This is actually a Relative URL so what you actually request might be /post/blah/sw.js and your server might treat it as 404 and do some redirect.