Forum Index > FlashYourWeb OS Support > MediaBlock New Topic Post Reply
 (ERROR_MISSING_OBJECT) : Missing object for 32
 |  Printable Version
Anonymous: zaiyiqi
 October 17 2010 04:04 AM (Read 2061 times)  


Hi,

I amtrying to setup mediablock and make it display latest imgs on the page

http://www.liprice.com/gallery2/gallery.php

but it displayed the error :
Error loading initial item:Error (ERROR_MISSING_OBJECT) : Missing object for 32

* in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 2054 (gallerycoreapi::error)
* in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 98 (gallerystorageextras::_identifyentities)
* in modules/core/classes/GalleryStorage.class at line 314 (gallerystorageextras::loadentities)
* in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 71 (mysqlstorage::loadentities)
* in modules/core/classes/GalleryCoreApi.class at line 2361 (galleryentityhelper_simple::loadentitiesbyid)
* in mediaBlock.php at line 995 (gallerycoreapi::loadentitiesbyid)
* in mediaBlock.php at line 1079

Array

I need some help what I need to change. thanks


 
Quote
Anonymous: zaiyiqi
 October 17 2010 04:07 AM  


I am confusing what I need to change in

$ret = GalleryEmbed::init(array('fullInit'=>true, 'embedUri'=>'/gallery2/main.php', 'g2Uri'=>'/gallery2/'Wink);

In my gallery page is that

$ret = GalleryEmbed::init( array ('g2Uri'=>'/gallery2/main.php', 'embedUri'=>'/gallery2/gallery.php', 'fullInit'=>'false'Wink);

I have try to make it same as gallery page.but still not working.

Regards!


 
Quote
suprsidr
 October 17 2010 05:30 AM  
Forum Admin
Admin

Status: offline

Registered: 12/20/06
Posts: 1221

Error loading initial item:Error (ERROR_MISSING_OBJECT) : Missing object for 32

32 is the id from my Images album, use an id from one of your own albums. If you want to use the root album, that would be 7, or remove the g2_itemId parameter altogether.

So for your latest items:
PHP Formatted Code
<?php @readfile('http://www.liprice.com/gallery2/mediaBlock.php?mode=dynamic&g2_view=dynamicalbum.UpdatesAlbum&useThumb=1&column=4&useMicro=40');?>

But the dynamic albums module is required, so you'll need to install it as I see you do not currently have it installed.

PHP Formatted Code
$ret = GalleryEmbed::init( array ('g2Uri'=>'/gallery2/main.php', 'embedUri'=>'/gallery2/gallery.php', 'fullInit'=>'false'));

is correct for both mediaBlock.php and gallery.php


There will always be...
 
Profile Email Website
Quote
Anonymous: zaiyiqi
 October 17 2010 07:42 AM  


hi,suprsidr:

Thanks very much again, it is working now.

Now I am trying to make those lastest imgs displayed at the right part.

As the similar as the other pages' layout.


So whcih way is the best way?

Should I need to modify the template or just use css to control my gallery page.


 
Quote
suprsidr
 October 17 2010 08:00 AM  
Forum Admin
Admin

Status: offline

Registered: 12/20/06
Posts: 1221

You need to create the right column container like the other pages.
Examine the html/css from the other pages to figure this out.
Teaching html/css is not my bag.

-s


There will always be...
 
Profile Email Website
Quote
Content generated in: 0.39 seconds
New Topic Post Reply



 All times are PST. The time is now 11:27 PM.
Normal Topic Normal Topic
Locked Topic Locked Topic
Sticky Topic Sticky Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
HTML Allowed 
Censored Content