| Author |
Message |
malrock
User


Joined: Apr 20, 2005 Posts: 34
|
Posted: Sat Feb 24, 2007 12:07 am Post subject: Are both G1 and G2 able to be embeded at the same time? |
|
|
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):  |
|
| Back to top |
|
|
AdBot
|
| Post subject: Are both G1 and G2 able to be embeded at the same time? |
|
|
|
|
|
| Back to top |
|
 |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6274 Location: Washington Township, NJ, USA
|
Posted: Mon Feb 26, 2007 11:22 am Post subject: Re: Are both G1 and G2 able to be embeded at the same time? |
|
|
based on your earlier posts re: GallerySession, i'm guessing no. _________________
 |
|
| Back to top |
|
|
malrock
User


Joined: Apr 20, 2005 Posts: 34
|
Posted: Tue Feb 27, 2007 6:49 am Post subject: Re: Are both G1 and G2 able to be embeded at the same time? |
|
|
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
I'll see if that works
**********************
No couldn't make it happen |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6274 Location: Washington Township, NJ, USA
|
Posted: Mon Mar 05, 2007 7:29 am Post subject: Re: Are both G1 and G2 able to be embeded at the same time? |
|
|
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 |
|
|
|
|
|
|
|