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  

check_g2configerror & _G2_EMBED_PHP_FILE
Goto page Previous  1, 2
 
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
Irulusug

Beginner
Beginner


Joined: Aug 25, 2004
Posts: 15

PostPosted: Wed Aug 03, 2005 2:22 pm    Post subject: Re: check_g2configerror & _G2_EMBED_PHP_FILE Reply with quote

Itīs "2" of course. Gallery.cfg is writeable, but the directory seems to be write protected.

Ok, I going to write the cfg manually and I will see what happens Shocked
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Re: check_g2configerror & _G2_EMBED_PHP_FILE  

Back to top
Irulusug

Beginner
Beginner


Joined: Aug 25, 2004
Posts: 15

PostPosted: Wed Aug 03, 2005 2:29 pm    Post subject: Re: check_g2configerror & _G2_EMBED_PHP_FILE Reply with quote

Ok, I wrote the cfg manually and started to import the users:

Code: ›
Failed to create a extmap entry for role uid [1213] and entityId [1584], entityType [GalleryUser]. Here is the error message from G2:
Error (ERROR_STORAGE_FAILURE)

    * in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 1238 (gallerystatus::error)
    * in modules/core/classes/GalleryStorage.class at line 294 (mysqldatabasestorage::addmapentry)
    * in modules/core/classes/interfaces/ExternalIdMap.inc at line 96 (gallerystorage::addmapentry)
    * in admin/index.php at line 161 (externalidmap::addmapentry)
    * in admin/index.php at line 327
    * in admin/index.php at line 579
    * in admin/index.php at line 613
    * in /home/apache/htdocs/devcenter/weicheiv2/admin/case/case.gallery2.php at line 55
    * in /home/apache/htdocs/devcenter/weicheiv2/admin.php at line 498


Actually my user table counts around 17.000 Users. Maybe thatīs a bit too much?
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Thu Aug 04, 2005 6:18 am    Post subject: Re: check_g2configerror & _G2_EMBED_PHP_FILE Reply with quote

Irulusug wrote: › Itīs "2" of course. Gallery.cfg is writeable, but the directory seems to be write protected.

Ok, I going to write the cfg manually and I will see what happens Shocked


is the directory itself chmoded to allow the webserver write access (not just the files inside the directory, but the directory itself)?
Back to top
Offline View user's profile Send private message Visit poster's website
dari

Site Admin
Site Admin


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

PostPosted: Thu Aug 04, 2005 6:22 am    Post subject: Re: check_g2configerror & _G2_EMBED_PHP_FILE Reply with quote

Irulusug wrote: › Ok, I wrote the cfg manually and started to import the users:

Code: ›
Failed to create a extmap entry for role uid [1213] and entityId [1584], entityType [GalleryUser]. Here is the error message from G2:
Error (ERROR_STORAGE_FAILURE)

    * in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 1238 (gallerystatus::error)
    * in modules/core/classes/GalleryStorage.class at line 294 (mysqldatabasestorage::addmapentry)
    * in modules/core/classes/interfaces/ExternalIdMap.inc at line 96 (gallerystorage::addmapentry)
    * in admin/index.php at line 161 (externalidmap::addmapentry)
    * in admin/index.php at line 327
    * in admin/index.php at line 579
    * in admin/index.php at line 613
    * in /home/apache/htdocs/devcenter/weicheiv2/admin/case/case.gallery2.php at line 55
    * in /home/apache/htdocs/devcenter/weicheiv2/admin.php at line 498


Actually my user table counts around 17.000 Users. Maybe thatīs a bit too much?


the user export is still under very heavy development and should not be thought of as a production-ready product. the gallery team has a team member (a Summer of Code student) writing a user export framework for integrating applications. once that is done, the user export will be much more robust.

regarding your error...it looks like it's a database error. check your G2 database and see if a userid of 1213 has been created. also, try to re-run the user export and see if the error re-occurs.
Back to top
Offline View user's profile Send private message Visit poster's website
dari

Site Admin
Site Admin


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

PostPosted: Thu Aug 04, 2005 6:32 am    Post subject: Re: check_g2configerror & _G2_EMBED_PHP_FILE Reply with quote

another tip, edit the config.php file in your gallery2 directory and set the debug mode to "buffer" and retry. then paste the output here.
Back to top
Offline View user's profile Send private message Visit poster's website
Irulusug

Beginner
Beginner


Joined: Aug 25, 2004
Posts: 15

PostPosted: Fri Aug 05, 2005 3:55 am    Post subject: Re: check_g2configerror & _G2_EMBED_PHP_FILE Reply with quote

Yes it is. I chmoded and chowned the whole vhost directory of the installation to find a solution. No luck.

dari wrote: ›
is the directory itself chmoded to allow the webserver write access (not just the files inside the directory, but the directory itself)?
Back to top
Offline View user's profile Send private message
Irulusug

Beginner
Beginner


Joined: Aug 25, 2004
Posts: 15

PostPosted: Fri Aug 05, 2005 4:06 am    Post subject: Re: check_g2configerror & _G2_EMBED_PHP_FILE Reply with quote

The Userid 1213 was created... it stoped at around 1930.

For any additional try I recieve the following error

Code: ›
Failed to update G2 user with extId [690]. Here is the error message from G2:
Error (ERROR_MISSING_OBJECT) : Missing object for 655

    * in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 2124 (gallerystatus::error)
    * in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 305 (mysqldatabasestorage::_identifyentities)
    * in modules/core/classes/GalleryStorage.class at line 118 (mysqldatabasestorage::loadentities)
    * in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 82 (gallerystorage::loadentities)
    * in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 141 (galleryentityhelper_simple::loadentitiesbyid)
    * in modules/core/classes/GalleryCoreApi.class at line 2207 (galleryentityhelper_simple::loadentitybyexternalid)
    * in modules/core/classes/GalleryEmbed.class at line 332 (gallerycoreapi::loadentitybyexternalid)
    * in admin/index.php at line 310 (galleryembed::updateuser)
    * in admin/index.php at line 579
    * in admin/index.php at line 613
    * in /home/apache/htdocs/devcenter/weicheiv2/admin/case/case.gallery2.php at line 55
    * in /home/apache/htdocs/devcenter/weicheiv2/admin.php at line 498


Yes, I know its under heavy development. Maybe I will have a look at the user import and try to write extension so that Nuke User will be imported to G2 when they validate and active their Nuke Account or doesnt it make sense at the moment? Better wait for the API? Is there a timing when the API should be finished?

Iīve got serious problems with Gallery 1x at the moment. We serve around 95.000 images for about 17.500 User splitted into 3 galleries installations. So the performance is more than poor. This monday they crashed the whole server again. I couldnt believe that a linux system can handle a load of 125 before it stalls Wink.

dari wrote: › tthe user export is still under very heavy development and should not be thought of as a production-ready product. the gallery team has a team member (a Summer of Code student) writing a user export framework for integrating applications. once that is done, the user export will be much more robust.

regarding your error...it looks like it's a database error. check your G2 database and see if a userid of 1213 has been created. also, try to re-run the user export and see if the error re-occurs.
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Fri Aug 05, 2005 6:46 am    Post subject: Re: check_g2configerror & _G2_EMBED_PHP_FILE Reply with quote

actually, Gallery2 has a plugin that allows yuo to create a new Gallrey2 user when the embedded user visits Galelry2 for the first time. So you don't need to worry about that. It's getting the two DBs to sync up the first time that's giving people the most problems.

When i ran into your problem, i cleared out the Gallery2 user cache and tried again Smile
Back to top
Offline View user's profile Send private message Visit poster's website
Irulusug

Beginner
Beginner


Joined: Aug 25, 2004
Posts: 15

PostPosted: Fri Aug 05, 2005 10:31 am    Post subject: Re: check_g2configerror & _G2_EMBED_PHP_FILE Reply with quote

Ok, how is this plugin called? Is it enabled and installed by default? Where can I get these plugin?

Is there an easy way to clear the user cache or do I have to re-install gallery2 again?
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Sat Aug 06, 2005 6:33 am    Post subject: Re: check_g2configerror & _G2_EMBED_PHP_FILE Reply with quote

it's buried in the user admin section.

re:clearing the cache -- you can do it manually by emptying the relevant db tables.
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
Goto page Previous  1, 2

 
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 ServiceNeckermannOnline internetSEORestaurant Locator • Get great HP coupons from CouponSnapshot • Search for great dell coupons at CouponSnapshot.com.au • Graduation DressesAndroid TabletSEO IndiaBuy Phen375fuel filter

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