Jamaica blocks bug

bigteeth <[email protected]> Sat, 02 May 2009 00:42:33 -0400
Newsgroups gmane.comp.cms.xaraya.devel
Organization Xaraya
Message-ID <[email protected]>
Hi there,

I just did a fresh pull and install of Jamaica today (1 May 09). I 
deleted the install and upgrade.php files, then went to 'Edit' the 
reminder block and got the error listed below. I can edit the other 
blocks, just not the 'Reminder' block.

Also, I am reporting it here because I didn't see a place for it in 
bugzilla (of course, maybe I just was looking in the wrong place?).

Here is the full error:
-----------------------------------------------------------------------


  PHPException [8] was raised (native)

File     : 
/usr/home/bigteeth/www/new.zwiggybo.com/html/x2/html/var/cache/templates/8db2062fc26e306c454bdeb9f6f0b335.php
Line     : 25
Code     : 8
Message  : Use of undefined constant expirein - assumed 'expirein'
Variables: $bindvars:
              Array
              (
                  [html_content] =&gt; Please delete install.php and 
upgrade.php from your webroot .
                  [expire] =&gt; 1241262874
                  [expirein] =&gt; 7
                  [blockid] =&gt; 2
                  [_bl_data] =&gt; Array
                      (
                          [html_content] =&gt; Please delete install.php 
and upgrade.php from your webroot .
                          [expire] =&gt; 1241262874
                          [expirein] =&gt; 7
                          [blockid] =&gt; 2
                          [_bl_data] =&gt; Array
               *RECURSION*
                      )

              )

            $html_content:
              Please delete install.php and upgrade.php from your webroot .
            $expire:
              1241262874
            $expirein:
              7
            $blockid:
              2
            $_bl_data:
              Array
              (
                  [html_content] =&gt; Please delete install.php and 
upgrade.php from your webroot .
                  [expire] =&gt; 1241262874
                  [expirein] =&gt; 7
                  [blockid] =&gt; 2
                  [_bl_data] =&gt; Array
                      (
                          [html_content] =&gt; Please delete install.php 
and upgrade.php from your webroot .
                          [expire] =&gt; 1241262874
                          [expirein] =&gt; 7
                          [blockid] =&gt; 2
                          [_bl_data] =&gt; Array
               *RECURSION*
                      )

                  [expireseconds] =&gt; 25200
                  [options] =&gt; Array
                      (
                          [0] =&gt; Array
                              (
                                  [id] =&gt; 86400
                                  [name] =&gt; 1 Day
                              )

                          [1] =&gt; Array
                              (
                                  [id] =&gt; 172800
                                  [name] =&gt; 2 Days
                              )

                          [2] =&gt; Array
                              (
                                  [id] =&gt; 432000
                                  [name] =&gt; 5 Days
                              )

                          [3] =&gt; Array
                              (
                                  [id] =&gt; 1296000
                                  [name] =&gt; 15 Days
                              )

                          [4] =&gt; Array
                              (
                                  [id] =&gt; 2592000
                                  [name] =&gt; 30 Days
                              )

                          [5] =&gt; Array
                              (
                                  [id] =&gt; 0
                                  [name] =&gt; Unlimited
                              )

                      )

              )

            $expireseconds:
              25200
            $options:
              Array
              (
                  [0] =&gt; Array
                      (
                          [id] =&gt; 86400
                          [name] =&gt; 1 Day
                      )

                  [1] =&gt; Array
                      (
                          [id] =&gt; 172800
                          [name] =&gt; 2 Days
                      )

                  [2] =&gt; Array
                      (
                          [id] =&gt; 432000
                          [name] =&gt; 5 Days
                      )

                  [3] =&gt; Array
                      (
                          [id] =&gt; 1296000
                          [name] =&gt; 15 Days
                      )

                  [4] =&gt; Array
                      (
                          [id] =&gt; 2592000
                          [name] =&gt; 30 Days
                      )

                  [5] =&gt; Array
                      (
                          [id] =&gt; 0
                          [name] =&gt; Unlimited
                      )

              )

            $property:
              SelectProperty Object
              (
                  [id] =&gt; expire&lt;?php echo $blockid;?&gt;
                  [name] =&gt; expire
                  [desc] =&gt; Dropdown List
                  [reqmodules] =&gt; Array
                      (
                          [0] =&gt; base
                      )

                  [options] =&gt; Array
                      (
                          [0] =&gt; Array
                              (
                                  [id] =&gt; 86400
                                  [name] =&gt; 1 Day
                              )

                          [1] =&gt; Array
                              (
                                  [id] =&gt; 172800
                                  [name] =&gt; 2 Days
                              )

                          [2] =&gt; Array
                              (
                                  [id] =&gt; 432000
                                  [name] =&gt; 5 Days
                              )

                          [3] =&gt; Array
                              (
                                  [id] =&gt; 1296000
                                  [name] =&gt; 15 Days
                              )

                          [4] =&gt; Array
                              (
                                  [id] =&gt; 2592000
                                  [name] =&gt; 30 Days
                              )

                          [5] =&gt; Array
                              (
                                  [id] =&gt; 0
                                  [name] =&gt; Unlimited
                              )

                      )

                  [itemfunc] =&gt;
                  [initialization_firstline] =&gt;
                  [initialization_function] =&gt;
                  [initialization_file] =&gt;
                  [initialization_collection] =&gt;
                  [initialization_options] =&gt;
                  [validation_override] =&gt;
                  [validation_override_invalid] =&gt;
                  [label] =&gt; Property Label
                  [type] =&gt; 6
                  [defaultvalue] =&gt;
                  [source] =&gt; dynamic_data
                  [status] =&gt; 1
                  [seq] =&gt; 0
                  [format] =&gt; 0
                  [filepath] =&gt; modules/base/xarproperties
                  [class] =&gt;
                  [template] =&gt; dropdown
                  [layout] =&gt;
                  [tplmodule] =&gt; base
                  [configuration] =&gt;
                  [dependancies] =&gt;
                  [args] =&gt; Array
                      (
                      )

                  [anonymous] =&gt; 0
                  [datastore] =&gt;
                  [value] =&gt; 25200
                  [invalid] =&gt;
                  [include_reference] =&gt; 0
                  [objectref] =&gt;
                  [_objectid] =&gt;
                  [_fieldprefix] =&gt;
                  [_itemid] =&gt;
                  [_items] =&gt;
                  [configurationtypes] =&gt; Array
                      (
                          [0] =&gt; display
                          [1] =&gt; validation
                          [2] =&gt; initialization
                      )

                  [display_layout] =&gt; default
                  [display_required] =&gt;
                  [display_tooltip] =&gt;
                  [initialization_transform] =&gt;
                  [initialization_other_rule] =&gt;
                  [validation_notequals] =&gt;
                  [validation_equals] =&gt;
                  [validation_allowempty] =&gt;
              )



Raised in: 
/usr/home/bigteeth/www/new.zwiggybo.com/html/x2/lib/xaraya/exceptions/handlers.php, 
line 202