kiranpatil353 / google-checkout-php-sample-code

Automatically exported from code.google.com/p/google-checkout-php-sample-code
0 stars 0 forks source link

Can't use function return value in write context in xmlparser.php #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Go to responsehandlerdemo.php

What is the expected output? What do you see instead?

Fatal error: Can't use function return value in write context in
/home/housingp/public_html/secure/gco/library/xml-processing/xmlparser.php
on line 102

What version of the product are you using? On what operating system?
google-checkout-php-sample-code-v1.1.2.zip

Original issue reported on code.google.com by cco...@gmail.com on 27 Apr 2007 at 5:29

GoogleCodeExporter commented 8 years ago
I have the same problem

Original comment by hoang.k....@gmail.com on 27 Apr 2007 at 9:35

GoogleCodeExporter commented 8 years ago
To fix:

change (line 102) from

if (isset(trim($vals[$this->global_index]['value']))) {

to

if (isset($vals[$this->global_index]['value'])) {

Hope this helps

Original comment by g.cheers...@gtempaccount.com on 2 May 2007 at 5:33

GoogleCodeExporter commented 8 years ago
xmlparser changed in v1.2
http://google-checkout-php-sample-code.googlecode.com/svn/branches/1.2beta/CHANG
ELOG

ropu

Original comment by rovagn...@gmail.com on 13 Jun 2007 at 4:23