Strange issue where we are facing infinite loading for a few customer when we edit them in backend in magento2 - magento2

Can you please help us to solve a issue in magento2.3.x where when we edit a few customers in backend everything stuck in a loop and server goes down.

Run command line:
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
bin/magento indexer:reindex
php bin/magento cache:flush

Related

Installed banner slider in magento 2, but nothing works

After referring to the installation guides, I have installed banner slider extension using ftp, but as I run the command php bin/magento setup:upgrade it doesn't show any process, and it takes me to the root folder to enter another command.
Which extension did you install?
Please run the cache clean, upgrade, and deploy commands
I recommend you use the megplaza banner slider extension instead. This is free of cost and full documentation is available.

Installing Laravel Backpack "no install"

I'm trying to install Backpack for Laravel on Windows Server 2012 (which may be part of the problem, but I can't find any instructions specifically for Windows). I'm following the directions here, and everything goes fine until I need to run "php artisan backpack:base:install" at which point I get this error:
[ReflectionException]
Class Backpack\Base\Backpack\Base\app\Console\Commands\Install does not exist
I assume it has something to do with the duplication of the "Backpack\Base" part, but explicitly giving it the path without the duplication or just saying install results in the same error. Likewise, same error with any other artisan commands later in the guide, such as php artisan vendor:publish --provider="Backpack\CRUD\CrudServiceProvider" --tag="public". Any advice would be really appreciated.
There was a problem with the 3.3.0 release, which has since been fixed. You must have tried to install it within the 1-hour timespan until we had time to properly test the release. A composer update should fix it for you. You'll then be able to run php artisan backpack:base:install without a glitch.
Cheers!

HTML file changes not reflecting in the browser in Magento

I would like to edit vendor\magento\module-payment\view\frontend\web\template\payment\cc-form.html and related JS files from where cc-form.html is calling.
My changes not reflecting on browser when I edit cc-form.html file.
It's working fine in localhost and also changes reflcting. Just have an issue with my online store. Also need help to find the JS from where cc-form.html is calling.
I already tried these things:
php bin/magento setup:upgrade
rm -rf var/cache/*
rm -rf var/page_cache/*
rm -rf var/generation/*
php bin/magento setup:static-content:deploy
Clearing browser cache. etc
you need to cleat the static content that is into pub/static folder
for this run following command
rm -rf pub/static/frontend/ pub/static/adminhtml/ pub/static/_requirejs/
than after you need to deploy the files using following command
php bin/magento setup:static-content:deploy
now your updated files are deployed into pub/static folder.
now clean cache and try Browsing your website
php bin/magento cache:clean
Try to just clean the cache using the below command:
php bin/magento cache:clean

Missing css, js files after Magento 2 install

I try to install Magento 2 and I have a problem with css and js loading (they are missing). There are a lot of topics about this problem and it seems that the last step of the solution is to run php bin/magento setup:static-content:deploy command (rebuild the static content).
Ok, but how? I have no access to the terminal at my host (actually I don't know too much about it, I just use Magento as an average user). Is there a way to run this command inside Magento? What are the steps to run it? The installation is in a sub directory not in site root.
There is no way to deploy static-content from within the frontend or admin of Magento 2.
At the least, your hosting company should be able to run this command for you.
Need SSH credentials & access to your server
Login to server using SSH via terminal, putty, etc.
Navigate to Magento 2 root install directory using CLI
Run this command:
_
php bin/magento setup:static-content:deploy
No, you don't have any other options for deploying content from the admin. You need to deploy static content from the Magento root directory only then you will be able to see CSS and js.
Open your Magento 2 root directory and run the below commands:
For Windows users-
php bin/magento setup:static-content:deploy
For linux users-
/opt/lampp/bin/php bin/magento setup:static-content:deploy
Another method is using ssh. For that, you need to login to Cpanel. Through command prompt login to the server using ssh credentials. Then navigate through Magento 2 root directory and run the same commands as given above.

I am trying to deploy a Laravel 4 app, but artisan is not showing any commands. Why?

I've deployed a Laravel 4 app to a shared host for the first time and run composer install, but it fails with the message:
Script php artisan clear-compiled handling the post-install-cmd event returned with an error
[RuntimeException]
Error Output:
[InvalidArgumentException]
Command "clear-compiled" is not defined.
When I run the command php artisan list I don't get the expected list of artisan commands, only:
Available commands:
help Displays help for a command
list Lists commands
workbench Create a new package workbench
All the dependency files are properly installed in the vendor folder.
Why are Laravel's standard artisan commands not available?
The problem was that the php command on my host machine was not running the CLI version of php. When I run the command php-cli artisan list then I get the expected list of Laravel artisan commands.
To get composer to call this properly, then, I just had to update the 'scripts' section in my composer.json to use php-cli instead of plain php.
(As a side note, composer had been spitting out a similar warning with this message: Warning: Composer should be invoked via the CLI version of PHP, not the cgi-fcgi SAPI)