Hate to be a bother but I only found one mention in the 20 some forum pages I went through of the php5 error:
Catchable fatal error: Object of class queryFactoryResult could not be converted to string in..htmlouput
The post said to change the htmloutput file this way.
// bof php5 fix - aclarke - 301206
if (empty($default) && isset($GLOBALS['$name'])) $default = stripslashes($GLOBALS['$name']);
// eof php5 fix - aclarke - 301206
I really don't want to change that file as it's liable to overwritten with a subsequent zencart upgrade. Has anyone else come up with a permanent solution to this problem?
Not only that but the line to be changed is not 333 in the most recent version of zencart.
I'm guessing but maybe a lot of people were/are still using php4+ and the issue never presented itself. Or, people just used the fix and never said anything.
and Yes, in version 1.3.7.1 in admin/includes/functions/html_output.php line 333 reads ```
if (empty($default) && isset($GLOBALS[$name])) $default = stripslashes($GLOBALS[$name]);
You can always do what I do and make a backup of the original file and a backup of the changed file. The admin section of ZC is due for a complete overhaul anyway and I'm sure the devs will make sure this fix is included.
> By the way I've added the image url to the cart submit page - I'll post the changed code if asked to. Kind of curious why that wasn't on there in the first place.
To be honest, I don't like taking bandwidth away from people and I just never bothered putting it in.
> Oh, and thanks for the contribution - it's people like you that makes my job easier!
Glad to be of help