• Sorry for the long posting, but I’ve updated everything and I’m having a few issues I can’t work round. I don’t know if they relate to gallery, wordpress, Vslider3 theme or WPG2, so I’ve decided to post everything I’ve found over the last 24 hours here.

    I decided to take the plunge and go for:
    the cvs nightly of Gallery 2.3 from 18th September from
    http://galleryupdates.jpmullan.com/#gallery2

    Some basic info here:
    Gallery version = 2.3-svn core 1.2.21
    API = Core 7.37, Module 3.8, Theme 2.6, Embed 1.2
    PHP version = 5.2.0 cgi
    Webserver = Apache/1.3.37 (Unix) mod_fastcgi/2.4.2

    the RC1 candidate of wordpress 2.3 from
    http://wordpress.org/development/2007/09/wordpress-23-release-candidate-1/

    The WPG2 3.0 RC Internal Final for Release Candidate Testing from
    http://www.galleryembedded.com/forums/viewtopic.php?t=7742

    And I made the updates to Vslider3 as noted here
    http://irui.ac/archives/2007/07/09/vs3-hotfixes/

    ————————————————–

    Problems I think may be related to Vslider 3:

    can’t use “captcha” – the text box and CAPTCHA that appears is normal if gallery is on a default theme, but in Vslider3, the box now doesn’t appear to show the CAPTCHA code.

    Gallery 2.3 has a new feature – detect and delete spam with Akismet. But when clicking “mark as spam”, the CSS messes up and the page won’t work (see: http://www.digitaltoast.co.uk/files/gall_vs_spamcomment.png )

    In Gallery admin, in the section: “image block settings” the page is messed up (right column takes over left column)

    On updating gallery from 2.1 to 2.3, I got the following error:

    Deactivated Plugins
    The following plugins were active, but they are missing or incompatible with your current version of Gallery. They have been deactivated. Install the latest version of these plugins to reactivate them.

    * Theme: vSlider
    * Theme: vSlider2

    If viewing gallery standalone, ie:
    http://www.horseriding-dunedin.co.nz/trek/
    it initially said:

    Configuration Error: Missing Theme
    Missing Theme

    This album is configured to use the vSlider3 theme, but it is either inactive, not installed, or incompatible. To fix this problem you can either choose a new theme for this album or install or activate this theme.

    Now it says:
    This theme can only be viewed when embedded in WordPress and using vSlider 3
    Site Admin Your Account Logout
    but allows you to proceed to a workable admin section, which is a good touch.

    ————————————————-

    Things I think may be related to WPG2…
    In WordPress, I go to WPG2 and then “WPG2 output” in order to delete all the code from the WPG2 Page, Style & CSS Options, but when I press SAVE, although I get a message which says
    “WPG2 Page, Style & CSS Options Saved”, it actually just defaults back to what was there, ie:

    .g2_column {width: 738px;margin: 0px 1px 0px 12px;}

    On the MAIN site page, page, for example: http://www.horseriding-dunedin.co.nz/trek/
    in the random block section in the right hand column, the following error appears, even though random block seems to be installed and active.

    Array ( [blocks] => |randomImage [show] => [exactSize] => 150 [itemFrame] => none [albumFrame] => none ) Error (ERROR_BAD_PARAMETER) : Smarty error: The template ‘modules/imageframe/templates/containers/ImageFrame.tpl’ does not exist.

    * in modules/core/classes/GallerySmarty.class at line 76 (GalleryCoreApi::error)
    * in modules/core/classes/GalleryTemplate.class at line 401 (GallerySmarty::trigger_error)
    * in ??? at line 0 (GalleryTemplate::resourceGetTemplate)
    * in lib/smarty/Smarty.class.php at line 1562
    * in lib/smarty/Smarty.class.p

    etc etc

    Well, I hope this post might help others, and maybe others might help me, or at least point out if I’m doing anything silly! As a side note, I’ve tried switching between php4 and php5, but the above results are the same.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Imageframe is an ongoing issue, we know about it, but considering Gallery2 2.3 is not out of SVN yet, we are not going to look at it until after we get 3.0 out..

    We found the issue with the WPG2 output when selecting between the internal WordPress and the Gallery2 Standalone Page and fixed this (the fix is in the development build on WP Extend)

    If all goes well and it looks all good, I be switching the stable tags to trunk this weekend..

    Thread Starter digitaltoast

    (@digitaltoast)

    Hi; thanks for the quick response – I can confirm this is fixed now and the site is working well.

    However, I’m having a different problem now when I came to upgrade the second site, which is almost the same as the first site (same server and everything). It say:

    “This theme can only be viewed when embedded in WordPress and using vSlider 3”

    I tried uninstalling and re-installing WPG2 and also Vslider3 in both WordPress and Gallery. But when I tried to use “deactivate” from the WPG2 plugins panel, I got the following message:

    WordPress database error: [Table ‘mydatabase_gallery.wp_post2cat’ doesn’t exist]
    SELECT cat_ID AS ID, MAX(post_modified) AS last_mod FROM wp_posts p LEFT JOIN wp_post2cat pc ON p.ID = pc.post_id LEFT JOIN wp_categories c ON pc.category_id = c.cat_ID WHERE post_status = ‘publish’ GROUP BY cat_ID

    Even after this, I am getting the same error, but with a different theme, it works OK (although it doesn’t look right!)

    Thread Starter digitaltoast

    (@digitaltoast)

    Just to update, Rui said that his theme doesn’t touch that table, and in fact it turned out to be cause by the Ultimate Tag Warrior plugin; now that WordPress 2.3 is fully released, I’ve imported the tags into the native WP tagging, de-activated UTW and all is good.

    However, I have a more serious problem on a second site
    http://www.digitaltoast.co.uk/wpg2
    – I am getting the error:
    “This theme can only be viewed when embedded in WordPress and using vSlider 3”

    But unlike the other site, activating and de-activating just isn’t working. I can’t see that there’s any difference, it’s hosted on the same server, I’ve even tried changing php4/php5 but no luck.

    If I change the plugin to vslider, it works, but of course, it looks wrong! How can I over-ride this error?

    Thread Starter digitaltoast

    (@digitaltoast)

    OK,I’ve spent since Tuesday on this and it’s driving me a little bit nuts.

    Two websites, on the same server, with the same .htaccess settings with the same versions of gallery, wpg2 and vSlider

    I have deleted all the .htaccess settings and regenerated them. I’ve deleted php.ini, I’ve checked and rechecked and rechecked, but I see these weird errors over and over again in the error logs for one site (see below) and even MORE confusingly, I am getting errors which don’t relate to my site at all!

    And all the time, I get this same error: “This theme can only be viewed when embedded in WordPress and using vSlider 3”

    And from a quick google, I am the ONLY PERSON in the world getting this error!

    Here are the gallery logs

    Fri 28 Sep 2007 09:06:48 EDT Gallery Error Link 74.6.20.34 ERROR_PERMISSION_DENIED
    Fri 28 Sep 2007 09:05:46 EDT PHP Error Link 212.158.167.104 [Notice] Undefined property: term_id in file /backup/TMPHOME/MYACCOUNT/public_html/blog/wp-includes/classes.php on line 481

    But if I look at that first “Link” error, it points me to:
    http://fireworks.funnfrolic.co.uk/gallery/main.php?g2_view=kburnalizerg2.KBurnalizerG2&g2_itemId=3790

    which is a TOTALLY different account, not just a different parked or subdomain of digitaltoast.
    eg: funnfrolic website is on the funnfrol account
    digitaltoast website is on the digitalt account
    How can I be getting errors from the funnfrol account in the digitalt account???

    Here are some examples of the hundreds of errors I’m getting per minute in the wordpress logs

    [28-Sep-2007 08:55:38] PHP Warning: loadwordpressoptions(./wp-config.php) [function.loadwordpressoptions]: failed to open stream: No such file or directory in /backup/TMPHOME/MYACCOUNT/public_html/gallery/themes/vSlider3/theme.inc on line 158
    [28-Sep-2007 08:55:38] PHP Warning: loadwordpressoptions(./wp-config.php) [function.loadwordpressoptions]: failed to open stream: No such file or directory in /backup/TMPHOME/MYACCOUNT/public_html/gallery/themes/vSlider3/theme.inc on line 158
    [28-Sep-2007 08:55:38] PHP Warning: loadwordpressoptions() [function.include]: Failed opening ‘./wp-config.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /backup/TMPHOME/MYACCOUNT/public_html/gallery/themes/vSlider3/theme.inc on line 158
    [28-Sep-2007 08:59:43] PHP Warning: loadwordpressoptions(./wp-config.php) [function.loadwordpressoptions]: failed to open stream: No such file or directory in /backup/TMPHOME/MYACCOUNT/public_html/gallery/themes/vSlider3/theme.inc on line 158

    Thread Starter digitaltoast

    (@digitaltoast)

    I finally found the answer, thanks to Kirk on the Gallery forums
    http://gallery.menalto.com/node/69590
    It was to change the path in theme.inc FROM
    if(include(‘./wp-config.php’)) {
    TO
    if(include(‘/home/MUACCOUNT/public_html/blog/wp-config.php’)) {
    and the weirdest thing is that using ../../../blog/wp-config.php wasn’t working either.

    What’s REALLY confusing me is how come ONE of my sites is working fine like this, and the other isn’t? I even downloaded the whole site, diffed all the files, and made sure they were identical, then re-uploaded the whole thing. I’d also totally uninstalled/deleted both WordPress and Gallery vSlider3 themes too.

    One thing – my host has symlinked my whole account as they ran out of space, eg:
    The installation that works perfectly with the line
    if(include(‘./wp-config.php’)) {
    has a path of
    /home/MYACCOUNT/public_html/blog etc
    but the installation which needs the line changed to
    if(include(‘/home/MUACCOUNT/public_html/blog/wp-config.php’)) {
    has a “real” path of
    /backup/TMPHOME/MYACCOUNT/public_html/blog but is apparently symlinked to /home/MYACCOUNT/

    Digitaltoast,

    Thanks. This solved my issues too (editing theme.inc and entering an absolute path name to the cfg file).

    steve

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Gallery 2.3 CVS, WPG2 RC Final, Vslider3 and WordPress 2.3 RC1 – possible bugs,’ is closed to new replies.