Custom TYPO3 back-end module CSRF token not applied - typo3

I have a custom backend module.
If an editor now has several browser windows showing this backend module, the following error message is always displayed:
#1417988921: The CSRF protection is necessary or invalid (More information)
TYPO3\CMS\Core\Exception thrown in file
vendor/typo3/cms/typo3/sysext/backend/Classes/Http/BackendModuleRequestHandler.php in line 82.
Can anyone help me?

...just a shooting from the hip:
Check php.ini and increase the values for max_input_vars und upload_max_filesize. Helped me out of a similar trouble.
(I assume you have checked https://forge.typo3.org/issues/66704 before)

Related

Magento 2 Error This page isn’t working is currently unable to handle this request. HTTP ERROR 500

i used magento 2 but error as below
aryanorganics.com is currently unable to handle this request.
HTTP ERROR 500
tried to all previous stactoverflow answer still not work.
please give me support
As you tried it on Windows, it could come from this as well, as Windows is not case sensitive with files, and ubuntu is.
You should try looking at the server logs to have more information.
Or else put those lines in your index.php, it should show you the errors and help you debugging it (there is a developper mode you can enable in Magento but I prefere adding all those lines to get more informations) :
ini_set('error_reporting', E_ALL);
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);

Cant access the site after activating the wordpress seo plugin

I have installed the wordpress seo (yoast) plugin on my wordpress site, but if i am activating the plugin it breaks the site. I can access the backend (dashboard) but nothing is visible on front end. It's showing an error message
"The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
This problem can sometimes be caused by disabling or refusing to accept cookies."
I have already gone through the plugin support but couldn't find anything related to this.
Please provide any solution to resolve the issue.
Thanks!
There might many causes of breaking site after activating plugin. In your case, may be the reason is memory limit. Please try to add support for more limit. You can use WP_MAX_MEMORY_LIMIT to increase it.
You can debug the site using WP_DEBUG in wp-config.php, set it true you will get all the warnings and fatal errors to check the main cause of break.
I Request you to enable debug the site using WP_DEBUG in wp-config.php, set it true you will get all the warnings and fatal errors to check the main cause of break. as mentioned above by #Trimantra Software Solutic.
Go to wp-config.php and find define('WP_DEBUG', false); replace with below
define('WP_DEBUG', true);
After then you will find the error !

HTTP Error 404.19 - Not Found in IIS 8.5

I have a website, which runs perfectly in IIS 7.5. but the same site with same configuration is not working properly in IIS 8.5. i am passing an system string variable in URL and it shows me
HTTP Error 404.19 - Not Found error.
So i am not able to catch the exact issue. All things are same for both IIS except IIS version only. So i need your thoughts for the problem. So that I can also look into this. Unfortunately I am new in .net, so need basic answer(s). Thanks.
If I pass "&system=value1"in URL for IIS8.5 then it stops working, even this also didn't generate any log for this. So please help me for this.
I just Came to know that if i use "sys" word in Query String then its giving error. How to avoid this issue now?
This can be found in IIS under Request Filtering. Usually, you will see this under the Deny String section of a rule, possibly one meant to thwart SQL Injection attacks.

SugarCRM CE smarty error after upgrade

I recently upgraded our SugarCRM CE form 5.x to 6.2.6. I had some uphill experience but I overcome everything except one issue.
The following error appears in the "Email Address" area on Contact, Opportunity and other similar pages.
Warning: Smarty error: unable to read resource:
"include/SugarFields/Fields/Base/detailViewFunction.tpl" in
/home/campusre/public_html/sugar/include/Smarty/Smarty.class.php on
line 1095
I did a search on SugarCRM forum and I found only one similar thread that was old and not answered. I also contacted our hosting company to check if this problem is related with the file or folder permission but they confirmed that it is not the problem in this case.
I am a developer but didn't do any SugarCRM and Smarty development before. I am investigating the code by my self but without success so far.
Any suggestion will be highly appreciated.
Thanks in advance.
unable to read resource: include/SugarFields/Fields/Base/detailViewFunction.tpl
This usually means that incorrect permissions are set on this file or that the file doesn't exist. However, in this case it looks like a casing issue. The file is actual camel case and named DetailViewFunction.tpl. It looks like you are running into a case-sensitive issue. My initial guess is that it is due to an old module or piece of code from 5.x.

symfony/zend integration - blank screen

I need to use ZendAMF on a symfony project and I'm currently working on integrating the two.
I have a frontend app with two modules, one of which is 'gateway' - the AMF gateway. In my frontend app config, I have the following in the configure function:
// load symfony autoloading first
parent::initialize();
// Integrate Zend Framework
require_once('[MY PATH TO ZEND]\Loader.php');
spl_autoload_register(array('Zend_Loader', 'autoload'));
The executeIndex function my the gateway actions.class.php looks like this
// No Layout
$this->setLayout(false);
// Set MIME Type
$this->getResponse()->setContentType('application/x-amf; charset='.sfConfig::get('sf_charset'));
// Disable cause this is a non-html page
sfConfig::set('sf_web_debug', false);
// Create AMF Server
$server = new Zend_Amf_Server();
$server->setClass('MYCLASS');
echo $server->handle();
return sfView::NONE;
Now when I try to visit the url for the gateway module, or even the other module which was working perfectly fine until this attempt, I only see a blank screen, with not even the symfony dev bar loaded. Oddly enough, my symfony logs are not being updated as well, which suggests that Synfony is not even being 'reached'.
So presumably the error has something to do with Zend, but I have no idea how to figure out what the error could be. One thing I do know for sure is that this is not a file path error, because if I change the path in the following line (a part of frontendConfiguration as shown above), I get a Zend_Amf_Server not found error. So the path must be correct. Also if I comment out this very same line, the second module resumes to normality, and my gateway broadcasts a blank x-amf stream.
spl_autoload_register(array('Zend_Loader', 'autoload'));
Does anyone have any tips on how I could attach this problem?
Thanks
P.S. I'm currently running an older version of Zend, which is why I am using Zend_Loader instead of Zend_autoLoader (I think). But I've tried switching to the new lib, but the error still remains. So it's not a version problem as well.
got it...
I was not using
set_include_path()
while loading Zend. It's still odd that it would give such a cryptic error, but this was the missing piece indeed.