I recently transferred my magento website from an old server to a new one, and when I opened the home page, it gives me Internal Server Error 500. In the server error log, i can see the following error:
PHP Fatal error: Class 'IntlDateFormatter' not found in /home/evonengc/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 93
How can I solve this error?
go to php.ini and enable the extension
;extension=php_intl.dll
to
extension=php_intl.dll
and restart Apache
Related
I want to use Soap client in my localhost
I edited my php.ini and removed ; from the extention but when I run my code the wrong
Fatal error: Class 'SoapClient' not found in C:\AppServ\www\portal\captiveportal-tc.php on line 41
when I open my phpinfo.php
I see soap
how can I solve it
I've installed SilverStripe using composer but when I try and access the site I get:
Fatal error: Uncaught exception 'RedisException' with message
'Connection closed' in
/var/www/silverstripe_test/framework/dev/install/install.php5 on line
31 RedisException: Connection closed in
/var/www/silverstripe_test/framework/dev/install/install.php5 on line
31
The error seems to occur when session_start() is called but I'm not sure why?
It sounds like your instance of PHP is set up to use Redis for sessions. Have a look in php.ini and, if present, change "session.save_handler = redis" to "session.save_handler = files". If you're using Apache you can also add "php_value session.save_handler redis" to .htaccess.
I am getting an error after compilation. I am using Magento 1.9.0.1.
My website was running too slow so I have complied but after compilation my website (frontend as well as backend) has down and showing the same error. Please help me to rectify the same.
Error: Fatal error: require_once(): Failed opening required '/home/ecomventures/public_html/demo/includes/src/../lib/vendor/autoload.php' (include_path='/home/ecomventures/public_html/demo/includes/src:.:/usr/lib/php:/usr/local/lib/php') in /home/ecomventures/public_html/demo/includes/src/Fontis_Australia_Model_Observer.php on line 23
Navigate to includes/config.php in your root directory where your Magento files are located.
Open that up and change:
define('COMPILER_INCLUDE_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'src');
to
#define('COMPILER_INCLUDE_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'src');
That will allow you to see your site again without the fatal errors.
I have a magento website. which worked find until my hosting server upgraded its php version to 5.4.25.Now i'm getting this error
Fatal error: Call to undefined function iconv_get_encoding() in /home/dbname/public_html/Magento/mysite/lib/Zend/Validate/Hostname.php on line 520
why i'm getting this error?
You should uncomment extension=iconv.so in php.ini. That would enable the function
I need to execute a php file on apache tomcat server that needs to access postgresql database. The server is Centos Linux. I have apache tomcat 7 , php , postgresql and php-potgresql installed.
$ cat /etc/php.d/pgsql.ini [gives the following]
; Enable pgsql extension module
extension=pgsql.so
However on loading the required page on a browser, i get the fowllowing error:
HTTP Status 500 - java.lang.RuntimeException: PHP Fatal error: Call to undefined function pg_connect() in /home/criminfo/apache-tomcat-7.0.41/webapps/JavaBridgeTemplate621/hybrid.php on line 4
type Exception report
message java.lang.RuntimeException: PHP Fatal error: Call to undefined function pg_connect() in /home/criminfo/apache-tomcat-7.0.41/webapps/JavaBridgeTemplate621/hybrid.php on line 4
description The server encountered an internal error that prevented it from fulfilling this request.
Any directions on how to fix this will be appreciated.