PHP exception for return page setting
Archived from the Xataface Users forum.
rtresidd — Tue Sep 18, 2012 9:12 pm
Hi Just had someone here in the office who got an exception every time he added an “existing related record”.
the exception was on line 313 of ExistingRelatedRecordForm.php
There is a type in the variable name$this->_relationshipname it should have a capital N for Name
if ( !$returnPage ){
$returnPage = $app->url(‘-action=related_records_list&-relationship=’.$this->_relationshipName);
}
He had an odd setting overridden in Firefox resulting in this referrer path not being sent to the server
eg about:config network.http.sendRefererHeader was set to 0
fixing that back to 2 got him going down the normal path again..
But it uncovered this bug
Cheers
Richard
shannah — Mon Sep 24, 2012 9:38 am
Thanks for reporting this. I have added a bug report at
http://bugs.weblite.ca/view.php?id=1156
I have also fixed this bug in SVN. Details in the bug report.
-Steve