Posts

Showing posts with the label magento

Invalid command 'SetEnv', perhaps misspelled or defined by a module not included in the server configuration

Invalid command 'SetEnv', perhaps misspelled or defined by a module not included in the server configuration To resolve this problem, we need to install the module 'mod_env' manually. This is due to  mod_env  not being installed on the server. You can install this Apache module via WHM by navigating to EasyApache 4 under the Apache Modules. If you would like I would be more than happy to assist with enabling this module however you will need to ensure that our IP addresses are able to successfully access WHM. I have included these IP addresses for you below: enable mod_version in apache modules enable both siumtaneously

Allowed memory size of 792723456 bytes exhausted (tried to allocate 184320 bytes) in /var/www/html/Demo/vendor/magento/framework/Profiler.php on line 153

Error:  Allowed memory size of 792723456 bytes exhausted (tried to allocate 184320 bytes) in /var/www/html/Demo/vendor/magento/framework/Profiler.php on line 153 cause: Low memory value in php.ini just vi /etc/php.ini and set php memory value to be 2048M

FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Magento\Framework\Exception\FileSystemException

Error: FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Magento\Framework\Exception\FileSystemException set file owner correctly chown -R admin:group public_html

PHP Warning: realpath(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s)

Error: PHP Warning:  realpath(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s) cause /tmp directory is not accessible by the user just open config file vi domain.httpd.conf php_admin_value open_basedir /home/bumserver/web/bumserver.ga/public_html:/home/bumserver/tmp:/tmp and add the directory which is not within the allowed path

How to change base url in magento

How to change base_url settings with mysql from the command line Log into your MySQL database, replace $USER with your database user name and $DBASE with your database name. It will prompt you for your password: mysql -u $USER -p $DBASE Below are the SQL commands to change your base_url values. Replace unsecure ​ http://www.example.com/​ and secure ​ https://www.example.com/​ (if you have SSL/TLS enabled, else https should be http) with your appropriate domain url (trailing slash necessary) and if you’ve installed in a subfolder append it with a / ​ after it. SQL Commands UPDATE core_config_data SET value = ​ ‘http://www.example.com/’​ WHERE path LIKE ‘web/unsecure/base_url’​ ; UPDATE core_config_data SET value = ​ ‘https://www.example.com/’​ WHERE path LIKE ‘web/secure/base_url’​ ; Check your base_url settings with the following: SQL Commands SELECT path,value FROM core_config_data WHERE path LIKE ‘ web/unsecure/base%’​ ; SELECT path,value FROM core_config_data WHERE path LIKE ‘...