Images not appearing after importing G1->G2

rowmark

Joined: 2008-05-14
Posts: 5
Posted: Mon, 2008-05-19 12:50

Hello Experts,

I have tried to import 2 albums from G1-->G2 from the Site Admin of G2. Though it created folders in my G2 Albums folder and I am able to see all the images. somehow in the G2 Gallery page they are showing the images as broken

This is the URL for my page.

http://dishaa.net/gallery2

if you look at the 2nd and 3rd albums they are broken.

Please help

Thanks

 
nichiyume
nichiyume's picture

Joined: 2004-11-18
Posts: 19
Posted: Fri, 2008-05-23 04:07

If you rebuild your thumbnails in site maintenance, what errors do you get? Have you tested your image processing plugins?

 
rowmark

Joined: 2008-05-14
Posts: 5
Posted: Fri, 2008-05-23 12:53

I am getting 100s of folling errors.

Any idea what I should do?? Please help

Debug output for failed items:
file_exists(/hermes/bosweb/web270/b2700/sl.dishaane/public_html/gallery2/g2data/cache/entity/7/9/799.inc)
file_exists(/hermes/bosweb/web270/b2700/sl.dishaane/public_html/gallery2/g2data/cache/derivative/7/9/799.dat)
file_exists(/hermes/bosweb/web270/b2700/sl.dishaane/public_html/gallery2/g2data/cache/derivative/4/0/404.dat)
getParameter lock.system for core plugin
fopen(/hermes/bosweb/web270/b2700/sl.dishaane/public_html/gallery2/g2data/locks/799,
wb+, 0)
flock(Resource id #113, 6, )
--------------------------------------------------------------------------------
(mysqlt): SELECT g_id, g_entityType FROM g2_Entity WHERE g_id IN (799)

--------------------------------------------------------------------------------

file_exists(/hermes/bosweb/web270/b2700/sl.dishaane/public_html/gallery2/g2data/cache/module/_all/0/0/GalleryStorage_describeEntity.inc)
--------------------------------------------------------------------------------
(mysqlt): SELECT g2_DerivativeImage.g_width, g2_DerivativeImage.g_height,
g2_Derivative.g_derivativeSourceId, g2_Derivative.g_derivativeOperations,
g2_Derivative.g_derivativeOrder, g2_Derivative.g_derivativeSize,
g2_Derivative.g_derivativeType, g2_Derivative.g_mimeType,
g2_Derivative.g_postFilterOperations, g2_Derivative.g_isBroken,
g2_ChildEntity.g_parentId, g2_Entity.g_id, g2_Entity.g_creationTimestamp,
g2_Entity.g_isLinkable, g2_Entity.g_linkId,
g2_Entity.g_modificationTimestamp, g2_Entity.g_serialNumber,
g2_Entity.g_entityType, g2_Entity.g_onLoadHandlers FROM
g2_DerivativeImage, g2_Derivative, g2_ChildEntity, g2_Entity WHERE
g2_DerivativeImage.g_id IN (799) AND
g2_Derivative.g_id=g2_DerivativeImage.g_id AND
g2_ChildEntity.g_id=g2_DerivativeImage.g_id AND
g2_Entity.g_id=g2_DerivativeImage.g_id
--------------------------------------------------------------------------------

file_exists(/hermes/bosweb/web270/b2700/sl.dishaane/public_html/gallery2/g2data/cache/derivative/7/9)
is_dir(/hermes/bosweb/web270/b2700/sl.dishaane/public_html/gallery2/g2data/cache/derivative/7/9)
file_exists(/hermes/bosweb/web270/b2700/sl.dishaane/public_html/gallery2/g2data/cache/entity/4/0/401.inc)
file_exists(/hermes/bosweb/web270/b2700/sl.dishaane/public_html/gallery2/modules/archiveupload/classes/ArchiveExtractToolkit.class)
file_exists(/hermes/bosweb/web270/b2700/sl.dishaane/public_html/gallery2/modules/exif/classes/ExifToolkit.class)
file_exists(/hermes/bosweb/web270/b2700/sl.dishaane/public_html/gallery2/modules/getid3/classes/Getid3Toolkit.class)
file_exists(/hermes/bosweb/web270/b2700/sl.dishaane/public_html/gallery2/g2data/cache/entity/3/9/399.inc)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_TkOperatnMimeTypeMap.g_toolkitId,
g2_TkOperatnMap.g_outputMimeType
FROM
g2_TkOperatnMap,
g2_TkOperatnMimeTypeMap
WHERE
g2_TkOperatnMap.g_name =
g2_TkOperatnMimeTypeMap.g_operationName
AND
g2_TkOperatnMimeTypeMap.g_mimeType = 'image/jpeg'
AND
g2_TkOperatnMap.g_name = 'thumbnail'
ORDER BY
g2_TkOperatnMimeTypeMap.g_priority ASC

--------------------------------------------------------------------------------

realpath(/hermes/bosweb/web270/b2700/sl.dishaane/public_html/gallery2/modules/core/classes/../../../)
realpath(/hermes/bosweb/web270/b2700/sl.dishaane/public_html/gallery2/)

Error (ERROR_UNSUPPORTED_OPERATION) : thumbnail image/jpeg in
modules/core/classes/GalleryDerivative.class at line 427
(gallerycoreapi::error)
in modules/core/classes/GalleryDerivative.class at line 275
(galleryderivativeimage::_rebuildcache)
in modules/core/classes/GalleryDerivativeImage.class at line
153 (galleryderivative::rebuildcache)
in
modules/core/classes/helpers/GalleryDerivativeHelper_advanced.class at
line 839 (galleryderivativeimage::rebuildcache)
in modules/core/classes/GalleryCoreApi.class at line 914
(galleryderivativehelper_advanced::rebuildcache)
in
modules/core/classes/helpers/GalleryDerivativeHelper_simple.class at
line 49 (gallerycoreapi::rebuildderivativecache)
in modules/core/classes/GalleryCoreApi.class at line 901
(galleryderivativehelper_simple::rebuildcacheifnotcurrent)
in modules/core/classes/BuildDerivativesTask.class at line
99 (gallerycoreapi::rebuildderivativecacheifnotcurrent)
in modules/core/AdminMaintenance.inc at line 90
(buildderivativestask::run)
in ??? at line 0 (adminmaintenancecontroller::runtask)
in modules/core/classes/GalleryTemplateAdapter.class at line
915
in
g2data/smarty/templates_c/%%2561297602/%%C7^C79^C790B080%%theme.tpl.php
at line 69 (gallerytemplateadapter::trailer)
in lib/smarty/Smarty.class.php at line 1258
in modules/core/classes/GallerySmarty.class at line 61
(smarty::fetch)
in modules/core/classes/GalleryTemplate.class at line 209
(gallerysmarty::fetch)
in main.php at line 480 (gallerytemplate::display)
in main.php at line 94
in main.php at line 83

copy(/hermes/bosweb/web270/b2700/sl.dishaane/public_html/gallery2/modules/core/classes/../data/broken-image.gif,
/hermes/bosweb/web270/b2700/sl.dishaane/public_html/gallery2/g2data/cache/derivative/7/9/799.dat)
getParameter permissions.file for core plugin
getParameter permissions.directory for core plugin
file_exists(/hermes/bosweb/web270/b2700/sl.dishaane/public_html/gallery2/g2data/cache/module/_all/0/0/GalleryMimeTypeHelper_mimeData.inc)
file_exists(/hermes/bosweb/web270/b2700/sl.dishaane/public_html/gallery2/g2data/cache/derivative/7/9/799.dat)
filesize(/hermes/bosweb/web270/b2700/sl.dishaane/public_html/gallery2/g2data/cache/derivative/7/9/799.dat)
--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (799)

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_TkPropertyMimeTypeMap.g_toolkitId
FROM
g2_TkPropertyMap,
g2_TkPropertyMimeTypeMap
WHERE
g2_TkPropertyMap.g_name = g2_TkPropertyMimeTypeMap.g_propertyName
AND
g2_TkPropertyMimeTypeMap.g_mimeType = 'image/gif'
AND
g2_TkPropertyMap.g_name = 'dimensions'

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysqlt):
SELECT
g2_Derivative.g_id
FROM
g2_Derivative
WHERE
g2_Derivative.g_derivativeSourceId IN (799)

 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Mon, 2008-06-02 05:17

At the moment it looks like you have uninstalled your gallery2. Your first step to fixing it would be to reinstall it. The second step would be to check out the migration guide here: http://codex.gallery2.org/index.php/Gallery2:migration

After migrating, you'll want to follow the template for creating a new post in this forum -- the one that asks you a bunch of questions about your installation.

Good luck, and please let us know if you get it working. Thanks!