cancel
Showing results for 
Search instead for 
Did you mean: 

Shopping Cart Page Blank and Also Payment Methods in the Admin Panel blank

Shopping Cart Page Blank and Also Payment Methods in the Admin Panel blank

I am fairly new to Magento. We have just done an upgrade on our system, however these issues were happening before the update. The theme developer for the theme we are using says its a Magento issue:

 

Ive cleared cache and made sure full page caching is enabled and the Mage_Checkout is enabled but still nothing. Really need to get this fixedScreenshot (256).png

14 REPLIES 14

Re: Shopping Cart Page Blank and Also Payment Methods in the Admin Panel blank

Hi @webdesigner1507,

 

Probably you're getting an error 500 on your server.

Can you check your magento logs, reports but also your webserver error log?

Re: Shopping Cart Page Blank and Also Payment Methods in the Admin Panel blank

do you mind telling me where the magento logs are located?? are you talking about in vender/errorlogs??

 

Bacause all that was there was a php limit error which my boss is checking into

 

Thanks for your reply

Re: Shopping Cart Page Blank and Also Payment Methods in the Admin Panel blank

you dont ever see a 500  error message, when the shopping cart is empty it tells you that its empty but when you have products in the cart they dont show up all it says in summary.

 

As with the payment method section in the admin panel, it just shows up as blank but all the other sections seem to work just fine,

 

Its really wierd

Re: Shopping Cart Page Blank and Also Payment Methods in the Admin Panel blank

@webdesigner1507

You can check your error log inside var/log folder and if any report is generated for error the you can check var/report folder.

 

Also check for Payment method,

Stores -> Configuration -> Sales -> Payment method

Any payment method are active or not. You have to verify first for payment.r

 

just remove var folder from root.

run 

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
php bin/magento setup:di:compile

 

if issue resolved, Click Kudos/Accept as solutions.

If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial

Re: Shopping Cart Page Blank and Also Payment Methods in the Admin Panel blank

When you go to the option in the admin panel for the payment methods its blank, nothing is there , no way to configure it at all or make any setting changes.

 

Logs dont seem show anything in the past few days.

 

 

Re: Shopping Cart Page Blank and Also Payment Methods in the Admin Panel blank

Last error report from July 24th:

 

a:4:{i:0;s:25:"Cannot initialize product";i:1;s:9275:"#0 /home/wworks/public_html/store/vendor/magento/framework/App/Action/Action.php(102): Magento\Review\Controller\Product\ListAjax->execute()
#1 /home/wworks/public_html/store/vendor/magento/module-review/Controller/Product.php(169): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http))
#2 /home/wworks/public_html/store/vendor/magento/framework/Interception/Interceptor.php(74): Magento\Review\Controller\Product->dispatch(Object(Magento\Framework\App\Request\Http))
#3 /home/wworks/public_html/store/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\Review\Controller\Product\ListAjax\Interceptor->___callParent('dispatch', Array)
#4 /home/wworks/public_html/store/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Review\\...', 'dispatch', Object(Magento\Review\Controller\Product\ListAjax\Interceptor), Array, 'contextPlugin')
#5 /home/wworks/public_html/store/vendor/magento/module-store/App/Action/Plugin/Context.php(106): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http))
#6 /home/wworks/public_html/store/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Store\App\Action\Plugin\Context->aroundDispatch(Object(Magento\Review\Controller\Product\ListAjax\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#7 /home/wworks/public_html/store/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Review\\...', 'dispatch', Object(Magento\Review\Controller\Product\ListAjax\Interceptor), Array, 'storeCheck')
#8 /home/wworks/public_html/store/vendor/magento/module-store/App/Action/Plugin/StoreCheck.php(44): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http))
#9 /home/wworks/public_html/store/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Store\App\Action\Plugin\StoreCheck->aroundDispatch(Object(Magento\Review\Controller\Product\ListAjax\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#10 /home/wworks/public_html/store/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Review\\...', 'dispatch', Object(Magento\Review\Controller\Product\ListAjax\Interceptor), Array, 'customer-app-ac...')
#11 /home/wworks/public_html/store/vendor/magento/module-customer/Model/App/Action/ContextPlugin.php(61): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http))
#12 /home/wworks/public_html/store/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Customer\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Review\Controller\Product\ListAjax\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#13 /home/wworks/public_html/store/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Review\\...', 'dispatch', Object(Magento\Review\Controller\Product\ListAjax\Interceptor), Array, 'tax-app-action-...')
#14 /home/wworks/public_html/store/vendor/magento/module-tax/Model/App/Action/ContextPlugin.php(91): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http))
#15 /home/wworks/public_html/store/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Tax\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Review\Controller\Product\ListAjax\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#16 /home/wworks/public_html/store/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Review\\...', 'dispatch', Object(Magento\Review\Controller\Product\ListAjax\Interceptor), Array, 'weee-app-action...')
#17 /home/wworks/public_html/store/vendor/magento/module-weee/Model/App/Action/ContextPlugin.php(112): Magento\Review\Controller\Product\ListAjax\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#18 /home/wworks/public_html/store/vendor/magento/framework/Interception/Interceptor.php(142): Magento\Weee\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Review\Controller\Product\ListAjax\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#19 /home/wworks/public_html/store/var/generation/Magento/Review/Controller/Product/ListAjax/Interceptor.php(26): Magento\Review\Controller\Product\ListAjax\Interceptor->___callPlugins('dispatch', Array, Array)
#20 /home/wworks/public_html/store/vendor/magento/framework/App/FrontController.php(55): Magento\Review\Controller\Product\ListAjax\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#21 /home/wworks/public_html/store/vendor/magento/framework/Interception/Interceptor.php(74): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http))
#22 /home/wworks/public_html/store/vendor/magento/framework/Interception/Chain/Chain.php(70): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array)
#23 /home/wworks/public_html/store/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'requestPreproce...')
#24 /home/wworks/public_html/store/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(94): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http))
#25 /home/wworks/public_html/store/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#26 /home/wworks/public_html/store/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'install')
#27 /home/wworks/public_html/store/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http))
#28 /home/wworks/public_html/store/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\Framework\Module\Plugin\DbStatusValidator->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#29 /home/wworks/public_html/store/vendor/magento/framework/Interception/Chain/Chain.php(63): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'front-controlle...')
#30 /home/wworks/public_html/store/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(73): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain\{closure}(Object(Magento\Framework\App\Request\Http))
#31 /home/wworks/public_html/store/vendor/magento/framework/Interception/Chain/Chain.php(67): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#32 /home/wworks/public_html/store/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'front-controlle...')
#33 /home/wworks/public_html/store/vendor/magento/module-page-cache/Model/App/FrontController/VarnishPlugin.php(55): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#34 /home/wworks/public_html/store/vendor/magento/framework/Interception/Interceptor.php(142): Magento\PageCache\Model\App\FrontController\VarnishPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#35 /home/wworks/public_html/store/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, Array)
#36 /home/wworks/public_html/store/vendor/magento/framework/App/Http.php(135): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#37 /home/wworks/public_html/store/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch()
#38 /home/wworks/public_html/store/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))
#39 {main}";s:3:"url";s:39:"/store/review/product/listAjax/id/3866/";s:11:"script_name";s:16:"/store/index.php";}

Re: Shopping Cart Page Blank and Also Payment Methods in the Admin Panel blank

error log:

 

 

[03-Aug-2017 00:42:55 UTC] PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 32 bytes) in /home/wworks/public_html/test3/vendor/composer/composer/src/Composer/DependencyResolver/RuleWatchGraph.php on line 52
[03-Aug-2017 00:46:30 UTC] PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 32 bytes) in /home/wworks/public_html/test3/vendor/composer/composer/src/Composer/DependencyResolver/RuleWatchGraph.php on line 52
[03-Aug-2017 00:47:18 UTC] PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 32 bytes) in /home/wworks/public_html/test3/vendor/composer/composer/src/Composer/DependencyResolver/RuleWatchGraph.php on line 52

Re: Shopping Cart Page Blank and Also Payment Methods in the Admin Panel blank

@webdesigner1507

 

This line (for example) from your error log:

 

PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 32 bytes)

It means Magento eneds more memory. Maybe you got a low limit and you need to increase ( http://devdocs.magento.com/guides/v2.1/install-gde/system-requirements-tech.html ) or maybe your code is doing something in a bad way and is consuming extra memory.

Re: Shopping Cart Page Blank and Also Payment Methods in the Admin Panel blank

Ahhh ok my boss is going to be looking into that i will let you know if it solves the issues or not

Thanks you for the info