WPG2 items embedded in Wordpress blog now broken with cannot find modules/imageframe/templates/containers/ImageFrame.tpl error

toastmaster

Joined: 2003-05-01
Posts: 219
Posted: Wed, 2008-01-23 19:08

Gallery Nightly, WPG2 latest, Wordpress latest, vSlider latest (3.01)
Example of problem:
http://www.digitaltoast.co.uk/rainbow-sheep
WPG2 items are all broken - I've been through all the settings - I just don't know where to start looking. The file it refers to certainly exists. But, like several others, I've had to modify a line in the theme.inc file from
if(include('./wp-config.php')) {
to
if(include('/home/mysite/public_html/blog/wp-config.php')) {
to get it to "see" the theme, but this breaking seems quite recent.
I've gone into WP and re-edited the post, putting the images back in, but it just reverts back

Any help would be appreciated!

Gallery version = 2.3-svn core 1.2.24
API = Core 7.40, Module 3.8, Theme 2.6, Embed 1.3
PHP version = 5.2.0 cgi
Webserver = Apache/1.3.37 (Unix) mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1b
Database = mysql 4.1.22-standard-log, lock.system=flock
Toolkits = ArchiveUpload, Getid3, NetPBM, Gd, Dcraw, Ffmpeg, ImageMagick, LinkItemToolkit, Thumbnail, Exif, SquareThumb
Acceleration = full/345600, full/86400
Operating system = Linux leto.site5.com 2.6.9-55.0.12.ELsmp #1 SMP Fri Nov 2 11:19:08 EDT 2007 i686
Default theme = vSlider3
gettext = enabled
Locale = en_GB
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
Rows in GalleryAccessMap table = 528
Rows in GalleryAccessSubscriberMap table = 2187
Rows in GalleryUser table = 2
Rows in GalleryItem table = 2130
Rows in GalleryAlbumItem table = 110
Rows in GalleryCacheMap table = 9962

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Wed, 2008-01-23 21:49

Search is your friend :-) Please have a read of this thread

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo

 
jdoklovic

Joined: 2008-06-03
Posts: 4
Posted: Tue, 2008-06-03 20:49

I read the post you suggested and I still get this error.
I have posted more details in the other thread.
http://gallery.menalto.com/node/73100

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Tue, 2008-06-03 22:36

jdoklovic,

WPG2 3.05+ fixes this incompatibility with G2.3

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo

 
jdoklovic

Joined: 2008-06-03
Posts: 4
Posted: Wed, 2008-06-04 13:40

3.0.6 still had issues and i had to create a symlink to the *real* modules folder

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Thu, 2008-06-05 03:01

Sorry but you are incorrect, as I know WPG2 3.06 works fine with Gallery2 2.3 because I run Gallery2 2.3 on my test and development boxes.

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo

 
coppit

Joined: 2002-09-15
Posts: 33
Posted: Sun, 2008-07-06 21:58

ozgreg, I'm running WPG2 3.06 and Gallery 2.3-svn from Jan 16. I have the same error. These sorts of problems are why I only upgrade once or twice a year.

I'm running a shared installation, which seems relevant. (Files are in gallery2-shared, and two light installations are in /foo/gallery2 and /bar/gallery2.) I did ln -s /path/to/galler2-shared/modules /foo/gallery2/modules and it worked. So you need a little more logic in your code to check for the true path of the shared installation files. Files like main.php, embed.php, index.php and lib/support/index.php all include their associated files in the gallery2-shared directory. Also, config.php sets the config variable galleryBaseUrl to the http://www.example.com/gallery2-shared/ URL.

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Mon, 2008-07-07 05:31

Hiya Coppit,

Try a SVN Update, that code is pretty old now. I run G2.3 on a few sites and do not need to ln files anymore. It could be possible that the symbolic links are causing the Gallery2 Smart Engine to NOT locate the imageframe directory which is pretty much out of my hands to help.

I am hoping WPG2 3.1 will have a better imageframe that will no longer need relative paths to work.

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo