Incompatibility with pageroute dev-version
mErilainen - April 7, 2009 - 14:09
| Project: | Profile Setup |
| Version: | 6.x-3.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | thomjjames |
| Status: | closed |
Description
In dev-version of Pageroute one issue (http://drupal.org/node/335646) is fixed and because of this change dev-version of Profile Setup doesn't work. I cannot add new pages to routes, instead I get the following errors:
Warning: Call-time pass-by-reference has been deprecated in /home/merilai2/public_html/drupal6/sites/dev.ee.tut.fi.~merilai2.drupal6.opintopiiri/modules/profile_setup/profile_setup.page_profile_picture.inc on line 60
Warning: Call-time pass-by-reference has been deprecated in /home/merilai2/public_html/drupal6/sites/dev.ee.tut.fi.~merilai2.drupal6.opintopiiri/modules/profile_setup/profile_setup.page_account_category.inc on line 61
Warning: Call-time pass-by-reference has been deprecated in /home/merilai2/public_html/drupal6/sites/dev.ee.tut.fi.~merilai2.drupal6.opintopiiri/modules/profile_setup/profile_setup.page_account_category.inc on line 63
Warning: Call-time pass-by-reference has been deprecated in /home/merilai2/public_html/drupal6/sites/dev.ee.tut.fi.~merilai2.drupal6.opintopiiri/modules/profile_setup/profile_setup.page_account_category.inc on line 63
Fatal error: Access level to profile_setup_page_account_category::set_up() must be public (as in class pageroute_page) in /home/merilai2/public_html/drupal6/sites/dev.ee.tut.fi.~merilai2.drupal6.opintopiiri/modules/profile_setup/profile_setup.page_account_category.inc on line 160
#1
Title typo
#2
We had a problem with the normal pageroute so we upgraded to the dev version and now we are experiencing this incompatibility. Is the dev version of this module fix for this problem? We have been using verions "6.x-2.0".
#3
Interesting, because while I am getting those errors, the incompatibility seems a lot more dire. Looks like the functions that profile_setup are relying on have been renamed and restructured.
http://drupal.org/node/567684#comment-2003274
#4
Attached patch gets the module 'semi' working with pageroute-1.0-beta2. Well, it clears the errors and gets the module registered properly. Can someone else take it from here?
#5
#6
I get the following error:
Fatal error: Class 'pageroute_page' not found in /home/magician/public_html/sites/all/modules/profile_setup/profile_setup.page_profile_picture.inc on line 11
#7
@marcin-mark - you got that even with my patch applied?
#8
sorry, applied patch and no error... however... when i go to add a profile page, I can select, for example, user picture page... but it ends up showing blank... so... still not working...
#9
Hi,
I applied the patch as well.
Using pageroute beta2 version.
At first, I encountered blank pages as well - in my case I set up a page to update a certain category for user profiles - the forms for user profile fields were not appearing.
There was an error that mentioned that it was missing the function profile_setupPageaccount_category::getAdminForm.
Thanks
#10
Applied patch #4 to dev version (6.x-3.x-dev) but now it pulls a white screen on the pageroute steps (6.x-1.0-beta2 version). This seems to be a pageroute issue as I was unable to get any of the page types to function.
Tom
#11
The attached patch should apply to 6.x-3.x-dev (10/10/2009). It's working fine for me, but I'm only using account category pages - haven't tried with password or profile picture pages.
EDIT: Ensure you have the latest -dev of pageroute too
#12
Should now be fixed in the 6.x-3.0 of profile setup.
Tom