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_PLATFORM_FAILURE when accessing gallery
Goto page 1, 2  Next
 
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Integration » phpBB3 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
thewho88

Beginner
Beginner


Joined: Jun 27, 2008
Posts: 9

PostPosted: Fri Jun 27, 2008 3:23 pm    Post subject: ERROR_PLATFORM_FAILURE when accessing gallery Reply with quote

Hello!

I'm currently establishing a new social community site using phpBB 3.0.1 and Gallery 2.2.5. My primary aim is that users don't have to log in for a second time if they want to access the gallery.

Following the Install Guide everything went fine, until i first tried to synchronize the users. At last, i succeeded in this today, choosing another synchronization setting.

But when I tried to access my Gallery (lying in the root-path of the server, not in the phpbb directory - don't know if that matters), i was confronted with a flood of errors. I think it would probably best to refer to a copy of the error messages [jvpwoelbling.at] instead of posting them here seperately.

If you need anything else to know, just tell me... i'm really worried, having tried everything a second time, messing up with the same errors.

Thanks in advance for every anwer... would be glad if anyone had an idea, what the matter could be.

Martin
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: ERROR_PLATFORM_FAILURE when accessing gallery  

Back to top
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1144

PostPosted: Fri Jun 27, 2008 4:02 pm    Post subject: Re: ERROR_PLATFORM_FAILURE when accessing gallery Reply with quote

I'm guessing that's a permission issue. Make sure gallery has write permissions to the g2data directory.
Back to top
Offline View user's profile Send private message
thewho88

Beginner
Beginner


Joined: Jun 27, 2008
Posts: 9

PostPosted: Fri Jun 27, 2008 4:12 pm    Post subject: Re: ERROR_PLATFORM_FAILURE when accessing gallery Reply with quote

Thx for your quick answer... Properties for g2data-directory are 777 as should be.
Curiously the PHP-Notice-Alerts have disappered now, don't know why but that doesn't solve the problem...

I just tried to log into Gallery2 with Userdata from phpBB 3. Doesn't work at all... on the other side the G2 Users were correctly copied to phpBB.

Are there maybe any other folders or files which must have write permissions? Or do you have any other ideas?
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1144

PostPosted: Fri Jun 27, 2008 4:25 pm    Post subject: Re: ERROR_PLATFORM_FAILURE when accessing gallery Reply with quote

Most accounts won't be able to login directly to gallery. Login to phpbb and then go to gallery thru the links in the forum.
Back to top
Offline View user's profile Send private message
thewho88

Beginner
Beginner


Joined: Jun 27, 2008
Posts: 9

PostPosted: Fri Jun 27, 2008 4:43 pm    Post subject: Re: ERROR_PLATFORM_FAILURE when accessing gallery Reply with quote

I would have done so, if that only was possible... the big problem is that (it seems to me that) every request handled by gallery2.php (hence all links from phpBB to Gallery) leads to the creation of the above mentioned errorpage.

PS: The Image-Chooser-Window and adding a Gallery-Image-Thumbnail to a posting work fine.
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1144

PostPosted: Fri Jun 27, 2008 10:02 pm    Post subject: Re: ERROR_PLATFORM_FAILURE when accessing gallery Reply with quote

Does gallery work with direct access using the original admin account? Seems to me the error message you first posted is an error from gallery itself that seems to be related to the fact that gallery cannot create/write a template file. The image chooser does not use a gallery template file...
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1144

PostPosted: Fri Jun 27, 2008 10:45 pm    Post subject: Re: ERROR_PLATFORM_FAILURE when accessing gallery Reply with quote

Quote: › I just tried to log into Gallery2 with Userdata from phpBB 3. Doesn't work at all... on the other side the G2 Users were correctly copied to phpBB.


Are you trying to login to phpbb3 with imported Gallery users that didn't exist in phpBB3 before the integration?
Back to top
Offline View user's profile Send private message
thewho88

Beginner
Beginner


Joined: Jun 27, 2008
Posts: 9

PostPosted: Sat Jun 28, 2008 5:15 am    Post subject: Re: ERROR_PLATFORM_FAILURE when accessing gallery Reply with quote

jettyrat wrote: › Does gallery work with direct access using the original admin account?

Yes, when I disable the OnlyEmbed-Mode and log into Gallery with my Gallery2-Original-Admin-Data everything works fine.

jettyrat wrote: › Are you trying to login to phpbb3 with imported Gallery users that didn't exist in phpBB3 before the integration?

No, haven't tried that yet but will do it now. Doesn't work anyway, phpBB says incorrect username or password (i expect the latter as my usernames from gallery are shown correctly in the forum-memberlist).

I think you are quite right about the template as most error messages tell me something like that. Unfortunately looking at the referenced lines doesn't make anything clearer to me... Rolling Eyes
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1144

PostPosted: Sat Jun 28, 2008 1:09 pm    Post subject: Re: ERROR_PLATFORM_FAILURE when accessing gallery Reply with quote

Ok, some things I can think of right off -

Users that existed in gallery and were imported to phpbb will have to use their username as their password and then change it when they first login. It's because gallery and phpbb use different password encryption schemes and there is no way around that right now.

Try clearing the gallery template cache from the gallery admin area and see if that helps. Also clear the phpbb and browser cache just to make sure.

Maybe try changing to a different gallery template and see if it makes any difference.

You can enable more error reporting in gallery and see if it helps pinpoint the problem better. $gallery->setDebug(); in the gallery config file.
Back to top
Offline View user's profile Send private message
thewho88

Beginner
Beginner


Joined: Jun 27, 2008
Posts: 9

PostPosted: Sat Jun 28, 2008 3:41 pm    Post subject: Re: ERROR_PLATFORM_FAILURE when accessing gallery Reply with quote

Yes i read that about former gallery2 users in phpbb. Unfortunately, the refered user already had equal username and password. But that's not my main problem at the moment...

I cleared all caches I found, chose another template both in g2 and in phpbb and set g2-debug-mode to buffered. This is the Output [jvpwoelbling.at].

Could you probably compare that with the output of a working system? couldn't discover any real errors in this... could you??

//edit: just went through the output again and found 3 entries of "parent directory could not be created", all following an "atomicWrite" function call. Once again, i must point out, that my g2data directory has 777 permissions, although one should doubt it, especially when reading the first php notice lines (that sometimes are shown and sometimes are gone, no idea why)

//edit2: checked my config.php and found a line saying $gallery->setConfig('setup.password', 'xxxxx');. could this be the reason why my logins with phpbb-users fail? but that also can't be the reason, because those users I created from the g2-admin-area and have an other password as the config-setting work find anyway and when deleting the line from the config.php or setting the pw empty, straight brings me to the install-page when reaccessing g2. I hope I'm not writing too confusing to be understood Exclamation
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1144

PostPosted: Sat Jun 28, 2008 6:46 pm    Post subject: Re: ERROR_PLATFORM_FAILURE when accessing gallery Reply with quote

I don't know. It sure seems to be having permission issues. Don't know why it works in stand-alone mode though. Maybe Dari has some insight?

You might try going to the g2data/cache directory and deleting everything in it so it can rebuild the whole thing.
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 Jun 28, 2008 7:55 pm    Post subject: Re: ERROR_PLATFORM_FAILURE when accessing gallery Reply with quote

re: the setup.password - that's the password you used when you initially set up (and subsequently when you do upgrades). it has no bearing at all on the users.

Try adding this to the .htaccess file in your gallery 2 directory:
php_value memory_limit 50M

A quick search on the gallery website shows a bunch of these errors in the past month. I don't know if they're related or not though.

You could try:
http://codex.gallery2.org/Gallery2:FAQ# ... _folder.3F
Back to top
Offline View user's profile Send private message Visit poster's website
thewho88

Beginner
Beginner


Joined: Jun 27, 2008
Posts: 9

PostPosted: Sun Jun 29, 2008 4:51 am    Post subject: Re: ERROR_PLATFORM_FAILURE when accessing gallery Reply with quote

Ok, thank you guys indeed. Yet I could not solve the problem but i might have located it:

When deleting the cache directory using filezilla, it does his work but when finished, the cache-directory isn't empty at all. Trying the "Cache Maintenance"-Function provided by the integrated support-lib tells me "permission denied" for every single file or directory it is inteded to delete.

The "file permissions"-tool told me that permissions for the cache-directory are ok, but couldn't change anything in subfolders... so i tried to fix permissions manually with filezilla, ending up with the same result as above. after the queue had finished, not a single permission was changed at all.

To be sure that this is not a Filezilla-Error i tried the same (deleting content of the cache-directory, changing permissions in subfolder) with windows explorer's integrated ftp-client, ending up with the same results.

Interestingly i have exactly the same problems with another g2-installation on the same server (i built up a second version to try if the mod works properly there) also returning me the same error messages.

As I've used my webhost' preinstallation service (in both cases), i'll now try to install g2 manually and really hope this will dispose of my problem. Of course I will let you know the results of my attempt and thanks for your help anyway.


Last edited by thewho88 on Sun Jun 29, 2008 5:46 am; edited 1 time in total
Back to top
Offline View user's profile Send private message
thewho88

Beginner
Beginner


Joined: Jun 27, 2008
Posts: 9

PostPosted: Sun Jun 29, 2008 5:45 am    Post subject: Re: ERROR_PLATFORM_FAILURE when accessing gallery Reply with quote

JACKPOT!! Very Happy

Works fine now, no error messages at all (as i could see right now), user integration went perfect, access via gallery2.php causes no problems, not even a single annoying php notice or stuff.

Makes me veeeery happy now... Laughing

Thanks so much for your help, wouldn't have come out of this on my own Exclamation
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 1144

PostPosted: Mon Jun 30, 2008 9:08 am    Post subject: Re: ERROR_PLATFORM_FAILURE when accessing gallery Reply with quote

Nice, glad it's working now!

Mind if I ask what host this is for future reference?
Back to top
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Integration » phpBB3 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Goto page 1, 2  Next

 
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 WorksSourceForge.net Logo • Theme by TonicMedia