Invalid response when updating things in admin view
Forum rules
Always add your Symfony, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Symfony, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 5
- Joined: 27 Apr 2018, 18:18
Invalid response when updating things in admin view
I have this error that appears when I try to edit or delete entries in the admin view:
.
It can be noted that the actions is still done (I.E.: The product is removed), I just have to go back and reload the page
I run Aimeos 2018.04 latest non-dev with symfony 2.8 in production with apache 2.4, php 5.6.35 via Wampserver (windows).
Code: Select all
The controller must return a response (Object(Aimeos\MW\View\Helper\Response\Symfony2) given).
500 Internal Server Error - LogicException
It can be noted that the actions is still done (I.E.: The product is removed), I just have to go back and reload the page
I run Aimeos 2018.04 latest non-dev with symfony 2.8 in production with apache 2.4, php 5.6.35 via Wampserver (windows).
Re: Invalid response when updating things in admin view
Can you please execute "composer update" again? You should get "aimeos/ai-admin-jqadm" version 2018.04.9 which fixes the problem.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
![Image](https://aimeos.org/fileadmin/aimeos.org/icons/star.png)
-
- Posts: 5
- Joined: 27 Apr 2018, 18:18
Re: Invalid response when updating things in admin view
Sadly upgrading didn't correct the problem in my app.
here's my composer.json:
also a picture of the installed packages is attached to this reply
here's my composer.json:
Code: Select all
{
"name": "symfony/framework-standard-edition",
"description": "The \"Symfony Standard Edition\" distribution",
"autoload": {
"psr-0": { "": "src/" }
},
"require": {
"php": ">=5.6.31",
"symfony/symfony": "2.8.*",
"doctrine/orm": "~2.2,>=2.2.3",
"doctrine/doctrine-bundle": "~1.4,>=1.4.0",
"twig/extensions": ">=1.5.0",
"symfony/assetic-bundle": "~2.3,>=2.3.0",
"symfony/swiftmailer-bundle": "~2.3,>=2.3.0",
"jms/security-extra-bundle": "~1.6,>=1.6.0",
"jms/di-extra-bundle": "~1.4",
"jms/payment-core-bundle": "1.1.0",
"jms/payment-paypal-bundle": "1.0.0",
"twbs/bootstrap": "~3.3,>=3.3.7",
"sensio/framework-extra-bundle": "~2.3",
"stof/doctrine-extensions-bundle": ">=1.2",
"friendsofsymfony/user-bundle": ">=1.3.7",
"orderly/paypal-ipn-bundle": "dev-master",
"egulias/email-validator": "~1.2",
"symfony/monolog-bundle": "~2.4",
"aimeos/aimeos-symfony": "~2018.04@dev"
},
"require-dev": {
"sensio/distribution-bundle": "~2.2,>=2.2.0",
"doctrine/doctrine-fixtures-bundle": ">=2.3.0",
"sensio/generator-bundle": "~2.2,>=2.2.0"
},
"scripts": {
"post-install-cmd": [
"Aimeos\\ShopBundle\\Composer\\ScriptHandler::installBundle",
"Aimeos\\ShopBundle\\Composer\\ScriptHandler::updateConfig",
"Aimeos\\ShopBundle\\Composer\\ScriptHandler::setupDatabase",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
],
"post-update-cmd": [
"Aimeos\\ShopBundle\\Composer\\ScriptHandler::installBundle",
"Aimeos\\ShopBundle\\Composer\\ScriptHandler::updateConfig",
"Aimeos\\ShopBundle\\Composer\\ScriptHandler::setupDatabase",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
]
},
"config": {
"bin-dir": "bin"
},
"extra": {
"symfony-app-dir": "app",
"symfony-bin-dir": "app",
"symfony-var-dir": "var",
"symfony-web-dir": "web"
}
}
- Attachments
-
- The error page
- Capture2.PNG (53.79 KiB) Viewed 6064 times
-
- Capture.PNG (7.03 KiB) Viewed 6064 times
Re: Invalid response when updating things in admin view
Can you try to add the Symfony PSR-7 bridge?
http://symfony.com/doc/current/components/psr7.html
http://symfony.com/doc/current/components/psr7.html
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
![Image](https://aimeos.org/fileadmin/aimeos.org/icons/star.png)
Re: Invalid response when updating things in admin view
Resp. can you post the output of "composer show"?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
![Image](https://aimeos.org/fileadmin/aimeos.org/icons/star.png)
-
- Posts: 5
- Joined: 27 Apr 2018, 18:18
Re: Invalid response when updating things in admin view
FInally, I opted to separate the shop from the main wweb site, now the shop runs on symfony 3 and it works perfectly. I'll see to show you the result of what you asked, but it'll have to wait, sorry.