What the?? All of a SUDDEN..... big error...

aussiejeepimages
aussiejeepimages's picture

Joined: 2005-04-21
Posts: 15
Posted: Fri, 2005-05-13 01:15

Hi everyone :)

My G2 installation has been up for weeks now - without a single problem. Now this comes up - all of a sudden. I have 135 users and over 8,000 images online and it has been running faultlessly until this morning (Oz time). I've taken the liberty od getting hold of a buffered output - and the error dump can be found at:

http://www.aussiejeepimages.com/13_05_05.html

Thanks in advance for any help I can get!!! :)

Cheers
Chris

++++++++++++++++++++++++++++++++++++++++++++++
Error (ERROR_MISSING_OBJECT) :

* in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 376 (gallerystatus::error)
* in modules/core/classes/GalleryStorage.class at line 113 (mysqldatabasestorage::loadentities)
* in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 82 (gallerystorage::loadentities)
* in modules/core/classes/GalleryCoreApi.class at line 2092 (galleryentityhelper_simple::loadentitiesbyid)
* in modules/core/classes/GalleryLayout.class at line 490 (gallerycoreapi::loadentitiesbyid)
* in layouts/matrix/layout.inc at line 262 (matrixlayout::loadlayouttemplate)
* in layouts/matrix/layout.inc at line 155 (matrixlayout::_loadalbumtemplate)
* in modules/core/ShowItem.inc at line 152 (matrixlayout::loadtemplate)
* in modules/core/classes/GalleryView.class at line 214 (showitemview::loadtemplate)
* in main.php at line 293 (showitemview::doloadtemplate)
* in main.php at line 79
* in main.php at line 70
----

Gallery URL (optional): http://www.aussiejeepimages.com
Gallery version: G2 beta2
Webserver (with version): Apache/1.3.31 (Unix) DAV/1.0.3 mod_gzip/1.3.26.1a PHP/4.3.10 mod_ssl/2.8.19 OpenSSL/0.9.6c
Datatabase (with version): mysql 4.1.8
PHP version (eg 4.2.1): 4.3.10
phpinfo URL (optional): http://www.aussiejeepimages.com/phpinfo.php
Graphics Toolkit(s):
Operating system: Linux 2.4.29
Web browser/version: Firefox 1.0.3 WinXP
G1 version (for migration bugs):
:oops:

 
aussiejeepimages
aussiejeepimages's picture

Joined: 2005-04-21
Posts: 15
Posted: Fri, 2005-05-13 07:35

Bump....

Sorry - but I'm getting nervous that no-one has come back on this. Unfortunately I've done a really bad thing... and forgot to stress to my users that my G2 database is only beta and therefore experimental. They loved it so much they all went for it over the past few weeks I've been away.

They now depend on G2...

I really need some help here...thanks again !!! :)

Cheers
Chris

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-05-13 11:09

aussiejeepimages, that doesn't sound too good.
What you can try first...
browse to http://www.aussiejeepimages.com/gallery2/lib/tools/test/ and click on "FlushCache" and "FlushTemplates".
Most probably, this will not fix it.

For us, it would be very interesting how this error was issued.
But I guess there are too many variables in the play with your users etc.

How to fix it then?
It reports that a object is missing. With your error feedback, one could search your db manually (phpmyadmin or the like) and find out which object is missing and try to manually fix it. I believe it's not that hard. But it takes some time.

 
aussiejeepimages
aussiejeepimages's picture

Joined: 2005-04-21
Posts: 15
Posted: Fri, 2005-05-13 11:20

valiant - thanks for that :)

This is what happened after I tried to flush the cache - and I did not go any further yet:

Quote:
Test: core :: FlushCache [1 iteration(s)]
Timing: 68.7252 elapsed, 0.0146 per second
Error: Error (ERROR_BAD_PATH)

* in modules/core/test/TestCase/FlushCache.class at line 42 (gallerystatus::error)
* in lib/tools/test/TestCase.class at line 13 (flushcachetestcase::teststart)
* in lib/tools/test/index.php at line 226 (flushcachetestcase::start)
* in lib/tools/test/index.php at line 154
* in lib/tools/test/index.php at line 49
* in lib/tools/test/index.php at line 11

Output:

Warning: rmdir(/home/.unconscious/cmalikoff/g2data/cache//entity/1/5): Directory not empty in /home/.unconscious/cmalikoff/aussiejeepimages.com/gallery2/modules/core/classes/GalleryPlatform.class on line 525

Error (ERROR_BAD_PATH)

* in modules/core/test/TestCase/FlushCache.class at line 42 (gallerystatus::error)
* in lib/tools/test/TestCase.class at line 13 (flushcachetestcase::teststart)
* in lib/tools/test/index.php at line 226 (flushcachetestcase::start)
* in lib/tools/test/index.php at line 154
* in lib/tools/test/index.php at line 49
* in lib/tools/test/index.php at line 11

Then I tried to flush the templates:

Quote:
Test: core :: FlushTemplates [1 iteration(s)]
Timing: 2.1639 elapsed, 0.4621 per second
Status: Success

What advice would you be able to give me?

I'm very grateful for your help!!!

CHeers
Chris

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2005-05-19 03:15

Sorry we're not helping you faster. But that's why we tell you not to store production data in G2. We don't have the support staff to give you timely support (yet).

For starters, back up your database and upgrade to G2B3 and see if you can reproduce the problem. If you can, let us know and we'll help you fix the problem.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2005-05-19 03:28

you might also check owners/permissions of stuff in your g2data dir and make sure everything is still readable/writable by your webserver/php user..