LaravelDaily / Laraquiz-QuickAdminPanel

Laravel 5.6 based quiz system - generated with QuickAdmin https://quickadminpanel.com
http://laraquiz.com
226 stars 144 forks source link

Getting error when trying to run in windows #6

Closed aminbaig closed 7 years ago

aminbaig commented 7 years ago

Hi,

Do I need to have a vagarant box in order to run this? I am getting this error when trying to run:

ConnectionException in AbstractConnection.php line 155: No connection could be made because the target machine actively refused it. [tcp://127.0.0.1:6379]

PovilasKorop commented 7 years ago

@aminbaig something is wrong with your web-server/database settings (you're using XAMPP or something like that on Windows?), this error is outside of our project.

aminbaig commented 7 years ago

Thanks for replying,

Yes I am using Windows and xampp. I do realize that it is outside the scope but I would really appreciate it if you can just advise me on the dev environment I should have. Not the details, just the general indication.

Regards.

On 20 Mar 2017 6:41 p.m., "PovilasKorop" notifications@github.com wrote:

@aminbaig https://github.com/aminbaig something is wrong with your web-server/database settings (you're using XAMPP or something like that on Windows?), this error is outside of our project.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/LaravelDaily/Laraquiz-QuickAdmin/issues/6#issuecomment-287761947, or mute the thread https://github.com/notifications/unsubscribe-auth/AVVefkw9-KvDoWWWMDT78nfw8mUDDVREks5rnoIUgaJpZM4Mibub .

PovilasKorop commented 7 years ago

@aminbaig there's nothing special from any other Laravel project - database credentials should be in .env file and they should work.

aminbaig commented 7 years ago

Thanks again.

I will revisit the settings. Maonly it seems.like the problem is with redis and it is not connecting to it.

I don't have redis installed so I will rectify that.

Regards.

On 20 Mar 2017 7:05 p.m., "PovilasKorop" notifications@github.com wrote:

@aminbaig https://github.com/aminbaig there's nothing special from any other Laravel project - database credentials should be in .env file and they should work.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/LaravelDaily/Laraquiz-QuickAdmin/issues/6#issuecomment-287768636, or mute the thread https://github.com/notifications/unsubscribe-auth/AVVefjj6uycIONP00bD0Kwqa6iiPzPfnks5rnoeigaJpZM4Mibub .

powolnymarcel commented 7 years ago

I got the exact same Error.

Solution is to change :

CACHE_DRIVER=redis
SESSION_DRIVER=redis

TO

CACHE_DRIVER=array
SESSION_DRIVER=file
SasiSpenzer commented 5 years ago

Thank you @powolnymarcel ... You just saved my day