Strange error

Hanko

Joined: 2003-03-04
Posts: 11
Posted: Wed, 2003-03-26 09:09

Hi guys,
i've been playing around now for quite some while, but this is the only error i can't solve or get rid of.

Does anyone know how to solve this one ?

Warning: assert() [function.assert]: Assertion "!empty($id)" failed in /home/blaa/public_html/g2/modules/core/classes/Gallery.class on line 388

Greetings
Hanko

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2003-03-27 03:00

Hmm. That's an odd one. I'm changing a bunch of code that deals with this, though so wait a day or two for my next big checkin and see if that fixes the issue.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2003-05-20 08:03

A very kind G2 user who had this problem gave me access to his box and I discovered that he was experiencing a bug in PHP 4.0.6 that caused this behaviour. If he hadn't let me experiment with it directly it would have taken me forever to sort this out.

I believe that this is caused by Bug 12560 which was fixed in PHP 4.1.0. The summary says "Solaris" but it happens on Linux also.

I don't believe there's much that I can do about it; this may mean that we cannot support PHP 4.0.6 :-( :-(