on my logs on data/log/....log
I found many:
[17-Nov-2014 10:22:24] Dispatch ERROR: error-router-no-match
[17-Nov-2014 10:22:24] Dispatch ERROR: error-router-no-match
[17-Nov-2014 10:23:01] Dispatch ERROR: error-controller-not-found
[17-Nov-2014 10:23:01] Dispatch ERROR: error-controller-not-found
I wish i can either get rid of them or show more info from where these hits or to where these hits are being made so i can correct things.
How this works and is there a established way to do this and how?
Thanks
Probably, these logs are generated by some sort of Bootstrap code (maybe in module/Application/Module.php or any other appropriate place). You need to find that code and add more information to the logging service.
Related
when I call the service i made OutsourcingLogService i get this error
You have requested a non-existent service "MyApp\BackendBundle\Service\OutsourcingLogService". Did you mean one of these:
However in my controller i imported this classes and if I Ctrl + Click it takes me to the service class, but when i call the service, this exception appears.
enter image description here
enter image description here If somenone had the same error, or have any idea of why is this happening, please let me know how can I fix this.
Im trying to make a log service, that store when I Create, Update, Delete a registry.
I keep getting this error for a bonfire application that I am trying to learn for the first time. I primarily know Codeigniter and bonfire is derived from it so I should be able to do anything I can do in CI here in bonfire.
I am trying to send data from a view to a controller via HTML Forms and this keeps showing up. I am going nuts with this error, I cannot even trace what's giving it out.
An Error Was Encountered
The action you have requested is not allowed. You either do not have access, or your login
session has expired and you need to sign in again.
Can somebody who knows how to use bonfire help me? It seems to have a pretty bad documentation as of this posting.
I need some help with refreshing data. I have an app in Swift 2.0 and I want to the server send an action and execute a method in the app. I already try with push notification and It works greate but if the user disable the notification the method still execute? and according my knowledge this method is only execute when you press the notification. What is the best way to acomplish this?
I am trying to avoid that the app constantly request data from the server.
My server is in PHP.
Thanks!
I think you can use protocols/delegates.
Delegates are good ways to be notified only when needed and and alternative to notifications.
Go check for more here :
https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/Protocols.html
With this scenario I think we have these locations to request for updates:
At appDelegate, overriding applicationDidBecomeActive, called when the app becomes active in foreground.
In the view didAppear from the main view from our app (the first view that appears when we open our app).
Both options make more requests to the server than they should, but maybe the 1st is the least costly because is called just when app becomes active, and this is a good moment to check for updates.
I'm using the LinkedIn api and would like to access companies but I'm running into a vague error that I haven't been able to figure out.
I'm using php and the php libracy 'Happyr\LinkedIn\LinkedIn' to access the API. My current application also has the 'rw_company_admin' permission attached to it.
When I make a call to the api endpoint '/v1/people/~:(id,first-name,last-name)', I get the correct response.
But when I make a call to the '/v1/companies?format=json&is-company-admin=true' endpoint I get the following error:
"Invalid company query request"
When I perform the exact same query in the LinkedIn Rest Console, I get the response I'm looking for. Any ideas?
Figured it out after hours of debugging.
The issue will probably be specific to the php package mentioned in the question. The LinkedIn library in use was automatically appending 'format=json' to the query call which sparked an error.
By removing the default output setting in the library, the call worked fine.
In my case, it was related to permissions of the application.
If you want to retrieve company list of the user, you should check rw_company_admin permission in the settings page of the application or give it to scope parameter. Then, you should get a new access token and make requests with it.
I am trying to integrate mTurk API in one of my sites. I am creating HIT and using EXTERNAL QUESTION, passing my custom PHP web page hosted on my server. Example- http://abc.com/submitanswer.php?var1=testname
Now, on mTruk site, on completion of the task by user, when the user wants to submit the work done to my site, mTurk calls url provided by me in EXTERNAL QUESTION parameter. Additionally, it adds one more parameter - "turkSubmitTo=https://workersandbox.mturk.com" in the url.
So, when request is made for the page it creates a problem and gives 403 - Forbidden. If I directly call this url, then even it gives the same error. But, if I alter any text in value of GET para - turkSubmitTo like : remove "h" from OR remove ":" or such change, the browser nicely displays the page, without any errors..
Tried all possible ways one can think off, there is nothing else left now!
Need help !!!
Thanks !
Varshesh..
It's a mod_security issue. If you're on hosting provider, you can ask them to provide an exception for you. If it's local, you probably have to do it yourself.