سلام.
با تشکر از ترجمه کامپوننت بسیار ارزشمند guru توسط جوملای ایران من هنگام نصب در لوکال با دو مشکل در این کامپوننت مواجه شدم که در تصاویر زیر قابل مشاهده است.
مشکل اول زمانی ظاهر میشود که کاربر در سایت لوگین کند. در این هنگام و با مراجعه به منوهای این کامپوننت پیغام php در بالای هدر سایت ظاهر می شود.
-----------------------------------------------------------------------------------------
( ! ) Notice: Undefined index: cid in C:\wamp\www\site06\components\com_guru\router.php on line 173
Call Stack
# Time Memory Function Location
1 0.0017 382184 {main}( ) ..\index.php:0
2 2.1096 18321120 JSite->render( ) ..\index.php:48
3 3.8133 31026656 JApplication->triggerEvent( ) ..\application.php:274
4 3.8134 31026720 JDispatcher->trigger( ) ..\application.php:642
5 3.8796 31516880 JEvent->update( ) ..\dispatcher.php:161
6 3.8796 31517192 call_user_func_array ( ) ..\event.php:71
7 3.8796 31517208 plgSystemSef->onAfterRender( ) ..\event.php:71
8 3.8798 31542200 preg_replace_callback ( ) ..\sef.php:34
9 3.8833 31616152 plgSystemSef->route( ) ..\sef.php:34
10 3.8833 31616312 JRoute::_( ) ..\sef.php:104
11 3.8835 31616376 JRouterSite->build( ) ..\methods.php:51
12 3.8835 31616376 JRouter->build( ) ..\router.php:82
13 3.8841 31617904 JRouterSite->_buildSefRoute( ) ..\router.php:205
14 3.8859 31618448 guruBuildRoute( ) ..\router.php:347
-----------------------------------------------------------------------------------------
مشکل دوم زمانی است که کاربر در دوره ای ثبت نام کرده باشد و پنجره نمایش دروس و واحدها را باز کند که آن هم با خطاهای متعدد php همراه است.
----------------------------------------------------------------------------------------
) Notice: Undefined variable: document in C:\wamp\www\site06\templates\qsa3b\component.php on line 5 Call Stack #TimeMemoryFunctionLocation 10.0025382152{main}( )..\index.php:0 21.515919345424JSite->render( )..\index.php:48 31.517219346144JDocumentHTML->parse( )..\application.php:259 41.517219346144JDocumentHTML->_fetchTemplate( )..\html.php:414 51.519119346480JDocumentHTML->_loadTemplate( )..\html.php:591 61.532519393272require( 'C:\wamp\www\site06\templates\qsa3b\component.php' )..\html.php:531
( ! ) Notice: Trying to get property of non-object in C:\wamp\www\site06\templates\qsa3b\component.php on line 5
Call Stack
# Time Memory Function Location
1 0.0025 382152 {main}( ) ..\index.php:0
2 1.5159 19345424 JSite->render( ) ..\index.php:48
3 1.5172 19346144 JDocumentHTML->parse( ) ..\application.php:259
4 1.5172 19346144 JDocumentHTML->_fetchTemplate( ) ..\html.php:414
5 1.5191 19346480 JDocumentHTML->_loadTemplate( ) ..\html.php:591
6 1.5325 19393272 require( 'C:\wamp\www\site06\templates\qsa3b\component.php' ) ..\html.php:531
">
( ! ) Notice: Undefined index: 0 in C:\wamp\www\site06\components\com_guru\router.php on line 92
Call Stack
# Time Memory Function Location
1 0.0025 382152 {main}( ) ..\index.php:0
2 0.5073 12473688 JSite->dispatch( ) ..\index.php:42
3 0.5149 12528672 JComponentHelper::renderComponent( ) ..\application.php:197
4 0.5272 12581768 JComponentHelper::executeComponent( ) ..\helper.php:351
5 0.5280 12666456 require_once( 'C:\wamp\www\site06\components\com_guru\guru.php' ) ..\helper.php:383
6 0.5836 14200912 JController->execute( ) ..\guru.php:107
7 0.5837 14200960 guruControllerguruTasks->view( ) ..\controller.php:761
8 0.5954 14368960 guruViewguruTasks->show( ) ..\guruTasks.php:42
9 0.6230 14374304 JView->display( ) ..\view.html.php:35
10 0.6230 14374304 JView->loadTemplate( ) ..\view.php:205
11 0.6451 14772944 include( 'C:\wamp\www\site06\components\com_guru\views\gurutasks\tmpl\view.php' ) ..\view.php:649
12 0.6797 15502696 JRoute::_( ) ..\view.php:373
13 0.6798 15502760 JRouterSite->build( ) ..\methods.php:51
14 0.6798 15502760 JRouter->build( ) ..\router.php:82
15 0.6801 15504856 JRouterSite->_buildSefRoute( ) ..\router.php:205
16 0.6806 15505608 guruBuildRoute( ) ..\router.php:347
( ! ) Notice: Undefined index: 0 in C:\wamp\www\site06\components\com_guru\router.php on line 93
Call Stack
# Time Memory Function Location
1 0.0025 382152 {main}( ) ..\index.php:0
2 0.5073 12473688 JSite->dispatch( ) ..\index.php:42
3 0.5149 12528672 JComponentHelper::renderComponent( ) ..\application.php:197
4 0.5272 12581768 JComponentHelper::executeComponent( ) ..\helper.php:351
5 0.5280 12666456 require_once( 'C:\wamp\www\site06\components\com_guru\guru.php' ) ..\helper.php:383
6 0.5836 14200912 JController->execute( ) ..\guru.php:107
7 0.5837 14200960 guruControllerguruTasks->view( ) ..\controller.php:761
8 0.5954 14368960 guruViewguruTasks->show( ) ..\guruTasks.php:42
9 0.6230 14374304 JView->display( ) ..\view.html.php:35
10 0.6230 14374304 JView->loadTemplate( ) ..\view.php:205
11 0.6451 14772944 include( 'C:\wamp\www\site06\components\com_guru\views\gurutasks\tmpl\view.php' ) ..\view.php:649
12 0.6797 15502696 JRoute::_( ) ..\view.php:373
13 0.6798 15502760 JRouterSite->build( ) ..\methods.php:51
14 0.6798 15502760 JRouter->build( ) ..\router.php:82
15 0.6801 15504856 JRouterSite->_buildSefRoute( ) ..\router.php:205
16 0.6806 15505608 guruBuildRoute( ) ..\router.php:347
/site06/index.php/component/guru/guruTasks/2-/5-?tmpl=component"> ( ! ) Notice: Undefined index: 0 in C:\wamp\www\site06\components\com_guru\router.php on line 92
Call Stack
# Time Memory Function Location
1 0.0025 382152 {main}( ) ..\index.php:0
2 0.5073 12473688 JSite->dispatch( ) ..\index.php:42
3 0.5149 12528672 JComponentHelper::renderComponent( ) ..\application.php:197
4 0.5272 12581768 JComponentHelper::executeComponent( ) ..\helper.php:351
5 0.5280 12666456 require_once( 'C:\wamp\www\site06\components\com_guru\guru.php' ) ..\helper.php:383
6 0.5836 14200912 JController->execute( ) ..\guru.php:107
7 0.5837 14200960 guruControllerguruTasks->view( ) ..\controller.php:761
8 0.5954 14368960 guruViewguruTasks->show( ) ..\guruTasks.php:42
9 0.6230 14374304 JView->display( ) ..\view.html.php:35
10 0.6230 14374304 JView->loadTemplate( ) ..\view.php:205
11 0.6451 14772944 include( 'C:\wamp\www\site06\components\com_guru\views\gurutasks\tmpl\view.php' ) ..\view.php:649
12 0.6874 15502680 JRoute::_( ) ..\view.php:422
13 0.6874 15502744 JRouterSite->build( ) ..\methods.php:51
14 0.6874 15502744 JRouter->build( ) ..\router.php:82
15 0.6878 15504808 JRouterSite->_buildSefRoute( ) ..\router.php:205
16 0.6883 15505552 guruBuildRoute( ) ..\router.php:347
( ! ) Notice: Undefined index: 0 in C:\wamp\www\site06\components\com_guru\router.php on line 93
Call Stack
# Time Memory Function Location
1 0.0025 382152 {main}( ) ..\index.php:0
2 0.5073 12473688 JSite->dispatch( ) ..\index.php:42
3 0.5149 12528672 JComponentHelper::renderComponent( ) ..\application.php:197
4 0.5272 12581768 JComponentHelper::executeComponent( ) ..\helper.php:351
5 0.5280 12666456 require_once( 'C:\wamp\www\site06\components\com_guru\guru.php' ) ..\helper.php:383
6 0.5836 14200912 JController->execute( ) ..\guru.php:107
7 0.5837 14200960 guruControllerguruTasks->view( ) ..\controller.php:761
8 0.5954 14368960 guruViewguruTasks->show( ) ..\guruTasks.php:42
9 0.6230 14374304 JView->display( ) ..\view.html.php:35
10 0.6230 14374304 JView->loadTemplate( ) ..\view.php:205
11 0.6451 14772944 include( 'C:\wamp\www\site06\components\com_guru\views\gurutasks\tmpl\view.php' ) ..\view.php:649
12 0.6874 15502680 JRoute::_( ) ..\view.php:422
13 0.6874 15502744 JRouterSite->build( ) ..\methods.php:51
14 0.6874 15502744 JRouter->build( ) ..\router.php:82
15 0.6878 15504808 JRouterSite->_buildSefRoute( ) ..\router.php:205
16 0.6883 15505552 guruBuildRoute( ) ..\router.php:347
/site06/index.php/component/guru/guruTasks/2-/5-/10-?tmpl=component"> واحد 1/1, درس 1/2
-----------------------------------------------------------------------------------------------------
.با توجه به اهمیت فراوان این کامپوننت در راه اندازی مدرسه مجازی لطفا جهت رفع این خطاها راهنمایی فرمایید.
اگر نیاز به دسترسی آنلاین بود بگید تا سایت رو جایی آپلود کنم.