Strange G2 error in Joomla!

Incubusattax

Joined: 2006-03-31
Posts: 1
Posted: Fri, 2006-03-31 16:37

Hi,

I keep getting this error when I try to config gallery2 in Joomla:

Warning: embed(embed.php): failed to open stream: No such file or directory in /***/***/****/web/www.*******.be/Joomla/cache/components/com_gallery2/classes/core.class on line 202

Fatal error: embed(): Failed opening required 'embed.php' (include_path='.:/packages/php-4.3.8/lib/php') in /***/***/****/web/www.******.be/Joomla/cache/components/com_gallery2/classes/core.class on line 202

Can anyone help me? Because I can't seem to fix it, and the weird part is, the file core.class IS in that map ...

I replaced the dirs with stars for security reasons :)

 
jdonnelly

Joined: 2006-07-23
Posts: 2
Posted: Mon, 2006-07-24 12:55

I'm getting the exact same error while trying to configure the Joomla bridge. It doesn't seem anyone answered this question. Does anyone have an answer?

 
shocksll
shocksll's picture

Joined: 2005-06-22
Posts: 352
Posted: Mon, 2006-07-24 19:22

Have you tried posting to this forum. http://forum.4theweb.nl/forumdisplay.php?f=5

Steve Lineberry

 
webmistir

Joined: 2006-08-11
Posts: 7
Posted: Fri, 2006-08-11 16:23

i installed the composent (integration) and tth gallery work fine but here what i get when trying to configure gallery2 modules in joomla:

Quote:
Warning: embed(../gallery2/embed.php): failed to open stream: No such file or directory in /home/usmonast/public_html/components/com_gallery2/classes/core.class on line 202

Fatal error: embed(): Failed opening required '../gallery2/embed.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/usmonast/public_html/components/com_gallery2/classes/core.class on line 202

here the lines 193 to 204 of components/com_gallery2/classes/core.class
the ligne 202: require_once( $g2Config['path'] . 'embed.php');

/**
     * include embed.php
     *
     * @return boolean(true)
     */
    function embed(){
        static $setEmbed;
        if(empty($setEmbed)){
            $g2Config = core::loadConfig();
            require_once( $g2Config['path'] . 'embed.php');
            $setEmbed = true;
        }  

i verified the file embed.php it existe on server and here what is writting on it:

<?php
/*
 * $RCSfile: embed.php,v $
 *
 * Gallery - a web based photo album viewer and editor
 * Copyright (C) 2000-2006 Bharat Mediratta
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or (at
 * your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
 */
/**
 * Access point for external application in which Gallery is embedded.
 * See modules/core/classes/GalleryEmbed.class  and
 * http://codex.gallery2.org/index.php/Gallery2:Embedding  for more details.
 *
 * @package GalleryMain
 * @version $Revision: 1.50 $ $Date: 2006/03/16 08:57:42 $
 * @author Alan Harder <alan.harder@sun.com>
 */

/* Define G2_EMBED = 1 to remember to generate correct URLs and return the HTML, etc. */
require_once(dirname(__FILE__) . '/modules/core/classes/GalleryDataCache.class');
GalleryDataCache::put('G2_EMBED', 1, true); 

can some one help me to solve the problem? thank you.

 
webmistir

Joined: 2006-08-11
Posts: 7
Posted: Thu, 2006-08-17 20:16

just an up

 
bingomaster

Joined: 2006-09-11
Posts: 2
Posted: Mon, 2006-09-11 16:14

I'm getting exactly the same error as well - trying to configure the Gallery2 Joomla bridge. I can't seem to find any solutions or records of this error in all the documentation i've read. Unfortunately at the time of posting the developers site is down so not sure where to go. has anyone found a solution to this? Don't want to go back to using coppermine!

 
bingomaster

Joined: 2006-09-11
Posts: 2
Posted: Thu, 2006-09-28 18:02

finally worked it out - you need to select SAVE instead of update - i guess its the joomla habit of apply and then save??