Core modules install error; change character sets?

stony480

Joined: 2003-08-13
Posts: 10
Posted: Sun, 2005-01-30 22:14

Hello all,

I have been getting a bizarre error while trying to install G2 that happens while installing core modules. It's too gigantic to post outright so I've attached it. I have tried waiting a few weeks to see if it was a bug that needed to be ironed out, but it happens regardless of how recent the code is. I'm 98% sure that it has something to do with my database's character set, but I am not sure how to change that in phpMyAdmin.

Am I right about this, and if so can somebody tell me how to change it? If I'm not correct, what's happening?

----

Gallery URL (optional):
Gallery version: G2 Alpha 4 (obtained 1-23-05)
Webserver (with version): Apache 1.3.33 (Unix)
Datatabase (with version): mySQL 4.0.22-standard
PHP version (eg 4.2.1): 5.8.1
phpinfo URL (optional):
Graphics Toolkit(s): ?
Operating system: Linux
Web browser/version: Avant Browser 10.0.035

AttachmentSize
g2_error.txt26.6 KB
 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2005-01-30 23:32

did the installer tell you if any files were missing in step 2?

 
stony480

Joined: 2003-08-13
Posts: 10
Posted: Mon, 2005-01-31 01:05

Yes, now that you mention it.

I got the File Integrity warning with these files:

Quote:
...age/DatabaseStorage/schema/platform/mysql/GalleryComment.sql
...ge/DatabaseStorage/schema/platform/oracle/GalleryComment.sql
...Storage/DatabaseStorage/schema/platform/postgres/GNUmakefile
.../DatabaseStorage/schema/platform/postgres/GalleryComment.sql
.../DatabaseStorage/schema/platform/mysql/A_GalleryItem_1.0.sql
...rage/DatabaseStorage/schema/platform/mysql/ExternalIdMap.sql
...e/DatabaseStorage/schema/platform/mysql/GalleryAlbumItem.sql
...tabaseStorage/schema/platform/mysql/GalleryAnimationItem.sql
...DatabaseStorage/schema/platform/mysql/GalleryChildEntity.sql
...ge/DatabaseStorage/schema/platform/mysql/GalleryDataItem.sql
.../DatabaseStorage/schema/platform/mysql/GalleryDerivative.sql
...baseStorage/schema/platform/mysql/GalleryDerivativeImage.sql
...ge/schema/platform/mysql/GalleryDerivativePreferencesMap.sql
...Storage/schema/platform/mysql/GalleryDescendentCountsMap.sql
...rage/DatabaseStorage/schema/platform/mysql/GalleryEntity.sql
...aseStorage/schema/platform/mysql/GalleryFileSystemEntity.sql
...seStorage/schema/platform/mysql/GalleryItemAttributesMap.sql
...seStorage/schema/platform/mysql/GalleryItemPropertiesMap.sql
...e/DatabaseStorage/schema/platform/mysql/GalleryMovieItem.sql
...tabaseStorage/schema/platform/mysql/GalleryPermissionMap.sql
...aseStorage/schema/platform/mysql/GalleryPermissionSetMap.sql
...e/DatabaseStorage/schema/platform/mysql/GalleryPhotoItem.sql
...e/DatabaseStorage/schema/platform/mysql/GalleryPluginMap.sql
...eStorage/schema/platform/mysql/GalleryPluginParameterMap.sql
...Storage/schema/platform/mysql/GalleryToolkitOperationMap.sql
...schema/platform/mysql/GalleryToolkitOperationMimeTypeMap.sql
...chema/platform/mysql/GalleryToolkitOperationParameterMap.sql
...eStorage/schema/platform/mysql/GalleryToolkitPropertyMap.sql
.../schema/platform/mysql/GalleryToolkitPropertyMimeTypeMap.sql
...DatabaseStorage/schema/platform/mysql/GalleryUnknownItem.sql
...atabaseStorage/schema/platform/mysql/GalleryUserGroupMap.sql
...DatabaseStorage/schema/platform/oracle/A_GalleryItem_1.0.sql
...age/DatabaseStorage/schema/platform/oracle/ExternalIdMap.sql
.../DatabaseStorage/schema/platform/oracle/GalleryAlbumItem.sql
...abaseStorage/schema/platform/oracle/GalleryAnimationItem.sql
...atabaseStorage/schema/platform/oracle/GalleryChildEntity.sql
...e/DatabaseStorage/schema/platform/oracle/GalleryDataItem.sql
...DatabaseStorage/schema/platform/oracle/GalleryDerivative.sql
...aseStorage/schema/platform/oracle/GalleryDerivativeImage.sql
...e/schema/platform/oracle/GalleryDerivativePreferencesMap.sql
...torage/schema/platform/oracle/GalleryDescendentCountsMap.sql
...age/DatabaseStorage/schema/platform/oracle/GalleryEntity.sql
...seStorage/schema/platform/oracle/GalleryFileSystemEntity.sql
...rage/DatabaseStorage/schema/platform/oracle/GalleryGroup.sql
...eStorage/schema/platform/oracle/GalleryItemAttributesMap.sql
...eStorage/schema/platform/oracle/GalleryItemPropertiesMap.sql
.../DatabaseStorage/schema/platform/oracle/GalleryMovieItem.sql
...abaseStorage/schema/platform/oracle/GalleryPermissionMap.sql
...seStorage/schema/platform/oracle/GalleryPermissionSetMap.sql
.../DatabaseStorage/schema/platform/oracle/GalleryPhotoItem.sql
.../DatabaseStorage/schema/platform/oracle/GalleryPluginMap.sql
...Storage/schema/platform/oracle/GalleryPluginParameterMap.sql
...torage/schema/platform/oracle/GalleryToolkitOperationMap.sql
...chema/platform/oracle/GalleryToolkitOperationMimeTypeMap.sql
...hema/platform/oracle/GalleryToolkitOperationParameterMap.sql
...Storage/schema/platform/oracle/GalleryToolkitPropertyMap.sql
...schema/platform/oracle/GalleryToolkitPropertyMimeTypeMap.sql
...atabaseStorage/schema/platform/oracle/GalleryUnknownItem.sql
...tabaseStorage/schema/platform/oracle/GalleryUserGroupMap.sql
...tabaseStorage/schema/platform/postgres/A_GalleryItem_1.0.sql
...e/DatabaseStorage/schema/platform/postgres/ExternalIdMap.sql
...atabaseStorage/schema/platform/postgres/GalleryAlbumItem.sql
...aseStorage/schema/platform/postgres/GalleryAnimationItem.sql
...abaseStorage/schema/platform/postgres/GalleryChildEntity.sql
...DatabaseStorage/schema/platform/postgres/GalleryDataItem.sql
...tabaseStorage/schema/platform/postgres/GalleryDerivative.sql
...eStorage/schema/platform/postgres/GalleryDerivativeImage.sql
...schema/platform/postgres/GalleryDerivativePreferencesMap.sql
...rage/schema/platform/postgres/GalleryDescendentCountsMap.sql
...e/DatabaseStorage/schema/platform/postgres/GalleryEntity.sql
...Storage/schema/platform/postgres/GalleryFileSystemEntity.sql
...ge/DatabaseStorage/schema/platform/postgres/GalleryGroup.sql
...age/DatabaseStorage/schema/platform/postgres/GalleryItem.sql
...torage/schema/platform/postgres/GalleryItemAttributesMap.sql
...torage/schema/platform/postgres/GalleryItemPropertiesMap.sql
...atabaseStorage/schema/platform/postgres/GalleryMovieItem.sql
...aseStorage/schema/platform/postgres/GalleryPermissionMap.sql
...Storage/schema/platform/postgres/GalleryPermissionSetMap.sql
...atabaseStorage/schema/platform/postgres/GalleryPhotoItem.sql
...atabaseStorage/schema/platform/postgres/GalleryPluginMap.sql
...orage/schema/platform/postgres/GalleryPluginParameterMap.sql
...rage/schema/platform/postgres/GalleryToolkitOperationMap.sql
...ema/platform/postgres/GalleryToolkitOperationMimeTypeMap.sql
...ma/platform/postgres/GalleryToolkitOperationParameterMap.sql
...orage/schema/platform/postgres/GalleryToolkitPropertyMap.sql
...hema/platform/postgres/GalleryToolkitPropertyMimeTypeMap.sql
...abaseStorage/schema/platform/postgres/GalleryUnknownItem.sql
...age/DatabaseStorage/schema/platform/postgres/GalleryUser.sql
...baseStorage/schema/platform/postgres/GalleryUserGroupMap.sql
...rage/DatabaseStorage/schema/platform/postgres/PostgreSQL.xsl
...age/DatabaseStorage/schema/platform/mysql/CustomFieldMap.sql
...eryStorage/DatabaseStorage/schema/platform/mysql/GNUmakefile
...ge/DatabaseStorage/schema/platform/oracle/CustomFieldMap.sql
...ryStorage/DatabaseStorage/schema/platform/oracle/GNUmakefile
.../DatabaseStorage/schema/platform/postgres/CustomFieldMap.sql
...Storage/DatabaseStorage/schema/platform/postgres/GNUmakefile
.../DatabaseStorage/schema/platform/mysql/ExifPropertiesMap.sql
...DatabaseStorage/schema/platform/oracle/ExifPropertiesMap.sql
...tabaseStorage/schema/platform/postgres/ExifPropertiesMap.sql
...eryStorage/DatabaseStorage/schema/platform/mysql/GNUmakefile
...DatabaseStorage/schema/platform/mysql/ImageBlockCacheMap.sql
...abaseStorage/schema/platform/mysql/ImageBlockDisabledMap.sql
...ryStorage/DatabaseStorage/schema/platform/oracle/GNUmakefile
...atabaseStorage/schema/platform/oracle/ImageBlockCacheMap.sql
...baseStorage/schema/platform/oracle/ImageBlockDisabledMap.sql
...Storage/DatabaseStorage/schema/platform/postgres/GNUmakefile
...abaseStorage/schema/platform/postgres/ImageBlockCacheMap.sql
...seStorage/schema/platform/postgres/ImageBlockDisabledMap.sql
...orage/DatabaseStorage/schema/platform/mysql/G1MigrateMap.sql
...rage/DatabaseStorage/schema/platform/oracle/G1MigrateMap.sql
...ge/DatabaseStorage/schema/platform/postgres/G1MigrateMap.sql
...Storage/DatabaseStorage/schema/platform/postgres/GNUmakefile
...It_Victoria_Is_the_Only_One_Ready_for_the_Shot_this_time.jpg
...toria_Is_the_Only_One_Ready_for_the_Shot_this_time.thumb.jpg
...DatabaseStorage/schema/platform/mysql/GalleryPendingUser.sql
...atabaseStorage/schema/platform/oracle/GalleryPendingUser.sql
...Storage/DatabaseStorage/schema/platform/postgres/GNUmakefile
...abaseStorage/schema/platform/postgres/GalleryPendingUser.sql
...tabaseStorage/schema/platform/mysql/A_ThumbnailImage_1.0.sql
...age/DatabaseStorage/schema/platform/mysql/ThumbnailImage.sql
...abaseStorage/schema/platform/oracle/A_ThumbnailImage_1.0.sql
...ryStorage/DatabaseStorage/schema/platform/oracle/GNUmakefile
...ge/DatabaseStorage/schema/platform/oracle/ThumbnailImage.sql
...aseStorage/schema/platform/postgres/A_ThumbnailImage_1.0.sql
...Storage/DatabaseStorage/schema/platform/postgres/GNUmakefile
.../DatabaseStorage/schema/platform/postgres/ThumbnailImage.sql
...rage/DatabaseStorage/schema/xml-src/A_ThumbnailImage_1.0.xml
...tabaseStorage/schema/platform/mysql/A_WatermarkImage_1.0.sql
...age/DatabaseStorage/schema/platform/mysql/WatermarkImage.sql
...abaseStorage/schema/platform/oracle/A_WatermarkImage_1.0.sql
...ryStorage/DatabaseStorage/schema/platform/oracle/GNUmakefile
...ge/DatabaseStorage/schema/platform/oracle/WatermarkImage.sql
...aseStorage/schema/platform/postgres/A_WatermarkImage_1.0.sql
...Storage/DatabaseStorage/schema/platform/postgres/GNUmakefile
.../DatabaseStorage/schema/platform/postgres/WatermarkImage.sql
...rage/DatabaseStorage/schema/xml-src/A_WatermarkImage_1.0.xml

I checked my download and none of these were there. Is the source being modified or do you think that my download was botched?

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2005-01-31 01:57

download was botched.

 
stony480

Joined: 2003-08-13
Posts: 10
Posted: Mon, 2005-01-31 23:54

Alrighty, I made it through the install and the required upgrade, but now I get the following message when going to Gallery:

Error (ERROR_BAD_PARAMETER)
in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 51 (gallerystatus::error) 
in modules/core/classes/GalleryCoreApi.class at line 2063 (galleryentityhelper_simple::loadentitiesbyid) 
in modules/core/classes/GalleryView.class at line 325 (gallerycoreapi::loadentitiesbyid) 
in modules/core/ShowItem.inc at line 44 (showitemview::_getitem) 
in modules/core/classes/GalleryView.class at line 208 (showitemview::getthemename) 
in main.php at line 312 (showitemview::doloadtemplate) 
in main.php at line 47
in main.php at line 40

This looks like I might be missing more files. Suggestions?

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2005-02-01 05:30

Did you do a complete reinstall and blow away your g2data directory? Right now, the installer is not as smart as it should be about realizing that you have data left over from prior installs and it gets confused and doesn't install everything that it should. If you did reinstall from scratch then this is a bug. In that case, edit your config.php and turn on buffered debug mode like this:

$gallery->setDebug('buffered');

Then try again. This time, you'll get quite a lot of debug output
when you get the error. Look towards the bottom of the debug output
and scan backwards for anything that looks like an error, then report
that here. Usually that will give us enough information to work with.
If you can't understand what you're seeing, err on the side of posting
more info. If it's going to be more than 30-40 lines of output, you
should save it into a text file and publish it on your own website and
post a link to it here (so that the forum remains readable).