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  

Weird integration problems

 
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
hazmat

Beginner
Beginner


Joined: Aug 24, 2007
Posts: 11

PostPosted: Tue Apr 06, 2010 6:57 pm    Post subject: Weird integration problems Reply with quote

I had been running phpBB 3.0RC5 for a long time with the Gallery 2.2 integration. Overall it was working ok. I decided to upgrade phpBB to 3.0.7 along with the latest integration package. It was working ok, but there was a lot of oddness and the more problems I found the more I realized I needed to revert back to the original state. I restored the phpBB directory and database, but there's a problem. It's working ok, but in the middle of all that I upgraded Gallery from 2.2.x to 2.3.1. I think this is the reason I now get errors from Gallery whenever I try and write to anything. Adding pics, saving settings, etc. I get errors like this:

Error (ERROR_REQUEST_FORGED)
in modules/core/classes/GalleryController.class at line 239 (GalleryCoreApi::error)
in main.php at line 243 (GalleryController::assertIsGenuineRequest)
in main.php at line 104
in modules/core/classes/GalleryEmbed.class at line 189
in /home/nyh/public_html/board/gallery2.php at line 42 (GalleryEmbed::handleRequest)

Any ideas one what I can do to fix this? I just need to make it all work so I can relax and figure out a way to update again.

Thanks a lot in advance.
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Weird integration problems  

Back to top
eliz82

Beginner
Beginner


Joined: May 23, 2010
Posts: 4

PostPosted: Sun May 23, 2010 1:14 pm    Post subject: Re: Weird integration problems Reply with quote

i receive exactly the same error.

i had a gallery 2.2.4 integrated in phpBB 3.0.4
after i upgraded my gallery to version 2.3.1 . Viewing is OK , but when I try upload an image or move an existent one, I receive identical error:

Code: ›
Authentication Failure

Your change cannot be completed due to a loss of session data. Please try again. If it still doesn't work, try logging out and logging back in.

Back to the Gallery
Error Detail -
Error (ERROR_REQUEST_FORGED)

    * in modules/core/classes/GalleryController.class at line 239 (GalleryCoreApi::error)
    * in main.php at line 243 (GalleryController::assertIsGenuineRequest)
    * in main.php at line 104
    * in modules/core/classes/GalleryEmbed.class at line 189
    * in /www/ $mysite /forum/gallery2.php at line 41 (GalleryEmbed::handleRequest)

System Information
Gallery version    2.3.1
PHP version    5.2.12 apache2handler
Webserver    Apache
Database    mysqli 4.1.20-log
Toolkits    Gd
Operating system    Linux $myhost 2.6.18-164.11.1.el5 #1 SMP Wed Jan 20 07:32:21 EST 2010 x86_64
Browser    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.5.3



however if I access the gallery directly (standalone) and I login there, I can upload and delete files without problems.

can anybody please help ?

I have 40 users and 4000 images in my gallery Sad
Back to top
Offline View user's profile Send private message
hazmat

Beginner
Beginner


Joined: Aug 24, 2007
Posts: 11

PostPosted: Thu May 27, 2010 8:12 am    Post subject: Re: Weird integration problems Reply with quote

The response I got for my errors at the Gallery forums was:

in gallery2.php just before the call to GalleryEmbed::handleRequest();
add:

$session = &$gallery->getSession();
GalleryUtilities::putRequestVariable('authToken', $session->getAuthToken());


And it worked.
Back to top
Offline View user's profile Send private message
eliz82

Beginner
Beginner


Joined: May 23, 2010
Posts: 4

PostPosted: Fri May 28, 2010 3:01 pm    Post subject: Re: Weird integration problems Reply with quote

hello hazmat
i have also found the problem in an older post
http://www.nukedgallery.net/postxf4176-0-0.html [nukedgallery.net]

it seems that i have upgraded the gallery but not the integration package . the only integration the work with the 2.3.x gallery seems to be the latest (1.2.1)
read nukedgallery change log:
http://www.nukedgallery.net/postp18006.html#18006 [nukedgallery.net]

the solution was to install the 1.2.1 integration package. however this have been a hard job to do having the phpbb files already modified . it was probably need to revers to the original phpbb files (overwrite existing with fresh phpbb 3.0.4 files) and start the integration all over again.

your solution is infinitely more simple , and it seems it's works.
thankyou very much.


p.s. maybe they shoud make a forum dedicated to phpbb3 integration on the gallery2 forum. it seems this forum is dead.
Back to top
Offline View user's profile Send private message
eliz82

Beginner
Beginner


Joined: May 23, 2010
Posts: 4

PostPosted: Sat May 29, 2010 5:02 am    Post subject: Re: Weird integration problems Reply with quote

it's seems that 'view as guest' in my gallery don't work anymore.

yours is working ?
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

 
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