topleft topright

Welcome, Guest. Please login or register.
May 19, 2013, 02:04:42 PM
Home Help Search Login Register
News: ATTENTION: Spambots must die! Humans must visit http://contact.futurescale.com to request forum access.

Pages: [1]
Print
Author Topic: [ FIXED ] - Error running demo  (Read 2391 times)
mazeroth
Newbie
*
Posts: 1


View Profile Email
« on: December 03, 2008, 08:11:55 AM »

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
« Last Edit: January 14, 2009, 12:25:38 PM by puremvc » Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2790



View Profile WWW
« Reply #1 on: December 04, 2008, 12:50:28 PM »

Thanks for this report and workaround, Joey.

-=Cliff>
Logged
hasan
Moderator
Newbie
*****
Posts: 8



View Profile WWW
« Reply #2 on: December 10, 2008, 12:24:31 PM »

Hi Joey,

Thanks for the spot. We'll add this to the release real soon...

Logged

P E A C E

Hasan
Pages: [1]
Print
Jump to:  



Login with username, password and session length

Powered by SMF 1.1.11 | SMF © 2006-2007, Simple Machines LLC
Copyright © 2006-2008 Futurescale, Inc.