help to better help you:
Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!
[issue] JEM 4.5.0beta 6 - ADM_Event - Undefined variable $folder
[issue] JEM 4.5.0beta 6 - ADM_Event - Undefined variable $folder
2 months 4 weeks ago - 2 months 4 weeks ago
JEM4.5.0 beta 6 + Joomla 5
sampledata installed
View: Event
Warning: Undefined variable $folder in Joomla5\administrator\components\com_jem\views\imagehandler\view.html.php on line 63
callstack) Warning: Undefined variable $folder in Joomla5\administrator\components\com_jem\views\imagehandler\view.html.php on line 63Call Stack#TimeMemoryFunctionLocation10.0001456816{main}( )...\index.php:020.0001457472require_once( '\Joomla5\administrator\includes\app.php )...\index.php:3230.0032824616Joomla\CMS\Application\CMSApplication->execute( )...\app.php:5840.0038951368Joomla\CMS\Application\AdministratorApplication->doExecute( )...\CMSApplication.php:30450.03222188224Joomla\CMS\Application\AdministratorApplication->dispatch( $component = ??? )...\AdministratorApplication.php:20660.03682293000Joomla\CMS\Component\ComponentHelper::renderComponent( $option = 'com_jem', $params = ??? )...\AdministratorApplication.php:15070.03732315816Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch( )...\ComponentHelper.php:36180.03882629936Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure:C:\wamp2\www\Joomla5\libraries\src\Dispatcher\LegacyComponentDispatcher.php:70-72}( $path = 'C:\\wamp2\\www\\Joomla5\\administrator/components/com_jem/jem.php' )...\LegacyComponentDispatcher.php:7390.03882630672require_once( '\Joomla5\administrator\components\com_jem\jem.php )...\LegacyComponentDispatcher.php:71100.04042760080Joomla\CMS\MVC\Controller\BaseController->execute( $task = 'eventimgup' )...\jem.php:53110.04042760080JemController->display( $cachable = ???, $urlparams = ??? )...\BaseController.php:730120.04272790464Joomla\CMS\MVC\Controller\BaseController->display( $cachable = ???, $urlparams = ??? )...\controller.php:50130.04392800360JemViewImagehandler->display( $tpl = ??? )...\BaseController.php:697
sampledata installed
View: Event
- Sidebar
- go to image
- upload image
Warning: Undefined variable $folder in Joomla5\administrator\components\com_jem\views\imagehandler\view.html.php on line 63
callstack) Warning: Undefined variable $folder in Joomla5\administrator\components\com_jem\views\imagehandler\view.html.php on line 63Call Stack#TimeMemoryFunctionLocation10.0001456816{main}( )...\index.php:020.0001457472require_once( '\Joomla5\administrator\includes\app.php )...\index.php:3230.0032824616Joomla\CMS\Application\CMSApplication->execute( )...\app.php:5840.0038951368Joomla\CMS\Application\AdministratorApplication->doExecute( )...\CMSApplication.php:30450.03222188224Joomla\CMS\Application\AdministratorApplication->dispatch( $component = ??? )...\AdministratorApplication.php:20660.03682293000Joomla\CMS\Component\ComponentHelper::renderComponent( $option = 'com_jem', $params = ??? )...\AdministratorApplication.php:15070.03732315816Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch( )...\ComponentHelper.php:36180.03882629936Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure:C:\wamp2\www\Joomla5\libraries\src\Dispatcher\LegacyComponentDispatcher.php:70-72}( $path = 'C:\\wamp2\\www\\Joomla5\\administrator/components/com_jem/jem.php' )...\LegacyComponentDispatcher.php:7390.03882630672require_once( '\Joomla5\administrator\components\com_jem\jem.php )...\LegacyComponentDispatcher.php:71100.04042760080Joomla\CMS\MVC\Controller\BaseController->execute( $task = 'eventimgup' )...\jem.php:53110.04042760080JemController->display( $cachable = ???, $urlparams = ??? )...\BaseController.php:730120.04272790464Joomla\CMS\MVC\Controller\BaseController->display( $cachable = ???, $urlparams = ??? )...\controller.php:50130.04392800360JemViewImagehandler->display( $tpl = ??? )...\BaseController.php:697
JEM 5.01 (beta) + Joomla 6
Last edit: 2 months 4 weeks ago by Bluefox.
Please Log in or Create an account to join the conversation.
Re: [issue] JEM 4.5.0beta 6 - ADM_Event - Undefined variable $folder
2 months 4 weeks ago - 2 months 4 weeks ago
it happens as task is "eventimgup"
the code in view.html.php is looking for something else
the code in view.html.php is looking for something else
.//set variablesif ($task == 'selecteventimg') {$folder = 'events';$task = 'eventimg';$redi = 'selecteventimg';} elseif ($task == 'selectvenueimg') {$folder = 'venues';$task = 'venueimg';$redi = 'selectvenueimg';} elseif ($task == 'selectcategoriesimg') {$folder = 'categories';$task = 'categoriesimg';$redi = 'selectcategoriesimg';}
JEM 5.01 (beta) + Joomla 6
Last edit: 2 months 4 weeks ago by Bluefox.
Please Log in or Create an account to join the conversation.
Re: [issue] JEM 4.5.0beta 6 - ADM_Event - Undefined variable $folder
2 months 4 weeks ago
Thank you to report it.
Fix for JEM 5.0.0 beta4 in commit:
github.com/jemproject/JEM-Project/commit/ee27e34c8d408c09dd47f845baaaff4d0fb3082f
Fix for JEM 4.5.0 beta6 in commit:
github.com/jemproject/JEM-Project/commit/48b2674f5be16b42c38012ee9aa73a87f08a4c3f
Please apply this patch and tell me if the issue is resolved.
Please Log in or Create an account to join the conversation.
P.S: I prefer to open issue into JEM Github --> github.com/jemproject/JEM-Project/issues
Fix for JEM 5.0.0 beta4 in commit:
github.com/jemproject/JEM-Project/commit/ee27e34c8d408c09dd47f845baaaff4d0fb3082f
Fix for JEM 4.5.0 beta6 in commit:
github.com/jemproject/JEM-Project/commit/48b2674f5be16b42c38012ee9aa73a87f08a4c3f
Please apply this patch and tell me if the issue is resolved.
Please Log in or Create an account to join the conversation.
P.S: I prefer to open issue into JEM Github --> github.com/jemproject/JEM-Project/issues
Please Log in or Create an account to join the conversation.
Re: [issue] JEM 4.5.0beta 6 - ADM_Event - Undefined variable $folder
2 months 4 weeks ago
understandable and i know about the issue tracker on Github.
Reason why i didn't put it there was due to a message by Ernst.. so that's why i kept it here in the forum
Reason why i didn't put it there was due to a message by Ernst.. so that's why i kept it here in the forum
JEM 5.01 (beta) + Joomla 6
Please Log in or Create an account to join the conversation.
Re: [issue] JEM 4.5.0beta 6 - ADM_Event - Undefined variable $folder
2 months 4 weeks ago
Use whichever option you feel more comfortable with, the forum or GitHub. That said, GitHub makes it easier for me to track the status and labels, and it also makes it easier to attach images, such as screenshots.
Please Log in or Create an account to join the conversation.
Re: [issue] JEM 4.5.0beta 6 - ADM_Event - Undefined variable $folder
2 months 4 weeks ago - 2 months 4 weeks ago
To note: mentioned issue has been resolved.
//
About issuetracker:
i'll put it with next issue also in Github as you mention it and it makes sense.
//
About issuetracker:
i'll put it with next issue also in Github as you mention it and it makes sense.
JEM 5.01 (beta) + Joomla 6
Last edit: 2 months 4 weeks ago by Bluefox.
Please Log in or Create an account to join the conversation.
Time to create page: 0.577 seconds