Page 2 of 22
FirstFirst 1 2 3 4 12 ... LastLast
Results 11 to 20 of 216

Thread: Working on G2Bridge 2.1 alpha

  1. #11
    Join Date
    Mar 2007
    Posts
    12

    Default had to delete it, but recovered with new J version

    After being unable to log in to Joomla, I deleted first the G2 component and plugin files, and was able to log in. But then I reinstalled Joomla, using the latest SVN instead of the standard Beta2 build. I reinstalled the plugin/component and it now works without the previous errors. Very nice work!

    I then created a new Top Menu item and selected Gallery 2 Bridge, expanded the item and picked Default Layout. But on the front end, picking G2 from my menu gives me the standalone version of G2, not the embedded version I expected.

    The menu link is: http://mysite.net/index.php?option=com_g2bridge&view=gallery&Itemid= 52 but it delivers me to:
    http://mysite.net/gallery2/main.php?g2_view=core.UserAdmin&g2_subView=core.Us erLogin&g2_return=%2Fgallery2%2Fmain.php%3Fg2_ion% 3Dcom_login%26&g2_returnName=album

    I have sidebar and login display set to No.

    Am I missing something?

    Other than this, I would offer one suggestion so far:
    Expand the width of the path/url boxes in the configuration page.


    Thanks!
    matt
    Last edited by elektrik; 07-18-2007 at 06:17 PM.

  2. #12
    Join Date
    Jun 2007
    Posts
    314

    Default

    I think the problem depends on the embedUri.... when initialising the g2.

    I'll take a look on this today at night and try to solve it.

    best Regards
    Chris

  3. #13
    Join Date
    Jul 2007
    Posts
    4

    Default

    Quote Originally Posted by sil3nt View Post
    Hello,
    Ok I've tried to install the component's from this topic but they worked with both systems, under linux (apache2, php5, mysql5) as well es windows (xampp).
    This occurs with WAMP5 straight out of the box, with Gallery 2.2.2 stable, joomla 1.5Beta2.


    Quote Originally Posted by sil3nt View Post
    JSubMenuHelper is the Helper Class to define the Menu up there. It works with the current nightly build.
    The Banner Component uses it too.
    Similar error:
    Code:
    Fatal error: Class 'JSubMenuHelper' not found in C:\wamp\www\administrator\components\com_g2bridge\admin.g2bridge.php on line 13
    I am excited at the prospect of Gallery2 in Joomla 1.5

  4. #14
    Join Date
    Jul 2007
    Posts
    4

    Default

    Quote Originally Posted by higgo View Post
    This occurs with WAMP5 straight out of the box, with Gallery 2.2.2 stable, joomla 1.5Beta2.
    Just tried joomla SVN (at revision 8095) and it gets a little further.

    The following is displayed in the "Settings" tab of "Gallery 2 Bridge - Settings":
    Code:
    pane->startPane( 'settingsPane' ); echo $this->pane->startPanel( 'Configuration', 'confPane' ); ?>
    Gallery 2 Path 	" id="paramsembedUri" name="params[embedPath]"/>
    Gallery 2 Uri 	" id="paramsg2Uri" name="params[g2Uri]"/>
    Login Redirect 	" id="paramsloginRedirect" name="params[loginRedirect]"/>
    pane->endPanel(); echo $this->pane->startPanel( 'User', 'userPane' ); ?>
    Coming soon
    pane->endPanel(); echo $this->pane->startPanel( 'Display', 'dispPane' ); ?>
    Display Login 	params->get("dispLogin")); ?>
    Display Sidebar 	params->get("dispSideBar")); ?>
    pane->endPanel(); echo $this->pane->endPane(); ?>
    Even if path/uri/redirect are entered, the response is "Wrong Settings:".

    Maybe a syntax issue in the source?

  5. #15
    Join Date
    Jun 2006
    Location
    USA
    Posts
    43

    Default

    I think once Joomla 1.5 RC1 is out, Michiel will continue working on gallery bridge.

  6. #16
    Join Date
    Jul 2007
    Posts
    4

    Default

    Quote Originally Posted by aravot View Post
    I think once Joomla 1.5 RC1 is out, Michiel will continue working on gallery bridge.
    Fair enough...it's obviously not quite stable enough yet.

  7. #17
    Join Date
    Jun 2007
    Posts
    314

    Default

    Quote Originally Posted by higgo View Post
    Code:
    pane->startPane( 'settingsPane' ); echo $this->pane->startPanel( 'Configuration', 'confPane' ); ?>
    Gallery 2 Path 	" id="paramsembedUri" name="params[embedPath]"/>
    Gallery 2 Uri 	" id="paramsg2Uri" name="params[g2Uri]"/>
    Login Redirect 	" id="paramsloginRedirect" name="params[loginRedirect]"/>
    pane->endPanel(); echo $this->pane->startPanel( 'User', 'userPane' ); ?>
    Coming soon
    pane->endPanel(); echo $this->pane->startPanel( 'Display', 'dispPane' ); ?>
    Display Login 	params->get("dispLogin")); ?>
    Display Sidebar 	params->get("dispSideBar")); ?>
    pane->endPanel(); echo $this->pane->endPane(); ?>
    Seems as your web server doesn't interprete the code?!?!?
    I've look through the file and didn't find any problems why this appears.

    --edit:
    I've tested it with wamp5 in a vmware and reproduced your problem.
    I'll post here if i know more.

    Best Regards
    Chris
    Last edited by sil3nt; 07-20-2007 at 08:22 AM.

  8. #18
    Join Date
    Jun 2007
    Posts
    314

    Default

    Ok, the problem with wamp5 is solved.

    Wamp5 doesn't allow "short open tag". so the construct <? ?>
    doesn't work.

    You can enable this by clicking on the icon in the taskbar,
    in the Menu click
    PHP settings => short open tag

    Then it should work. I will work through the component and plugin and
    fix this problem.

    At the weekend I'll continue working on the bridge and fix some known bugs.

    best regards
    chris

  9. #19
    Join Date
    Jul 2007
    Posts
    4

    Default

    Quote Originally Posted by sil3nt View Post
    You can enable this by clicking on the icon in the taskbar,
    in the Menu click
    PHP settings => short open tag
    Done and done

    Added two top menu items:
    This is the list given in the "Select Menu Item Type":
    Gallery 2 Bridge
    o
    Error
    +
    Default Layout
    o
    Gallery
    +
    Default Layout
    1) Error - Default Layout
    Which gives the following URL:
    http://localhost/index.php?option=co...rror&Itemid=54
    And an error "Wrong Settings - Gallery2 not found".

    2) Gallery - Default Layout
    Which gives:
    http://localhost/index.php?option=co...lery&Itemid=51
    And a beautiful picture of me

    However if I click on the picture I get the following:
    http://localhost/index.php?g2_itemId=36
    And a blank module.

    Hope this all helps

  10. #20
    Join Date
    Jun 2007
    Posts
    314

    Default Re: Working on G2Bridge 2.1 alpha

    Hello,

    Ok I've updatet the files at the top again. I've fixed a few different Bugs.

    Notice: You must set in your php.ini "memory_limit = 16M"
    or you add this line the .htaccess file
    Code:
    php_value memory_limit 16M
    *) now it should work with wamp5 out of the box. so "short open tag" isn't needed.
    *) The problem with the different views of the frontend component is changed. There is now only one view left.
    *) The problem with the embedPath of the different images is temporary solved, but the SEF-Function of J!1.5 isn't supported. So you can turn it on but the G2 works as usual.

    Best Regards
    Chris

Page 2 of 22
FirstFirst 1 2 3 4 12 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts