| Author |
Message |
lemontwist
Novice


Joined: Dec 21, 2005 Posts: 22
|
Posted: Thu Dec 22, 2005 8:00 am Post subject: configuring embed.php |
|
|
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 |
|
|
AdBot
|
| Post subject: configuring embed.php |
|
|
|
|
|
| Back to top |
|
 |
lemontwist
Novice


Joined: Dec 21, 2005 Posts: 22
|
Posted: Thu Dec 22, 2005 8:22 am Post subject: Re: configuring embed.php |
|
|
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 |
|
|
lemontwist
Novice


Joined: Dec 21, 2005 Posts: 22
|
Posted: Thu Dec 22, 2005 9:13 am Post subject: Re: configuring embed.php |
|
|
| 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 |
|
|
lemontwist
Novice


Joined: Dec 21, 2005 Posts: 22
|
Posted: Thu Dec 22, 2005 9:20 am Post subject: Re: configuring embed.php |
|
|
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 |
|
|
lemontwist
Novice


Joined: Dec 21, 2005 Posts: 22
|
Posted: Thu Dec 22, 2005 9:23 am Post subject: Re: configuring embed.php |
|
|
| 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 |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
Posted: Thu Dec 22, 2005 10:59 am Post subject: Re: configuring embed.php |
|
|
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 |
|
|
lemontwist
Novice


Joined: Dec 21, 2005 Posts: 22
|
Posted: Thu Dec 22, 2005 12:21 pm Post subject: Re: configuring embed.php |
|
|
| 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 |
|
|
lemontwist
Novice


Joined: Dec 21, 2005 Posts: 22
|
Posted: Thu Dec 22, 2005 12:29 pm Post subject: Re: configuring embed.php |
|
|
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 |
|
|
lemontwist
Novice


Joined: Dec 21, 2005 Posts: 22
|
Posted: Thu Dec 22, 2005 4:37 pm Post subject: Re: configuring embed.php |
|
|
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 |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
Posted: Thu Dec 22, 2005 4:52 pm Post subject: Re: configuring embed.php |
|
|
it shouldn't, i don't think i have any mysql specific calls in the files... _________________
 |
|
| Back to top |
|
|
lemontwist
Novice


Joined: Dec 21, 2005 Posts: 22
|
Posted: Thu Dec 22, 2005 7:08 pm Post subject: Re: configuring embed.php |
|
|
| So... do you have any idea what the problem is coming from? |
|
| Back to top |
|
|
lemontwist
Novice


Joined: Dec 21, 2005 Posts: 22
|
Posted: Fri Dec 23, 2005 3:38 pm Post subject: Re: configuring embed.php |
|
|
| So, basically nobody can help me? |
|
| Back to top |
|
|
lemontwist
Novice


Joined: Dec 21, 2005 Posts: 22
|
Posted: Sat Dec 24, 2005 10:24 am Post subject: Re: configuring embed.php |
|
|
| Should the configid value be null? Is it supposed to be an auto-increment? |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
Posted: Sat Dec 31, 2005 8:08 am Post subject: Re: configuring embed.php |
|
|
configid will auto increment _________________
 |
|
| Back to top |
|
|
|
|
|
|
|