Main menu

Forum


The developer takes a few days off for Summer vacation...
...and will be back with charged battery!

From 14 June to 29 June, 2025 included
During this period,
assistance from developer will not be provided.

NEWS: iCagenda 4.0.0-alpha1 will be available for testing for users with a PRO subscription in July!

× Help Forum English

[SOLVED] Notice: Undefined variable

  • ptah
  • Topic Author
  • New Member
  • New Member
More
12 years 9 months ago - 12 years 9 months ago #242 by ptah
Good day

I am new to PHP and have a problem setting up the event manager. After installing the component, I created a category but when I tried to create the event, i got this error message:

( ! ) Notice: Undefined variable: class in C:\wamp\www\Council\administrator\components\com_icagenda\models\fields\modal\cat.php on line 35
Call Stack
# Time Memory Function Location
1 0.0006 387856 {main}( ) ..\index.php:0
2 0.3339 10271552 JAdministrator->dispatch( ) ..\index.php:46
3 0.3357 10355504 JComponentHelper::renderComponent( ) ..\application.php:153
4 0.3528 10387064 JComponentHelper::executeComponent( ) ..\helper.php:357
5 0.3546 10439176 require_once( 'C:\wamp\www\Council\administrator\components\com_icagenda\icagenda.php' ) ..\helper.php:388
6 0.3648 10765928 JController->execute( ) ..\icagenda.php:35
7 0.3648 10765976 iCagendaController->display( ) ..\controller.php:754
8 0.3686 10839184 JController->display( ) ..\controller.php:38
9 0.3878 11440944 iCagendaViewEvent->display( ) ..\controller.php:715
10 0.4523 12493192 JView->display( ) ..\view.html.php:46
11 0.4523 12493192 JView->loadTemplate( ) ..\view.php:301
12 0.4570 12596456 include( 'C:\wamp\www\Council\administrator\components\com_icagenda\views\event\tmpl\edit.php' ) ..\view.php:742
13 0.4904 12829888 JForm->getInput( ) ..\edit.php:53
14 0.4910 12829768 JFormField->__get( ) ..\edit.php:560
15 0.4910 12829768 JFormFieldModal_cat->getInput( ) ..\field.php:248



How can I resolve this?
Last edit: 12 years 9 months ago by Lyr!C. Reason: [SOLVED]

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
12 years 9 months ago #243 by Lyr!C
Replied by Lyr!C on topic Notice: Undefined variable
iCagenda may not work well on local like Wamp.

Maybe, due to the parameters of Wamp.

I will test on Wamp as soon as i have time too.
But Hope that someone else can help you before...

Notice that you have to be able to load Javascript in order to work.

Latest version : iCagenda 3.9.11
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File Attachment:

Please Log in or Create an account to join the conversation.

  • Manolo2119
  • New Member
  • New Member
More
12 years 9 months ago #249 by Manolo2119
Replied by Manolo2119 on topic Notice: Undefined variable
Hello, great job congratulations

I have the same problem, both in the frontend and add event.

I use Wamp 2.2

Error in the frontend and add event

Notice: Undefined variable: class in C:\wamp\www\Joomla\administrator\components\com_icagenda\models\fields\modal\cat.php on line 35
Call Stack
# Time Memory Function Location
1 0.0005 382760 {main}( ) ..\index.php:0
2 0.1085 5998616 JAdministrator->dispatch( ) ..\index.php:46
3 0.1138 6393728 JComponentHelper::renderComponent( ) ..\application.php:153
4 0.1252 6422704 JComponentHelper::executeComponent( ) ..\helper.php:351
5 0.1256 6474808 require_once( 'C:\wamp\www\Joomla\administrator\components\com_icagenda\icagenda.php' ) ..\helper.php:383
6 0.1307 6804176 JController->execute( ) ..\icagenda.php:35
7 0.1307 6804224 iCagendaController->display( ) ..\controller.php:760
8 0.1323 6877480 JController->display( ) ..\controller.php:38
9 0.1455 7834912 iCagendaViewEvent->display( ) ..\controller.php:721
10 0.1813 9051064 JView->display( ) ..\view.html.php:46
11 0.1814 9051064 JView->loadTemplate( ) ..\view.php:205
12 0.1833 9154328 include( 'C:\wamp\www\Joomla\administrator\components\com_icagenda\views\event\tmpl\edit.php' ) ..\view.php:649
13 0.2110 10309752 JForm->getInput( ) ..\edit.php:53
14 0.2116 10309624 JFormField->__get( ) ..\edit.php:560
15 0.2116 10309624 JFormFieldModal_cat->getInput( ) ..\field.php:257

as might fix it?

Thank.

Please Log in or Create an account to join the conversation.

  • tobitoli80
  • New Member
  • New Member
More
12 years 9 months ago #361 by tobitoli80
Replied by tobitoli80 on topic Notice: Undefined variable
Same problem here.

In "display" options:

Notice: Undefined variable: class in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\datos_frogak\administrator\components\com_icagenda\models\fields\modal\template.php


In "filters"

Notice: Undefined variable: class in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\datos_frogak\administrator\components\com_icagenda\models\fields\modal\cat.php on line 35


Any ideas??

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
12 years 9 months ago #394 by Lyr!C
Replied by Lyr!C on topic Notice: Undefined variable
Is it solved ?

Latest version : iCagenda 3.9.11
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File Attachment:

Please Log in or Create an account to join the conversation.

  • regis
  • regis's Avatar
  • Premium Member
  • Premium Member
More
12 years 9 months ago #408 by regis
Replied by regis on topic Notice: Undefined variable
iCagenda works fine in localhost using UwAmp www.uwamp.com/

- Si vous aimez iCagenda et son support, merci de poster un petit commentaire sur le JED

- If you like iCagenda and support, thank you to post a small comment on the JED

♥ iCagenda on JED

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
12 years 9 months ago #504 by Lyr!C
Replied by Lyr!C on topic Notice: Undefined variable
And works fine too with XAMPP : docs.joomla.org/Xampp ;)

Latest version : iCagenda 3.9.11
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File Attachment:

Please Log in or Create an account to join the conversation.

  • rikrei
  • New Member
  • New Member
More
12 years 9 months ago #517 by rikrei
Replied by rikrei on topic Notice: Undefined variable
To all using Wampserver 2.2

Quick walkaround to you get it working on Wamp is to turn off errer reporting under Joomla Global Configuration / Server / Error Reporting to off

Not a fix but then you can use wampserver..

Remember to set it back to on when u uplaod site to your server (if you use it)

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
12 years 9 months ago #519 by Lyr!C
Replied by Lyr!C on topic Notice: Undefined variable

rikrei wrote: To all using Wampserver 2.2

Quick walkaround to you get it working on Wamp is to turn off errer reporting under Joomla Global Configuration / Server / Error Reporting to off

Not a fix but then you can use wampserver..

Remember to set it back to on when u uplaod site to your server (if you use it)


Thanks !

Very useful as iCagenda is still in developpement with files included, but not actives, and not really finished in coding.

I think now, why there are those errors. I will correct most in the next release with registration added ;-)

Latest version : iCagenda 3.9.11
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File Attachment:

Please Log in or Create an account to join the conversation.

Moderators: Lyr!C
Time to create page: 0.209 seconds

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new