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

mErilainen - April 7, 2009 - 14:10
Title:Incompability with pageroute dev-version» Incompatibility with pageroute dev-version

Title typo

#2

deverman - May 13, 2009 - 15:50

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

capellic - September 3, 2009 - 21:41

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

mrfelton - September 21, 2009 - 16:49

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?

AttachmentSize
426354-profile_setup-pageroute-compatability.patch 2.75 KB

#5

mrfelton - September 21, 2009 - 16:49
Status:active» needs work

#6

marcin-mark - September 22, 2009 - 00:46

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

mrfelton - September 22, 2009 - 08:17

@marcin-mark - you got that even with my patch applied?

#8

marcin-mark - September 22, 2009 - 12:29

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

h3000 - September 23, 2009 - 09:17

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

thomjjames - October 9, 2009 - 21:15
Version:6.x-2.x-dev» 6.x-3.x-dev
Assigned to:Anonymous» thomjjames

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

mrfelton - October 10, 2009 - 09:40
Status:needs work» needs review

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

AttachmentSize
426354-profile_setup-pageroute-compatability-v2.patch 2.1 KB

#12

thomjjames - October 14, 2009 - 14:57
Status:needs review» closed

Should now be fixed in the 6.x-3.0 of profile setup.

Tom

 
 

Drupal is a registered trademark of Dries Buytaert.