Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Show Posts

* | |

  Show Posts
Pages: [1]
1  PureMVC Manifold / Bug Report / [ FIXED ] - Error running demo on: December 03, 2008, 08:11:55
Just downloaded PureMVC version 1.0.1 and was trying the Zen Garden demo on my local machine running PHP 5.2.6 and I was getting the following notices:

Notice: Undefined index: startApplication in C:\Documents and Settings\jorivera\My Documents\htdocs\puremvc\org\puremvc\php\core\View.php on line 103

Notice: Undefined index: viewDataReady in C:\Documents and Settings\jorivera\My Documents\htdocs\puremvc\org\puremvc\php\core\View.php on line 103


I changed /core/View.php line 103 from:

if ($this->observerMap[ $notificationName ] != null)

To

if (isset($this->observerMap[ $notificationName ]) && $this->observerMap[ $notificationName ] != null)

And it seems to be working correctly now.

Thanks,

Joey
Pages: [1]