Back to JKShop Support

mail2milos52718
mail2milos52718

Hi, We've bought the plugin yesterday and we can't figure out what is causing problems after plugin installation. After inserted project ID the plugin downloads but there's an info "Update failed". October CMS installation is 469, server Ubuntu 20.04. The same problem exists in a local dev environment (Ubuntu 18.04). Please note that files/folders persmissions are set to apache user (www-data) and set locally to 777 mod. Also, RainLab User plugin is installed. There's an error in apache log after system download JKShop plugin:

PHP Fatal error: Uncaught ErrorException: Undefined property: Illuminate\Session\SessionManager::$config in /home/devpath/vendor/laravel/framework/src/Illuminate/Session/SessionManager.php:210\nStack trace:\n#0 /home/devpath/vendor/laravel/framework/src/Illuminate/Session/SessionManager.php(210): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined prope...', '/var/www/html/k...', 210, Array)\n#1 /home/devpath/plugins/jiri/jkshop/vendor/illuminate/support/Manager.php(57): Illuminate\Session\SessionManager->getDefaultDriver()\n#2 /home/devpath/vendor/laravel/framework/src/Illuminate/Session/SessionServiceProvider.php(47): Illuminate\Support\Manager->driver()\n#3 /home/devpath/vendor/laravel/framework/src/Illuminate/Container/Container.php(799): Illuminate\Session\SessionServiceProvider->Illuminate\Session\{closure}(Object(October\Rain\Foundation\Application), Array)\n#4 /home/devpath/vendor/laravel/framework/src/Illuminate/Container/Container.php(681): Illuminate\Conta in /home/devpath/vendor/laravel/framework/src/Illuminate/Session/SessionManager.php on line 210, referer: http://mylocaldevsite.com/backend/system/settings

Also what I've noticed that config folder in jiri/jkshop is empty.. Please help us to figure it out what's the cause of those problems. Thanks

mail2milos52718
mail2milos52718

Also, one more info, after plugin installation there's an error on the frontend and backend:

Fatal error: Uncaught ErrorException: Undefined property: Illuminate\Session\SessionManager::$config in /home/devpath/vendor/laravel/framework/src/Illuminate/Session/SessionManager.php on line 210

Jiri Kubak
Jiri Kubak

Also what I've noticed that config folder in jiri/jkshop is empty.. Please help us to figure it out what's the cause of those problems. Thanks

Hi mate,

i have tried to do a new installation now and all works fine, so it looks like an OctoberCMS issue, not a plugin one, so maybe search in a October cms forum or post the topic there.

I will try to do another new installation later today and if i found something i let you know.

Jiri

mail2milos52718
mail2milos52718

First of all, thank you for fast reply.

I'll provide here some more info, maybe it will point you on the right path to help me out. I'm using .env file, and there's a setting (I guess it's correct but I'm writting it down because logs shows problem with session):

CACHE_DRIVER=file

SESSION_DRIVER=file

Also, after plugin installation, when I try to do php artisan cache:clear an error shows:

In Macroable.php line 103:
Method Illuminate\Support\Carbon::addMinutes does not exist.

I'm using PHP 7.2.33

mail2milos52718
mail2milos52718

Yes, you're right, and october cms installation is the problem. I've installed a new instance, via installation script, and the plugin works (the same 469 build). Seems like the problem with previous installation is with composer (new installation doesn't have composer lock and json and there are less packages in vendor folder)

1-5 of 5