symfony 1.3

3 views
Skip to first unread message

Jack Bates

unread,
Dec 10, 2009, 9:21:40 PM12/10/09
to Qubit Toolkit Developers
in revision 4145 i updated to symfony 1.3 - but i haven't quite
finished yet

in the meantime use,

$ svn up -r 4144 lib/vendor/symfony

^ to continue using symfony 1.2

Jack Bates

unread,
Dec 14, 2009, 7:20:41 PM12/14/09
to Qubit Toolkit Developers
so i've updated most of the project to work with symfony 1.3 - as
david just pointed out in the chat room, this means rolling back lib/
vendor/symfony won't work anymore because, e.g. lib/model/map now
works only with symfony 1.3

$ svn up -r 4144 lib/vendor/symfony lib/model/map

^ does this work in the meantime?

David Juhasz

unread,
Dec 15, 2009, 5:21:06 PM12/15/09
to qubi...@googlegroups.com

On 14-Dec-09, at 4:20 PM, Jack Bates wrote:

> so i've updated most of the project to work with symfony 1.3 - as
> david just pointed out in the chat room, this means rolling back lib/
> vendor/symfony won't work anymore because, e.g. lib/model/map now
> works only with symfony 1.3
>
> $ svn up -r 4144 lib/vendor/symfony lib/model/map
>
> ^ does this work in the meantime?
>

This doesn't seem to work as I test it now with r4180...

---
The filter name "common" is defined in "/Applications/MAMP/htdocs/
qubit/lib/vendor/symfony/lib/config/config/filters.yml" but not
present in "/Applications/MAMP/htdocs/qubit/apps/qubit/config/
filters.yml" file. To disable a filter, add a "enabled" key with a
false value.
--

Using the trunk version without reverting the above directories to
r4144 seems to be almost working. The main problem I'm having now is
that the routing rules don't retain the dev front-controller name - so
if I'm at:

http://localhost/~david/qubit/web/qubit_dev.php/object/importSelect

and click the "Import" button, I end up at:

http://localhost/~david/qubit/web/object/import

With a "White screen of Death" and no debugging info. :(



David Juhasz,
Software Engineer, Artefactual Systems Inc.
http://www.artefactual.com | P: 604.527.2056 | F: 604.521.2059

Jack Bates

unread,
Dec 15, 2009, 7:31:23 PM12/15/09
to Qubit Toolkit Developers
On Dec 15, 2:21 pm, David Juhasz <da...@artefactual.com> wrote:
> Using the trunk version without reverting the above directories to  
> r4144 seems to be almost working.  The main problem I'm having now is  
> that the routing rules don't retain the dev front-controller name - so  
> if I'm at:
>
> http://localhost/~david/qubit/web/qubit_dev.php/object/importSelect
>
> and click the "Import" button, I end up at:
>
> http://localhost/~david/qubit/web/object/import
>
> With a "White screen of Death" and no debugging info. :(

awesome - thanks david - looking into it now...

Jack Bates

unread,
Dec 18, 2009, 12:47:49 PM12/18/09
to Qubit Toolkit Developers

aha - i think i found the problem - if you,

$ cp apps/qubit/config/settings.yml{.tmpl,}

- does that fix the problem?

David Juhasz

unread,
Dec 21, 2009, 12:03:29 PM12/21/09
to qubi...@googlegroups.com
On 18-Dec-09, at 9:47 AM, Jack Bates wrote:


aha - i think i found the problem - if you,

$ cp apps/qubit/config/settings.yml{.tmpl,}

- does that fix the problem?


Yes, that fixes the problem with the developement front controller "sticking".  Still hitting the Fatal error:


Fatal error: Class 'fbISO639_Map' not found in /Applications/MAMP/htdocs/qubit/lib/QubitXmlImport.class.php on line 179

David Juhasz

unread,
Dec 21, 2009, 12:04:53 PM12/21/09
to qubi...@googlegroups.com

On 21-Dec-09, at 9:03 AM, David Juhasz wrote:

Yes, that fixes the problem with the developement front controller "sticking".  Still hitting the Fatal error:


Fatal error: Class 'fbISO639_Map' not found in /Applications/MAMP/htdocs/qubit/lib/QubitXmlImport.class.php on line 179

Peter Van Garderen

unread,
Dec 21, 2009, 3:07:50 PM12/21/09
to qubi...@googlegroups.com

>
> Yes, that fixes the problem with the developement front controller
> "sticking". Still hitting the Fatal error:
>
>
> *Fatal error*: Class 'fbISO639_Map' not found in
> */Applications/MAMP/htdocs/qubit/lib/QubitXmlImport.class.php* on line *179*
>

I'm hitting similar '*Map* not found' fatal errors in a few places.

informationobject/show/isad (in the sidebar component slot):

Fatal error: Class 'ActorI18nMapBuilder' not found in
/home/peter/public_html/qubit/lib/QubitCultureFallback.class.php(41) : eval()'d
code on line 1

actor/show/isaar/ (in the sidebar component slot):

Fatal error: Class 'InformationObjectI18nMapBuilder' not found in
/home/peter/public_html/qubit/lib/QubitCultureFallback.class.php(41) : eval()'d
code on line 1

If I disable the sidebar component slot, I hit the following error on
informationobject/edit/isad

Fatal error: Class 'TermI18nMapBuilder' not found in
/home/peter/public_html/qubit/lib/QubitCultureFallback.class.php(41) : eval()'d
code on line 1

And the same on actor/edit/isaar

Fatal error: Class 'TermI18nMapBuilder' not found in
/home/peter/public_html/qubit/lib/QubitCultureFallback.class.php(41) : eval()'d
code on line 1

This is holding me back from testing Validation. Any work around suggestions?

--peter

Jack Bates

unread,
Dec 22, 2009, 4:28:15 PM12/22/09
to Qubit Toolkit Developers

i think it's because of this change in propel,
http://propel.phpdb.org/trac/wiki/Users/Documentation/1.4/WhatsNew#MapBuildersaregone

does this workaround avoid the problem temporarily?
http://www.sfu.ca/~jdbates/tmp/qubit/200912220/patch

Jesús García Crespo

unread,
Dec 22, 2009, 5:09:03 PM12/22/09
to qubi...@googlegroups.com
Hi Jack,

> does this workaround avoid the problem temporarily?
> http://www.sfu.ca/~jdbates/tmp/qubit/200912220/patch

It works here.

Thank you,

--
Jesús García Crespo

Peter Van Garderen

unread,
Dec 22, 2009, 6:13:31 PM12/22/09
to qubi...@googlegroups.com
Yes, works. Thanks Jack. Also need to apply it to lib/model/QubitActor.php. See
attached patch.

--peter

> --
>
> You received this message because you are subscribed to the Google Groups "Qubit Toolkit Developers" group.
> To post to this group, send email to qubi...@googlegroups.com.
> To unsubscribe from this group, send email to qubit-dev+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/qubit-dev?hl=en.
>
>
>

actorTableMap.patch

Peter Van Garderen

unread,
Dec 23, 2009, 4:09:47 PM12/23/09
to qubi...@googlegroups.com
in the Term module there's lots of "Fatal error: Class 'TaxonomyI18nMapBuilder'
not found in
/home/peter/public_html/qubit/lib/QubitCultureFallback.class.php(41) : eval()'d
code on line 1"

As per our existing patches, I tried commenting out a few calls that added
Fallback to criteria but this only produces a number of other (i.e. missing
columns) errors.

It seems like this particular issues keeps coming back to
lib/QubitCultureFallback.class.php which explicitly calls the MapBuilder classes
that were deprecated in Symfony 1.3/Propel 1.4

Can someone suggest a patch for this set of Fatal errors in the Term module or a
schedule to fix/upgrade QubitCultureFallback specifically? I'm concerned that we
have these holes at least patched up in time for the next code review (Jan4) so
that the reviewers don't encounter any unnecessary Fatal errors as they work
their way through the app.

--peter

Jesús García Crespo

unread,
Dec 25, 2009, 6:39:07 PM12/25/09
to qubi...@googlegroups.com
Hi Peter,

On Wed, Dec 23, 2009 at 7:09 PM, Peter Van Garderen
<pe...@artefactual.com> wrote:
> Can someone suggest a patch for this set of Fatal errors in the Term module or a
> schedule to fix/upgrade QubitCultureFallback specifically? I'm concerned that we
> have these holes at least patched up in time for the next code review (Jan4) so
> that the reviewers don't encounter any unnecessary Fatal errors as they work
> their way through the app.

See attached patch. It works here.

Regards,

--
Jesús García Crespo

culture.patch

Jack Bates

unread,
Dec 27, 2009, 2:16:44 PM12/27/09
to Qubit Toolkit Developers

fantastic! i think you patch corrects all the QubitCultureFallback
errors

david - can you please double check this patch is correct? if so, i
think you should go ahead and commit, jesus : )

David at Artefactual

unread,
Dec 28, 2009, 12:54:58 PM12/28/09
to Qubit Toolkit Developers
On Dec 27, 11:16 am, Jack Bates <jack.ba...@gmail.com> wrote:
> david - can you please double check this patch is correct? if so, i
> think you should go ahead and commit, jesus : )

Looks good to me, make it so number 1!

D

Reply all
Reply to author
Forward
0 new messages