Uncaught exception 'RedisException' (problem solved)

Dear Sirs

I am new to emoncms with a fresh copy installed on a Windows 7 32-bit laptop.

My server configuration details is:

Apache v2.2.22

PHP v5.3.13

MySQL v5.5.24

 

redis was manually loaded after installation of wamp with php_redis.dll download from https://github.com/nicolasff/phpredis/downloads.

In php.ini add

extension=php_redis.dll

restarted wamp.

After finishing create a MYSQL database (step 4 of Windows Installation), emoncms database is now visible in phpmyadmin.

A new user with user name "john", password "123456", "localhost", and "emoncms" added to settings.php.

These data are copied to settings.php in emoncms folder.

$default_engine = Engine::MYSQL;

 

Then I open emoncms with http://localhost/emoncms with error message below.

(!) Fatal error: Uncaught exception 'RedisException' with message 'Can't connect to 127.0.0.1:6379' in C:\wamp\www\emoncms\index.php on line 35

(!) RedisException: Can't connect to 127.0.0.1:6379 in C:\wamp\www\emoncms\index.php on line 35.

 

Could anyone advise how to tackle this problem?

Best Regards

John Leung

 

 

techtoys's picture

Re: Uncaught exception 'RedisException' (problem solved)



It turns out the error 'Can't connect to 127.0.0.1:6379' was due to the reason that Redis-server was not installed and started.

Google Redis for Windows and install, restart the PC.

Under Windows Services make sure Redis Server has been started.

http://localhost/emoncms/ is now working.

 

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.