Closed (fixed)
Project:
Profile Setup
Version:
6.x-3.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
7 Apr 2009 at 14:09 UTC
Updated:
14 Oct 2009 at 14:57 UTC
Jump to comment: Most recent file
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
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | 426354-profile_setup-pageroute-compatability-v2.patch | 2.1 KB | mrfelton |
| #4 | 426354-profile_setup-pageroute-compatability.patch | 2.75 KB | mrfelton |
Comments
Comment #1
merilainen commentedTitle typo
Comment #2
deverman commentedWe 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".
Comment #3
capellicInteresting, 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
Comment #4
mrfelton commentedAttached 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?
Comment #5
mrfelton commentedComment #6
marcin-mark commentedI 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
Comment #7
mrfelton commented@marcin-mark - you got that even with my patch applied?
Comment #8
marcin-mark commentedsorry, 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...
Comment #9
h3000 commentedHi,
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
Comment #10
thomjjames commentedApplied 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
Comment #11
mrfelton commentedThe 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
Comment #12
thomjjames commentedShould now be fixed in the 6.x-3.0 of profile setup.
Tom