Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

ERROR_STORAGE_FAILURE when integrating

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
oarie

Beginner
Beginner


Joined: Jun 10, 2005
Posts: 1

PostPosted: Sat Jun 11, 2005 3:31 pm    Post subject: ERROR_STORAGE_FAILURE when integrating Reply with quote

Hello,

I've recently begun trying to install gallery2 and integrate it with PHPNuke 7.6. The installation of gallery2 is a breeze. I've probably installed the stand-alone gallery2 now a couple of dozen times, no exaggeration.

The intergration however is a compeltely different story. I've tried to integrate gallery2 the same number of times as I have installed gallery2 stand-alone, each time with no success. Each time I do get a bit closer and I think I'm almost there but after 12+ hours of beating myself over the head with this one, it's time to ask for some help.

The error I keep getting is the following:

Quote: › Failed to create a extmap entry for role uid [111] and entityId [2517], entityType [GalleryUser]. Here is the error message from G2:
Error (ERROR_STORAGE_FAILURE)
in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 1236 (gallerystatus::error)
in modules/core/classes/GalleryStorage.class at line 261 (mysqldatabasestorage::addmapentry)
in modules/core/classes/interfaces/ExternalIdMap.inc at line 96 (gallerystorage::addmapentry)
in admin/index.php at line 261 (externalidmap::addmapentry)
in admin/index.php at line 625
in admin/index.php at line 1019
in admin/index.php at line 1089
in /var/www/html/modules/gallery/admin/case.php at line 69
in /var/www/html/admin.php at line 515


I get this when trying to export my PHPNuke users to gallery2. The rest of the integration configuration goes flawlessly but each time I try to import my users database I receive this error. I had been making progress with each installation attempt but in my last 5 installs, I've been stuck with this one error.

The weird thing to me was that I could not find any information on this error here, on google, gallery's home page and sourceforges gallery site. I'm stumped. If anyone can help I'd appreciate it.

Thank you.
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: ERROR_STORAGE_FAILURE when integrating  

Back to top
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Mon Jun 13, 2005 6:28 am    Post subject: Re: ERROR_STORAGE_FAILURE when integrating Reply with quote

my guess is that it's a database error. if your host has limits set on the number of connections per unit time that you're allowed, you may be exceeding this limit when importing users.

it could also mean that there are duplicate user_ids in the database. i've not run across this error in my integration (and I thought I had hit them all Wink ). you may want to turn on debugging in G2 to see if it prints out any more details.

this is the offending chunk of code, i think:
PHP: › <?php $markers GalleryUtilities::makeMarkers(sizeof($columns));
    
$query 'INSERT INTO ' $tableName ' (';
    
$query .= join(', '$columns);
    
$query .= ') VALUES (' $markers ')';

    
$this->_traceStart();
    
$recordSet $this->_db->Execute($query$data);
    
$this->_traceStop();
    if (
$recordSet === false) {
        return 
GalleryStatus::error(ERROR_STORAGE_FAILURE__FILE____LINE__);
    } 
?>
Back to top
Offline View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 2 Integration View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationDedicated Web HostingWeb Design New YorkCompare VoIPseo packagesSEO CompanyNew York Yellow PagesFind LocationsVOIP Phone ServiceNeckermannBluetooth HeadsetOnline internetSEOchina factoryDressesRestaurant Locatorandroid tablet

8th year online! 2003-2011
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia