A+ | A - | RESET
Fixed | Wide | Full | Reset

Capture360.Net

Cover Every Angle

  Advanced search
Welcome, Guest. Please login or register.
Did you miss your activation email?
20:54 GMT - Thu 25 Apr 24

Login with username, password and session length
Pages: [1]
Author Topic: Issue need help  (Read 7800 times)
0 Members and Guests are viewing this topic.
wbshrk
Conscript
*******
Posts: 3


« at: 19:01 GMT - Fri 21 Sep 12 »

After installing the joomg2 all I see is this:

{---{--{-{{G2TOKEN}}-}--}---}
JoomG2 Bridge by Dayo Akanji

What went wrong?
Logged
Dayo
Sheriff
*
Posts: 447


WWW
« Reply #1 at: 12:17 GMT - Sat 22 Sep 12 »

Not sure but try v1.1.4 anyway (Note the changed installation requirements)

For future reference, please state the versions of Joomla!, Gallery2 and joomg2 you are running.

Logged
wbshrk
Conscript
*******
Posts: 3


« Reply #2 at: 14:42 GMT - Sat 22 Sep 12 »

1. 1. 4 will not let my plugin screen load in Gallery.

Gallery v 2. 3 and Joomla 1. 5. 22
Logged
Dayo
Sheriff
*
Posts: 447


WWW
« Reply #3 at: 16:36 GMT - Sat 22 Sep 12 »

I don't understand what you mean by "will not let my plugin screen load".
Can you elaborate?
Logged
Dayo
Sheriff
*
Posts: 447


WWW
« Reply #4 at: 16:47 GMT - Sat 22 Sep 12 »

PS. Just noticed an error in v1.1.4.

Open the module.inc file and change
Code:
return array(NULL, $this->Is_Empty($value)) {
to
Code:
return array(NULL, $this->Is_Empty($value));
Logged
wbshrk
Conscript
*******
Posts: 3


« Reply #5 at: 15:21 GMT - Sun 23 Sep 12 »

Alright here is what I have done.   I removed the 1. 1. 3 install and made sure all the files were removed from the install.  I installed the 1. 1. 4 version of joomg2 to joomla 1. 5. 22 and gallery 2. 3. 1.  I followed the instruction at hxxp: codex. gallery2. org/Gallery2:Modules:joomg2 to the letter and made the correct you noted in this post.   After all is said and done I add a menu item called Photo to my joomla main page and all the link does is display the message below in the main site block:

 {---{--{-{{G2TOKEN}}-}--}---}
JoomG2 Bridge by Dayo Akanji

I also receive the following PHP error in my apache log after the install:

PHP Notice:  Use of undefined constant oldVersion - assumed 'oldVersion' in /data/Styx/www/htdocs/photos/modules/joomg2/AdminJoomG2. inc on line 76, referer: hxxp: <removed my site>/photos/main. php?g2_view=core. SiteAdmin&g2_subView=joomg2. AdminJoomG2&g2_mode=preconfig
PHP Notice:  Use of undefined constant oldPath - assumed 'oldPath' in /data/Styx/www/htdocs/photos/modules/joomg2/AdminJoomG2. inc on line 76, referer: hxxp: <removed my site>/photos/main. php?g2_view=core. SiteAdmin&g2_subView=joomg2. AdminJoomG2&g2_mode=preconfig
PHP Notice:  Use of undefined constant oldJoomID - assumed 'oldJoomID' in /data/Styx/www/htdocs/photos/modules/joomg2/AdminJoomG2. inc on line 76, referer: hxxp: <removed my site>/photos/main. php?g2_view=core. SiteAdmin&g2_subView=joomg2. AdminJoomG2&g2_mode=preconfig
PHP Notice:  Use of undefined constant oldIntLevel - assumed 'oldIntLevel' in /data/Styx/www/htdocs/photos/modules/joomg2/AdminJoomG2. inc on line 76, referer: hxxp: <removed my site>/photos/main. php?g2_view=core. SiteAdmin&g2_subView=joomg2. AdminJoomG2&g2_mode=preconfig
PHP Notice:  Use of undefined constant extIdPref - assumed 'extIdPref' in /data/Styx/www/htdocs/photos/modules/joomg2/AdminJoomG2. inc on line 76, referer: hxxp: <removed my site>/photos/main. php?g2_view=core. SiteAdmin&g2_subView=joomg2. AdminJoomG2&g2_mode=preconfig
PHP Notice:  Use of undefined constant joomVersion - assumed 'joomVersion' in /data/Styx/www/htdocs/photos/modules/joomg2/AdminJoomG2. inc on line 77, referer: hxxp: <removed my site>/photos/main. php?g2_view=core. SiteAdmin&g2_subView=joomg2. AdminJoomG2&g2_mode=preconfig
PHP Notice:  Use of undefined constant path - assumed 'path' in /data/Styx/www/htdocs/photos/modules/joomg2/AdminJoomG2. inc on line 77, referer: hxxp: <removed my site>/photos/main. php?g2_view=core. SiteAdmin&g2_subView=joomg2. AdminJoomG2&g2_mode=preconfig
PHP Notice:  Use of undefined constant joom_id - assumed 'joom_id' in /data/Styx/www/htdocs/photos/modules/joomg2/AdminJoomG2. inc on line 77, referer: hxxp: <removed my site>/photos/main. php?g2_view=core. SiteAdmin&g2_subView=joomg2. AdminJoomG2&g2_mode=preconfig
PHP Notice:  Use of undefined constant joomIntLevel - assumed 'joomIntLevel' in /data/Styx/www/htdocs/photos/modules/joomg2/AdminJoomG2. inc on line 77, referer: hxxp: <removed my site>/photos/main. php?g2_view=core. SiteAdmin&g2_subView=joomg2. AdminJoomG2&g2_mode=preconfig
PHP Notice:  Use of undefined constant extIdPref - assumed 'extIdPref' in /data/Styx/www/htdocs/photos/modules/joomg2/AdminJoomG2. inc on line 77, referer: hxxp: <removed my site>/photos/main. php?g2_view=core. SiteAdmin&g2_subView=joomg2. AdminJoomG2&g2_mode=preconfig
PHP Notice:  Undefined variable: Block in /data/Styx/www/htdocs/photos/modules/joomg2/AdminJoomG2. inc on line 126, referer: hxxp: <removed my site>/photos/main. php?g2_view=core. SiteAdmin&g2_subView=joomg2. AdminJoomG2&g2_mode=preconfig
PHP Notice:  Undefined variable: Block in /data/Styx/www/htdocs/photos/modules/joomg2/AdminJoomG2. inc on line 143, referer: hxxp: <removed my site>/photos/main. php?g2_view=core. SiteAdmin&g2_subView=joomg2. AdminJoomG2&g2_mode=preconfig
PHP Notice:  Undefined variable: Block in /data/Styx/www/htdocs/photos/modules/joomg2/AdminJoomG2. inc on line 223, referer: hxxp: <removed my site>/photos/main. php?g2_view=core. SiteAdmin&g2_subView=joomg2. AdminJoomG2&g2_mode=preconfig
PHP Notice:  Undefined variable: Block in /data/Styx/www/htdocs/photos/modules/joomg2/AdminJoomG2. inc on line 245, referer: hxxp: <removed my site>/photos/main. php?g2_view=core. SiteAdmin&g2_subView=joomg2. AdminJoomG2&g2_mode=preconfig
PHP Notice:  Undefined variable: error in /data/Styx/www/htdocs/photos/modules/joomg2/AdminJoomG2. inc on line 335, referer: hxxp: <removed my site>/photos/main. php?g2_view=core. SiteAdmin&g2_subView=joomg2. AdminJoomG2&g2_mode=preconfig
PHP Deprecated:  Function split() is deprecated in /data/Styx/www/htdocs/photos/modules/dcraw/module. inc on line 144, referer: hxxp: <removed my site>/photos/main. php?g2_view=core. SiteAdmin&g2_subView=joomg2. AdminJoomG2&g2_mode=preconfig
PHP Deprecated:  Function split() is deprecated in /data/Styx/www/htdocs/photos/modules/dcraw/module. inc on line 144, referer: hxxp: <removed my site>/photos/main. php?g2_view=core. SiteAdmin&g2_subView=core. AdminPlugins
PHP Deprecated:  Function split() is deprecated in /data/Styx/www/htdocs/photos/modules/dcraw/module. inc on line 144, referer: hxxp: <removed my site>/photos/main. php?g2_view=core. SiteAdmin&g2_subView=core. AdminPlugins

Logged
Dayo
Sheriff
*
Posts: 447


WWW
« Reply #6 at: 18:49 GMT - Sun 23 Sep 12 »

Hi,

Thanks for the feedback. I am not actively support J1.5 and haven't even tested against it for a while but perhaps clearing up the PHP notices will help.  If not, I'll look into installing it and seeing what is up.

To clear up the notices,

Try changing
Code:
				/* Get existing stuff */
$existingVars = array(oldVersion, oldPath, oldJoomID, oldIntLevel, extIdPref);
$existingKeys = array(joomVersion, path, joom_id, joomIntLevel, extIdPref);
foreach ($existingVars as $key => $param) {
list ($ret, $$param) = GalleryCoreApi::getPluginParameter('module', 'joomg2', $existingKeys[$key]);
if ($ret) {
return array($ret, null);
}
if (JoomG2Utils::Is_Empty($$param) === TRUE) {
$$param = 'not set';
}
}

to

Code:
				/* Get existing stuff */
$arrayVars = array('oldVersion' => 'joomVersion', 'oldPath' => 'path', 'oldJoomID' => 'joom_id', 'oldIntLevel' => 'joomIntLevel', 'extIdPref' => 'extIdPref');
foreach ($arrayVars as $key => $param) {
list ($ret, $$key) = GalleryCoreApi::getPluginParameter('module', 'joomg2', $param);
if ($ret) {
return array($ret, null);
}
if (JoomG2Utils::Is_Empty($$param) === TRUE) {
$$key = 'not set';
}
}

in AdminJoomG2.inc

This should leave you with just the "PHP Deprecated" errors, which are to do with the DCRAW module, in your logs.
Logged
Dayo
Sheriff
*
Posts: 447


WWW
« Reply #7 at: 19:40 GMT - Sun 23 Sep 12 »

Ignore the last post.

Try to use the original code instead with

Code:
$existingVars = array('oldVersion', 'oldPath', 'oldJoomID', 'oldIntLevel', 'extIdPref');
$existingKeys = array('joomVersion', 'path', 'joom_id', 'joomIntLevel', 'extIdPref');
Logged
Pages: [1]
Jump to:  

Latest Posts
by Dayo
[21:04 GMT - Tue 19 Aug 14]

[22:20 GMT - Sat 16 Aug 14]

[21:15 GMT - Wed 09 Apr 14]

by Dayo
[17:18 GMT - Tue 21 Jan 14]

[15:55 GMT - Sun 15 Sep 13]
Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Corto design TinyPortal v0.9.8 © Bloc
Configured by Dayo Akanji
Contact