Catchable Fatal Error

Discuss possible bugs amd cures here.

Catchable Fatal Error

Postby shiner_man » November 16 2006 - 18:09

Fresh 2.7 install and I get this error when I try to view any artist:

Catchable fatal error: Object of class jzMediaNode could not be converted to string in /home/httpd/html/music/frontend/display.php on line 158


Any idea what this is?
shiner_man
 
Posts: 13
Joined: April 08 2005 - 04:33

Postby godsyn » November 17 2006 - 10:41

I had that error.
Work around involves disabling caching.
edit settings.php
$enable_page_caching = "false";
save & reload page.
godsyn
 
Posts: 6
Joined: October 30 2006 - 16:52

Postby shiner_man » November 17 2006 - 12:54

Thanks. That did the trick.
shiner_man
 
Posts: 13
Joined: April 08 2005 - 04:33

Postby Yamaha » March 02 2007 - 15:22

But ajax won't show the images if caching is disabled. The images wont show.
Yamaha
 
Posts: 18
Joined: March 28 2005 - 14:56

worked for me!

Postby jlrobins » March 08 2007 - 04:54

this solution worked for me, and art still displays correctly. thanks godsyn!
jlrobins
 
Posts: 2
Joined: March 08 2007 - 04:44

Postby jake » March 08 2007 - 08:27

unfortunately this is not fixed in 2.7.5 ....
jake
 
Posts: 24
Joined: July 25 2006 - 23:57

Postby foxjones » April 10 2007 - 08:49

Aloha!

do you use PHP5?
I switched to php5 today (well, in fact accidently) and saw the same error until i disabled page caching.

greets from there
foxjones
 
Posts: 44
Joined: November 20 2004 - 13:28
Location: Switzerland

Postby Quasimodo » April 10 2007 - 23:17

I'm using PHP 5.1.6 without any problems. But I had the same problem here after upgrading to 5.2.1. So maybe it's a problem with the new version of php.
But, on the other hand, if you are using some PHP-Accelerator like eaccelerator you may have to flush the caches or recompile eaccelerator. I will test this, if I find the time.

EDIT:
OK, I've tested it. PHP 5.1.6 is working as charm but 5.2.1 is not. Maybe it's caused by a bugfix in PHP 5.2.1 (http://www.php.net/releases/5_2_1.php).
Last edited by Quasimodo on April 11 2007 - 07:14, edited 1 time in total.
Quasimodo
 
Posts: 358
Joined: January 18 2007 - 03:50
Location: Germany

Postby Quasimodo » April 11 2007 - 06:34

OK, I have a fix, but I'm not sure if it doesn't break anything. Please test.

In frontend/display.php line 158 change

Code: Select all
$signature .= $moreargs[$i];


to

Code: Select all
if(!is_object($moreargs[$i])) {
  $signature .= $moreargs[$i];
}


This will eleminate all objects from moreargs which can't be converted to strings.

Works for me so far. Hope I could help.

Quasi
Quasimodo
 
Posts: 358
Joined: January 18 2007 - 03:50
Location: Germany

Postby foxjones » April 11 2007 - 06:52

Cool, that works!

Using
Jinzora 2.7.5 - 03.05.2007 (stable)
Apache 2 & PHP 5

Page Caching + gzip Page Cache enabled.

thanks!
foxjones
 
Posts: 44
Joined: November 20 2004 - 13:28
Location: Switzerland

Re: Catchable Fatal Error

Postby seraulu1 » March 20 2010 - 04:20

:) :) :) ,

Thanks for the information you give that's a good help for me!!!and by the way i am newbie to these forum and i read all the comment and suggestion that's good and helpful and i apologize for my bad English too! :oops: :oops:




Thanks for that again how to hypnotize
seraulu1
 
Posts: 1
Joined: March 20 2010 - 01:31


Return to Bug Discussion

Who is online

Users browsing this forum: No registered users and 1 guest