doube body & header tags? (e107+gallery2.2)
psygarden
Joined: 2003-03-25
Posts: 128 |
Posted: Wed, 2007-12-05 21:53 |
I'm having an issue with integrating gallery2 in e107, i'm using a somewhat customized version of the bridge to fix some bugs, but now i have this problem: When i load up the gallery index or any album page, instead of just inserting the gallery2 html that's between the <body> tags, i get the entire html (head -css & javascripts-, body, all of it). This doesn't happen when i look at a specific image. Then it's fine. Live examples: look at the source of www.psygarden.be/gallery and search for the body tag, you'll find two sets. Then when you look at an actual image in full view, you'll no longer see the double body tags... I can't seem to find what is causing the entire html to be inserted rather than just the part between the body tags... hopefully someone here can help me in the right direction! Here is a copy of the embedding script i'm using: http://paste2.org/p/10205 Should anyone here with some experience with this kind of issues have some time to look into it... greetings, ps. Gallery version = 2.2 core 1.2.0 |
|
Posts: 128
This appears to be a php5 isseu ... i'm going to try upgrading the gallery to 2.3 nightly
Posts: 128
The solution: upgrade to SVN or replace this file with the version from svn:
/trunk/gallery2/modules/core/test/phpunit/ThemeTest.class
link: http://fisheye3.cenqua.com/browse/~raw,r=17093/gallery/trunk/gallery2/modules/core/test/phpunit/ThemeTest.class
greetings,
Rik
ps. Thanks again valiant!