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
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 12 ans 9 mois - il y a 12 ans 9 mois #242 par ptah
[SOLVED] Notice: Undefined variable a été créé par 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?
Dernière édition: il y a 12 ans 9 mois par Lyr!C. Raison: [SOLVED]

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 12 ans 9 mois #243 par Lyr!C
Réponse de Lyr!C sur le sujet 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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • Manolo2119
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 12 ans 9 mois #249 par Manolo2119
Réponse de Manolo2119 sur le sujet 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.

Connexion ou Créer un compte pour participer à la conversation.

  • tobitoli80
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 12 ans 9 mois #361 par tobitoli80
Réponse de tobitoli80 sur le sujet 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??

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 12 ans 9 mois #394 par Lyr!C
Réponse de Lyr!C sur le sujet 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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • regis
  • Portrait de regis
  • Membre premium
  • Membre premium
Plus d'informations
il y a 12 ans 9 mois #408 par regis
Réponse de regis sur le sujet 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

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 12 ans 9 mois #504 par Lyr!C
Réponse de Lyr!C sur le sujet 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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • rikrei
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 12 ans 9 mois #517 par rikrei
Réponse de rikrei sur le sujet 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)

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 12 ans 9 mois #519 par Lyr!C
Réponse de Lyr!C sur le sujet Notice: Undefined variable

rikrei écrit: 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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: Lyr!C
Temps de génération de la page : 0.255 secondes

Follow Us

Créez vos templates Joomla avec Template Creator CK

acymailing logo new