This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
pedro13858
I have a custom plugin using Rainloab.User plugin among others. When I have diferent user accesing the application at the same time, the partial renderem contains infromation that belongs to another user.
Whe checking the log I'm having this errors:
xception 'ErrorException' with message 'file_put_contents(/home/wwwtroti/public_html/storage/framework/cache/29/04/2904e4a19090ac1be3255a15d2e976b0): failed to open stream: No such file or directory' in /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:81 Stack trace:
0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'file_put_conten...', '/home/wwwtroti/...', 81, Array)
1 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(81): file_put_contents('/home/wwwtroti/...', '1477579139a:1:{...', 0)
2 /home/wwwtroti/public_html/vendor/october/rain/src/Filesystem/Filesystem.php(200): Illuminate\Filesystem\Filesystem->put('/home/wwwtroti/...', '1477579139a:1:{...', false)
3 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php(102): October\Rain\Filesystem\Filesystem->put('/home/wwwtroti/...', '1477579139a:1:{...')
4 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(140): Illuminate\Cache\FileStore->put('pages2583120583', Array, 10)
5 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(206): Illuminate\Cache\Repository->put('pages2583120583', Array, 10)
6 /home/wwwtroti/public_html/vendor/october/rain/src/Halcyon/Builder.php(638): Illuminate\Cache\Repository->remember('pages2583120583', 10, Object(Closure))
7 /home/wwwtroti/public_html/vendor/october/rain/src/Halcyon/Builder.php(250): October\Rain\Halcyon\Builder->getCached(Array)
8 /home/wwwtroti/public_html/vendor/october/rain/src/Halcyon/Builder.php(238): October\Rain\Halcyon\Builder->get()
9 /home/wwwtroti/public_html/vendor/october/rain/src/Halcyon/Builder.php(228): October\Rain\Halcyon\Builder->first()
10 /home/wwwtroti/public_html/modules/cms/classes/CmsObject.php(120): October\Rain\Halcyon\Builder->find('politica_privac...')
11 /home/wwwtroti/public_html/modules/cms/classes/CmsObject.php(143): Cms\Classes\CmsObject::loadCached(Object(Cms\Classes\Theme), 'politica_privac...')
12 /home/wwwtroti/public_html/modules/cms/classes/Theme.php(127): Cms\Classes\CmsObject::listInTheme(Object(Cms\Classes\Theme), false)
13 /home/wwwtroti/public_html/modules/cms/classes/Router.php(232): Cms\Classes\Theme->listPages()
14 /home/wwwtroti/public_html/modules/cms/classes/Router.php(203): Cms\Classes\Router->loadUrlMap()
15 /home/wwwtroti/public_html/modules/cms/classes/Router.php(184): Cms\Classes\Router->getUrlMap()
16 /home/wwwtroti/public_html/modules/cms/classes/Router.php(104): Cms\Classes\Router->getRouterObject()
17 /home/wwwtroti/public_html/modules/cms/classes/Controller.php(157): Cms\Classes\Router->findByUrl('imgs/elem/trot/...')
18 /home/wwwtroti/public_html/modules/cms/classes/CmsController.php(48): Cms\Classes\Controller->run('imgs/elem/trot/...')
19 [internal function]: Cms\Classes\CmsController->run('imgs/elem/trot/...')
20 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(256): call_user_func_array(Array, Array)
21 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(164): Illuminate\Routing\Controller->callAction('run', Array)
22 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(112): Illuminate\Routing\ControllerDispatcher->call(Object(Cms\Classes\CmsController), Object(Illuminate\Routing\Route), 'run')
23 [internal function]: Illuminate\Routing\ControllerDispatcher->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))
24 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(139): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
25 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
26 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
27 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(114): Illuminate\Pipeline\Pipeline->then(Object(Closure))
28 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(69): Illuminate\Routing\ControllerDispatcher->callWithinStack(Object(Cms\Classes\CmsController), Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), 'run')
29 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php(203): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), 'Cms\Classes\Cms...', 'run')
30 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php(134): Illuminate\Routing\Route->runWithCustomDispatcher(Object(Illuminate\Http\Request))
31 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(708): Illuminate\Routing\Route->run(Object(Illuminate\Http\Request))
32 [internal function]: Illuminate\Routing\Router->Illuminate\Routing{closure}(Object(Illuminate\Http\Request))
33 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(139): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
34 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
35 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
36 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(710): Illuminate\Pipeline\Pipeline->then(Object(Closure))
37 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(675): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
38 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(635): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
39 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(236): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
40 [internal function]: Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http{closure}(Object(Illuminate\Http\Request))
41 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(139): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
42 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
43 [internal function]: Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure))
44 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array)
45 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(62): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
46 [internal function]: Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))
47 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array)
48 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
49 [internal function]: Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))
50 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array)
51 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(59): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
52 [internal function]: Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))
53 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array)
54 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(44): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
55 [internal function]: Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))
56 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array)
57 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
58 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
59 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(122): Illuminate\Pipeline\Pipeline->then(Object(Closure))
60 /home/wwwtroti/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(87): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
61 /home/wwwtroti/public_html/index.php(44): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
62 {main}
Return to event log
1-1 of 1