How can I force TYPO3 to display 404 page instead of displaying technical errors?
Example if TYPO3 can not resolve given url to property I am getting following error:
Oops, an error occurred!
Exception while property mapping at property path "": The identity
property "dfgdfgdfgdfgdfgdfgdfg" is no UID.
More information regarding this error might be available online.
I already tried to resolve it by configuring
$GLOBALS['TYPO3_CONF_VARS']['FE']['pageNotFound_handling'] =
'USER_FUNCTION:.....';
$GLOBALS['TYPO3_CONF_VARS']['FE']['pageUnavailable_handling'] =
'USER_FUNCTION:.....';
but this does not seem to have any effect on those types of errors.
Have you tried from here
I hope this will help you!!
Related
From Keycloak I got step by step for setting Identity Provider Redirector flow. I got the error "Cannot convert undefined or null to object"
Authentication -> Click Flows tab > Click browser-> Click setting icon in Identity Provider Redirector (1)-> Cannot convert undefined or null to object (2)
(1)
then I get an error as below (2)
I spent more time for searching the problem but I have no result. Could everyone help me!
Unfortunately you hit a known bug. Corrected in Keycloak 20.
for anyone facing this issue, this is knowing bug at v19.
was fixed on v20.
upgrade your keycloak server to v20 and this issue will be gone.
here details for the issue.
I tried to use angular form to validate user's input in a "ionic generated component" but error as mentioned in the title kept occurring.
Angular forms and validations used in "ionic generated pages" are working fine.
Any ideas?
Picture of :
HTML Component
Error
TypeScript Component
I managed to fix this by using the solution here https://stackoverflow.com/a/57251807/9516387
Which is:
You checking for the presence of an error where no error might exist.
You want something like this:
f.email.errors?.required
Or even:
f.email?.errors?.required
Do the same for the password field and anywhere else where the property might not exist when it is first called.
You should try to access it by f.controls.recipientName.errors
I have such problem: If page on my sites doesn't exists it always does redirect at main page, but I want to display 404 error.
Example: example.com/sdasadsasad - I see main page. How I can fix it? I tried add in localconfiguration
'pageNotFound_handling' = '/';
'pageNotFound_handling_statheader' = 'HTTP/1.1 404 Not Found';
but it doesn't help.
TYPO3 7.6.11
Look in the description of the install tool for the settings. There is described what setting doing what.
So an String in pageNotFound_handling will fetch the page entered and display this, true or 1 will display an error message.
I recommand to create an error page like example.com/404.html within TYPO3 and enter 404.html in pageNotFound_handling so you can customize the error.
If you want only to shown an error enter trueor 1 in the pageNotFound_handling setting.
We were experiencing the same problem. We have curl enabled ($GLOBALS['TYPO3_CONF_VARS']['SYS']['curlUse'] = 1). Due to our configuration, curl was not able to fetch the error page because the SSL certificate could not be verified.
Be careful, the following idea is ugly:
You might find out more about the problem by editing TypoScriptFrontendController.php: Find the function pageErrorHandler (about line 2000 -- who writes such long files?!), find the call to GernalUtility::getUrl() and add as fourth parameter a new array variable. var_dump it instead of the call to HttpUtility::redirect. You should get the curl error if there is one.
We are using the new Facebok Ads report endpoint.
https://developers.facebook.com/docs/reference/ads-api/adreportstats/
In some days, we are getting a weird error:
error:
{
message: "(#100) The parameter data_columns is required"
type: "OAuthException"
code: 100
}
When sending the exact same report on a different range it works.
This is done using async=true since the date range is 24-NOV-2013
If anyone from facebook is looking the report_run_id is 6013557375769.
Anyone encountered this issue?
You need to add the data_columns to your params when you ask for the report.
You can copy them from the original request you did, and this should solve this.
I had the same issue, again it only started happening today.
Adding the data_columns parameter as Tamar mentioned solved it for me:
act_XXXXXXXXXXXX/reportstats?report_run_id=XXXXXXXXXXX&data_columns=["campaign_id","placement","impressions"]
Where can I find a list of all the error codes for Facebook's FacebookApiException class? I found 2 such lists, both of which are outdated: https://developers.facebook.com/docs/reference/api/errors/ and http://www.fb-developers.info/tech/fb_dev/faq/general/gen_10.html
From debugging my own script, I found out that error #2500 is "An active access token must be used to query information about the current user." and error #3501 is "User is already associated to the article object on a unique action type Read." Neither error codes are in the links posted above.
This might help you. Most probably Login related error.
https://code.google.com/p/facebook-actionscript-api/issues/detail?id=453