| Author |
Message |
sypher01
Beginner


Joined: Feb 05, 2008 Posts: 19
|
Posted: Wed Feb 06, 2008 9:12 am Post subject: Kinda urgent error: white page and stuck! |
|
|
Hello everyone;
i'm having a curious error:
a white page when trying to get into the syncronization user page, in the config.
I am more than sure that its a hosting-related problem, (white page with no output), but as of now im stuck with the integration and a broken site. is there any way to quickly do manually what the syncronization user button does? My gallery is empty, and what i would have selected is to create gallery for users everytime they get in (not exporting the users now...).
I think its due to the old php, 4.3.10-18; anyway ...any quick fix as of now?
Thanks in advance |
|
| Back to top |
|
|
AdBot
|
| Post subject: Kinda urgent error: white page and stuck! |
|
|
|
|
|
| Back to top |
|
 |
jettyrat
Moderator


Joined: Nov 28, 2005 Posts: 1139
|
Posted: Wed Feb 06, 2008 9:56 am Post subject: Re: Kinda urgent error: white page and stuck! |
|
|
Your php version meets the min. requirements for phpbb3 and gallery2.2.
White page output usually means there is an error somewhere. You can turn on debugging in gallery and phpbb and see if it gives any messages.
You do have gallery2.2+ installed and working in stand-alone mode, right? |
|
| Back to top |
|
|
sypher01
Beginner


Joined: Feb 05, 2008 Posts: 19
|
Posted: Wed Feb 06, 2008 10:08 am Post subject: Re: Kinda urgent error: white page and stuck! |
|
|
I had it working in the testing stuff, i followed all the infoes and on the testing platform it installed correctly.
I just moved the modified files to live, ran the sql strings and started to configure and there it is, white page.
I have this white page error usually when i send a PM to another user containing accented characters in it "èùìò", but the pm get sent anyway. Its due to the portal system. Problem is, the portal system should have no intrusion in the admin panel, thats why im saying its probably a php-version related error. I will know this soon as soon as they upgrade the php to the newer version.
Meanwhile, can i know how to manually do that?
Thanks in advance |
|
| Back to top |
|
|
jettyrat
Moderator


Joined: Nov 28, 2005 Posts: 1139
|
Posted: Wed Feb 06, 2008 3:24 pm Post subject: Re: Kinda urgent error: white page and stuck! |
|
|
The synchronize users function, at a minimum, creates groups, admin and guest accounts in gallery and adds an external id mapping to the gallery externalidmap table, then updates the phpbb gallery2 table with the id of an admin in both phpbb and gallery.
You at least need to have an admin that has an account in both phpbb and gallery. (Usually the first admin in phpbb has id 2 and the first admin in gallery has id 6) In the g2_externalidmap table you will have to add a record with external id and gallery id. An example using default admins above might look like - g_externalId = 2, g_entityType = GalleryUser, g_entityId = 6
Then you will create an account in gallery called 'guest' and map it in the externalidmap table to the phpbb anonymous user.
Then update the phpbb_gallery2 table so the activeAdminId field is set to the phpbb admin id. (2 from the above example)
Groups work the same way except the g2_externalId = the group name, g_entityType = GalleryGroup, g_entityId = whatever the group id is in gallery. |
|
| Back to top |
|
|
sypher01
Beginner


Joined: Feb 05, 2008 Posts: 19
|
Posted: Wed Feb 06, 2008 6:10 pm Post subject: Re: Kinda urgent error: white page and stuck! |
|
|
| thanks i'll try it out tomorrow! |
|
| Back to top |
|
|
|
|
|
|
|