I enabled Magento's frontend debug path hints but they are not showing.
Infos:
- Magento 2.3.0 with Porto Theme
- Php 7.2
- Already tested to change Magento Single Store MOde and Multistore Mode
- Already made di:compile
- Already tested blank Dev IP and my own IP
- Already changed Magento Modes default and developer
- Already cleaned and flushed the cache
- Already removed generated and pub static folders
But still, the red Hintlines in Frontend don't show up.
Please follow the following steps-
Stores->Configuration->Advanced->Developer->Store View: Default Store View->
Enabled Template Path Hints for Storefront --> Yes
Enable Hints for Storefront with URL Parameter --> Yes
Parameter Value --> magento
After setting this, check on frontend by putting param (?templatehints=magento) in url like this -
http://localhost/test/index.php?templatehints=magento
You should use below steps:-
On the Admin sidebar, go to Stores > Settings > Configuration.
In the left panel, expand Advanced and choose Developer.
Expand enter image description here the Debug section and do the following:
enter image description here
After that you should clean cache.
OR
You can use below commands
For eable
php bin/magento dev:template-hints:enable
For disable
php bin/magento dev:template-hints:disable
Then clean cache
php bin/magento clean:cache
Related
after i updated TYPO3 from 8.x to 9.5.x appears some red texts in the backend. How can i remove it?
Well,
It's not a Bug, It's Feature!!
You must have enabled TYPO3 backend debug, that way you will see the field name right after field label. You can disable from LocalConfiguration.php or from TYPO3 backend it self.
From LocalConfiguration.php: Just open LocalConfiguration.php located in typo3conf. Find [BE]['debug'] => 'true' and switch it back to [BE]['debug'] => 'false'
From TYPO3 backend:
Go to settings module under Admin Tool.
Find Configuration Presets and click on Choose Preset
You will find Debug settings there, click on it and switch to Live
Basically, both done the same thing. TYPO3 will disable debug mode and only critical warnings and errors will be displayed.
That's it!
Hello when I add an extension to Magento 2 my front-end disappears, but at the back end everything is fine and that extension is working.
I have tried increasing the PHP memory limit in PHP.ini sample and run the command PHP bin/Magento setup: static-content: deployment but the front-end is not working. So please let me know how to solve this issue.
To solve this issue, follow the steps given below:
Step 1- First flush/clean the cache of your magento
For Cache flush using command
magento cache:flush
For Clean flush using command
magento cache:clean
OR
You can also clean and flush cache types in the Magento Admin. Go to System > Tools > Cache Management. Flush Cache Storage is equivalent to magento cache:flush. Flush Magento Cache is equivalent to magento cache:clean.
Step 2- Delete the content of static folder. To delete, follow the given path
MangentoDir > pub > static.
Step 3- Run the static view files deployment tool
/bin/magento setup:static-content:deploy
Step 4- Go to the MangetoDir > pub > error and rename the local.xml.sample file to local.xml.
After going through these 4 steps, refresh the frontend page in browser to get the front-end.
php bin/magento setup:static-content:deploy -f
always works for me when no resources are available
Might be your frontend running in some other language so you need to need to deploy the content on that specific language as well like below example :
bin/magento setup:static-content:deploy en_GB en_US ro_RO
For language code, you can open the console of browser & look for any url which are failing to load, in that url you will be able to find the language code in which your frontend is working.
I have installed magento 2 and it working.I just created the Hello world module and it working now.
My issue was I had called non existing method in execute method.
While trying to get it to work I tried to load the page it shows blank white screen, but no error.
How do I get errors to display in magento2?
Add following code in index.php file :-
error_reporting(E_ALL);
ini_set('display_errors', 1);
Enabling Error reporting in magento2 is little tricky , as magento2 now comes with 3 different modes
Default
Developer
Production
Magento2 by default install in “default” mode and thats why you dont get the error log at the front-end of the site , that can a viewed at magento error log . You may check the complete details over here http://devdocs.magento.com/guides/v2.0/config-guide/bootstrap/magento-modes.html
How to enable developer mode in Magento2
This is must have if you are a developer and building extension and template for magento2 , magento provide a command for this purpose . Login in to your linux terminal and under magento execute
php bin/magento deploy:mode:set developer
and it will enable the developer mode under your magento instance for production mode you can set the mode to production or default .
still if you are experiencing in error reporting
you can give a try by renaming local.xml.sample to local.xml under
pub/errors
There is a place for this. In bootstrap.php, there is:
#ini_set('display_errors', 1);
Just uncomment that.
1) app/bootstrap.php, there is:
#ini_set('display_errors', 1);
Kindly uncomment that.
2) Run below commands
php bin/magento deploy:mode:set developer
php bin/magento cache:clean
php bin/magento cache:flush
To check current mode use:
bin/magento deploy:mode:show
Instead of editing index.php or app/bootstrap.php file, you can also edit the .htaccess file to enable PHP display errors settings.
Write the following lines of code at the end of the .htaccess file present in your Magento2 website's root directory:
## enable PHP's error display settings
php_value display_errors on
## set error display to E_ALL
php_value error_reporting -1
After that,
Open terminal
Go to your Magento's root directory
cd /path/to/your/magento/root/folder
Run the following command to enable developer mode:
php bin/magento deploy:mode:set developer
To check your current developer mode, you can run the command:
php bin/magento deploy:mode:show
Please Put the following code in index.php
ini_set('error_reporting', E_ERROR);
register_shutdown_function("fatal_handler");
function fatal_handler() {
$error = error_get_last();
echo("<pre>");
print_r($error);
}
I'm trying to install SOAP on server. This is what I did:
Got into WHM Module Installers
Installed SOAP 0.13.0
Confirmed it was there; looked in FTP and I see the SOAP directory created
Restarted server Added phpinfo on server and went to it on browser
Also added extension = php_soap.so on php settings Didn't see SOAP on phpinfo
Am I missing something?
Thanks,
Problem solved. After installing the application on module installers in WHM, need to go to EasyApache and add SOAP in the exhaustive list and build it.
In addition to the answer submitted by #kakenx , follow the steps to enable extension with EasyApache
Login to WHM control panel
Select EasyApache from left nav
On EasyApache, click on the gear icon on default profile under Previously Saved Config section.
Add SOAP extension in Exhaustive Options List.
Click Save and Build
Click Recompile and wait for the compilation process
After done with everything, restart Apache
Reference Link
What #saiid mentioned worked 100% been looking and doing SUDO's for over 2 hours turns out its just a whm easyapche setting...
just in 2022 its
whm -> easyapche4 -> Currently Installed Packages (Click customize)
-> PHP Extensions (search soap)
enable both php74-php-soap & php80-php-soap
next then follow steps to provision.
boom bobs your uncle works like a charm. |
Edit
no restard required can if you using woocommerce youll notice its enabled under status
I'm finding myself unable to add links ("a" tags) via the version of Products.TinyMCE in Plone 4.3b1. Switching to a non-visual editor and manually adding a link works fine, but using the chainlink icon in TinyMCE brings up an insert/edit popup window that doesn't appear to have anyplace to enter the destination address. There's a "search" text field, but entering text into it does not enable the "OK" button.
Here's a screenshot of what I am seeing:
Does anyone know if this is a known issue, or if I'm just completely missing how to enter links, or have any light to shed on this? Thanks.
UPDATE:
The problem seems to be that the popup's tabs are not un-hideing the relevant divs. When I use Firebug to switch div external_panel from class="hide" to class="show" the missing material appears; I also have to use Firebug to remove a disabled="disable" from the OK button in order to press it. A screenshot showing the segments is below. I've used the tgz file of the unified installer; is it possible that there is a variation between that installer's contents and the binary installer for the Mac?
The problem is showing up on a plain vanilla fresh install performed by
- untarring the 4.3b1 unified installer tgz file,
- running the command ./install.sh --target=/home/me/P4.3b1 from the installer's dir
- going to /home/me/P4.3b1/zinstance
- running the command bin/instance fg
- going in the browser to localhost:8080,
- creating a Plone instance and logging into it as admin
- going immediately to edit the front page of the site.
Version overview from site setup page is as follows:Version Overview
- Plone 4.3b1 (4302)
- CMF 2.2.7
- Zope 2.13.19
- Python 2.7.3 (default, Aug 1 2012, 05:16:07) [GCC 4.6.3]
- PIL 1.7.7 (Pillow)
I'm going to say cross browser compatibility issue. It looks like this in Firefox and works as expected: