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  

Are both G1 and G2 able to be embeded at the same time?

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 1 Integration View previous topicPrinter friendly versionView next topic
Author Message
malrock

User
User


Joined: Apr 20, 2005
Posts: 34

PostPosted: Sat Feb 24, 2007 12:07 am    Post subject: Are both G1 and G2 able to be embeded at the same time? Reply with quote

Might be a stupid Q - but I couldn't find an answer by searching.

This has all come about since I tried to install / upgrade my G1 embedded to a G2 ....

I managed to to get the G2 installation running by commenting out
class GallerySession {} out of sessions.php in G1
http://www.nukedgallery.net/postt3439.html

and now I'm at the same stage with G1 - G2 is working but I get the error

Fatal error: Cannot redeclare class gallerysession in /xxxxxxxxxxxxxxxxxxx/modules/gallery2/modules/core/classes/GallerySession.class on line 46

I does run in standalone ...




----
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version:
Apache version:
PHP version (don't just say PHP 4, please):
Graphics Toolkit:
Operating system:
Web browser/version (if applicable): Laughing
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Are both G1 and G2 able to be embeded at the same time?  

Back to top
dari

Site Admin
Site Admin


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

PostPosted: Mon Feb 26, 2007 11:22 am    Post subject: Re: Are both G1 and G2 able to be embeded at the same time? Reply with quote

based on your earlier posts re: GallerySession, i'm guessing no.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
malrock

User
User


Joined: Apr 20, 2005
Posts: 34

PostPosted: Tue Feb 27, 2007 6:49 am    Post subject: Re: Are both G1 and G2 able to be embeded at the same time? Reply with quote

Is there not a way to make the Gallerysession class be seen by both -
I'm not sure how to code it but couldn't we check to see if gallerysession is already active rather than trying to redeclare / instantiate?

It's not really an issue but a lot of my news posts and previous content have links to the old gallery - all the image loaction URL's are just fine but I can't see the old gallery and / or change all the links in the site .....

******************
edit!

Can that last - I've just discovered the .htaccess change in the G2 site admin

ciao Embarassed

I'll see if that works

**********************
No couldn't make it happen
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: Mon Mar 05, 2007 7:29 am    Post subject: Re: Are both G1 and G2 able to be embeded at the same time? Reply with quote

no- unfortunately, it's a different class for each app, and the fact that they have the same name makes php unhappy.
_________________
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 » PHP-Nuke Integration » Gallery 1 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