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  

configuring embed.php

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Integration » phpBB2 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
lemontwist

Novice
Novice


Joined: Dec 21, 2005
Posts: 22

PostPosted: Thu Dec 22, 2005 8:00 am    Post subject: configuring embed.php Reply with quote

No matter how I have set my integration configuration settings, I keep getting the error:

Warning: require_once(/embed.php) [function.require-once]: failed to open stream: No such file or directory in /web/images/APO/ezaa/forum/admin/gallery2_export.php on line 76

When I try to synch users.

The data in my table looks like this:

Array ( [configid] => [fullpath] => /web/images/APO/ezaa/forum/gallery2/ [embedpath] => /forum/ [embeduri] => /forum/gallery2.php [relativepath] => /gallery2/ [loginpath] => /forum/login.php [cookiepath] => / [activeuserid] => 0 )

My file structure looks like this:
phpBB - http://www.url.com/images/forum
gallery - http://www.url.com/images/forum/gallery2
//
phpBB - /web/images/APO/ezaa/forum
gallery - /web/images/APO/ezaa/forum/gallery2
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: configuring embed.php  

Back to top
lemontwist

Novice
Novice


Joined: Dec 21, 2005
Posts: 22

PostPosted: Thu Dec 22, 2005 8:22 am    Post subject: Re: configuring embed.php Reply with quote

I also get an error:

Warning: g2helper::require_once(embed.php) [function.require-once]: failed to open stream: No such file or directory in /web/images/APO/ezaa/forum/g2helper.inc on line 54

when I try to create new users in phpBB
Back to top
Offline View user's profile Send private message
lemontwist

Novice
Novice


Joined: Dec 21, 2005
Posts: 22

PostPosted: Thu Dec 22, 2005 9:13 am    Post subject: Re: configuring embed.php Reply with quote

I think I figured out the problem. My table rows are named all lowercase letters. However, in the code, it calls for them with mixed caps and lowercase. Since this is case sensitive, it couldn't figure out the variable names and thus couldn't find the filepath.
Back to top
Offline View user's profile Send private message
lemontwist

Novice
Novice


Joined: Dec 21, 2005
Posts: 22

PostPosted: Thu Dec 22, 2005 9:20 am    Post subject: Re: configuring embed.php Reply with quote

Now having a problem adding a user, getting this error:

Error (ERROR_MISSING_OBJECT) : admin GalleryUser

* in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 138 (GalleryStatus::error)
* in modules/core/classes/GalleryCoreApi.class at line 2225 (GalleryEntityHelper_simple::loadEntityByExternalId)
* in modules/core/classes/GalleryEmbed.class at line 184 (GalleryCoreApi::loadEntityByExternalId)
* in modules/core/classes/GalleryEmbed.class at line 94 (GalleryEmbed::checkActiveUser)
* in /web/images/APO/ezaa/forum/g2helper.inc at line 64 (GalleryEmbed::init)
* in /web/images/APO/ezaa/forum/includes/usercp_register.php at line 362 (g2helper::init_admin)
* in /web/images/APO/ezaa/forum/profile.php at line 100
Back to top
Offline View user's profile Send private message
lemontwist

Novice
Novice


Joined: Dec 21, 2005
Posts: 22

PostPosted: Thu Dec 22, 2005 9:23 am    Post subject: Re: configuring embed.php Reply with quote

Also, when I did the export, it said it worked fine. But gallery doesn't have the phpBB user listed as a user.
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Thu Dec 22, 2005 10:59 am    Post subject: Re: configuring embed.php Reply with quote

try:

Array ( [configid] => [fullpath] => /web/images/APO/ezaa/forum/gallery2/ [embedpath] => /images/forum/ [embeduri] => /images/forum/gallery2.php [relativepath] => /forum/gallery2/ [loginpath] => /forum/login.php [cookiepath] => / [activeuserid] => 0 )
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
lemontwist

Novice
Novice


Joined: Dec 21, 2005
Posts: 22

PostPosted: Thu Dec 22, 2005 12:21 pm    Post subject: Re: configuring embed.php Reply with quote

OK, I tried that. When I do the export users in phpBB, it looks like it works just fine. But then when I check out the gallery users, there are only the default ones, admin and guest, and not any of the phpBB users. Also, when I try to create a new phpBB user, I still get the error.
Back to top
Offline View user's profile Send private message
lemontwist

Novice
Novice


Joined: Dec 21, 2005
Posts: 22

PostPosted: Thu Dec 22, 2005 12:29 pm    Post subject: Re: configuring embed.php Reply with quote

Also, if I try group export I get this message: (Tried to dianose myself but couldn't figure out what exactly was wrong)

Could not retrieve data from Gallery 2 table

DEBUG MODE

SQL Error : -1 Error: syntax error at or near "Users" at character 70

SELECT user_id, username FROM phpbb_users WHERE user_id IN (Original Users)

Line : 340
File : gallery2_export.php
Back to top
Offline View user's profile Send private message
lemontwist

Novice
Novice


Joined: Dec 21, 2005
Posts: 22

PostPosted: Thu Dec 22, 2005 4:37 pm    Post subject: Re: configuring embed.php Reply with quote

I don't understand why nothing works for me. It's really pissing me off, because I just want to get everything working.

Anyway, I don't know if it makes a difference but I don't have mySQL, only pgSQL. I don't think that should matter, though.
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Thu Dec 22, 2005 4:52 pm    Post subject: Re: configuring embed.php Reply with quote

it shouldn't, i don't think i have any mysql specific calls in the files...
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
lemontwist

Novice
Novice


Joined: Dec 21, 2005
Posts: 22

PostPosted: Thu Dec 22, 2005 7:08 pm    Post subject: Re: configuring embed.php Reply with quote

So... do you have any idea what the problem is coming from?
Back to top
Offline View user's profile Send private message
lemontwist

Novice
Novice


Joined: Dec 21, 2005
Posts: 22

PostPosted: Fri Dec 23, 2005 3:38 pm    Post subject: Re: configuring embed.php Reply with quote

So, basically nobody can help me?
Back to top
Offline View user's profile Send private message
lemontwist

Novice
Novice


Joined: Dec 21, 2005
Posts: 22

PostPosted: Sat Dec 24, 2005 10:24 am    Post subject: Re: configuring embed.php Reply with quote

Should the configid value be null? Is it supposed to be an auto-increment?
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Sat Dec 31, 2005 8:08 am    Post subject: Re: configuring embed.php Reply with quote

configid will auto increment
_________________
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 » phpBB Integration » phpBB2 / 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: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSEO Search Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaCheap Web Design

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