I added this line before the variable assignments:
global $xmlrpcI4, $xmlrpcInt, $xmlrpcBoolean, $xmlrpcDouble, $xmlrpcString, $xmlrpcDateTime, $xmlrpcBase64, $xmlrpcArray, $xmlrpcStruct;
The variables should be global in scope by default though…not a clue why this worked. Basically, after a bunch of echo statements, I figured out that $xmlrpcString was losing its defintion. So in the addScalar function, it went, oops, not found in $xmlrpcTypes, so it’s not a scalar type!
And the headers error was basically, stuff was already outputted before, so that must have obviously have been headers…
I still don’t know why what I did made it work though.
An avid fan of business, education, technology and finance. I lead a lean, highly focussed and capable team of Java Back End developers and Front End developers through a maze of complex software wizardry to fulfill the web maintenance needs of a large chemical manufacturer. As per Myers-Briggs Personality Types, I am an ESTJ. I pride in a project completed on time and according to plan. My hobbies include all kinds of technology, anything that I can taste and anything that goes fast or flies in the air. I like to read business books and comics in my spare time.
Nope, that didn’t seem to work either…
I still am recieving the error as well. Hmm.
I managed to make mine work, although I haven’t a clue why it makes it work. Basically, in this section:
if (CANUSEXMLRPC == 1) {
$xmlrpcI4="i4";
$xmlrpcInt="int";
$xmlrpcBoolean="boolean";
$xmlrpcDouble="double";
$xmlrpcString="string";
$xmlrpcDateTime="dateTime.iso8601";
$xmlrpcBase64="base64";
$xmlrpcArray="array";
$xmlrpcStruct="struct";
I added this line before the variable assignments:
global $xmlrpcI4, $xmlrpcInt, $xmlrpcBoolean, $xmlrpcDouble, $xmlrpcString, $xmlrpcDateTime, $xmlrpcBase64, $xmlrpcArray, $xmlrpcStruct;
The variables should be global in scope by default though…not a clue why this worked. Basically, after a bunch of echo statements, I figured out that
$xmlrpcString
was losing its defintion. So in theaddScalar
function, it went, oops, not found in$xmlrpcTypes
, so it’s not a scalar type!And the headers error was basically, stuff was already outputted before, so that must have obviously have been headers…
I still don’t know why what I did made it work though.
Even with the new modification??
That is exactly the bug. Glad it worked for you.
THANK YOU THANK YOU THANK YOU!!! =)
I was getting so annoyed! Now if only I can get that usertag hack to work, I think I might be happy!
Thanks again!
That worked for me, too. Thanks Mark!
A zipped version of the file would be nice. I can’t seem to download a properly formatted .phps using wget, curl, links or lynx.
Zipped version available.