| Author |
Message |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Tue Aug 02, 2005 6:26 am Post subject: Re: Problem with G2 for Platinum |
|
|
| try adding a "/" at the end of your embedphpfile... |
|
| Back to top |
|
|
AdBot
|
| Post subject: Re: Problem with G2 for Platinum |
|
|
|
|
|
| Back to top |
|
 |
Snoboreders
Beginner


Joined: Jul 30, 2005 Posts: 15
|
Posted: Tue Aug 02, 2005 8:50 pm Post subject: Re: Problem with G2 for Platinum |
|
|
In my config lines? That doesn't work...it just adds another slash in the error after gallery2....or did you mean somewhere on line 169? Let me mess around with that.
Isn't the error that it's calling the folders twice? |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Wed Aug 03, 2005 6:14 am Post subject: Re: Problem with G2 for Platinum |
|
|
| can you copy the error with the added slash in your config? |
|
| Back to top |
|
|
Snoboreders
Beginner


Joined: Jul 30, 2005 Posts: 15
|
Posted: Wed Aug 03, 2005 11:08 am Post subject: Re: Problem with G2 for Platinum |
|
|
Warning: init(/home/sven/public_html/sven/modules/gallery2/embed.php): failed to open stream: No such file or directory in /home/sven/public_html/sven/modules/gallery2/admin/index.php on line 169
Fatal error: init(): Failed opening required '/home/sven/public_html/sven/modules/gallery2/embed.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sven/public_html/sven/modules/gallery2/admin/index.php on line 169
Doesn't the problem lie on line 169?
All the error is, is "gallery2//" whenever I add that slash compared to the normal error "gallery2/" |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Wed Aug 03, 2005 11:12 am Post subject: Re: Problem with G2 for Platinum |
|
|
| could you paste the contents of line 169? you don't have the most up-to-date version of the integration package (in the current version, line 169 is empty). |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Wed Aug 03, 2005 11:17 am Post subject: Re: Problem with G2 for Platinum |
|
|
| actually, you have to upgrade to the new integration package. the integration will not properly work without the new files. |
|
| Back to top |
|
|
Snoboreders
Beginner


Joined: Jul 30, 2005 Posts: 15
|
Posted: Wed Aug 03, 2005 2:22 pm Post subject: Re: Problem with G2 for Platinum |
|
|
Ok I upgraded, and it seems the error has moved to line 409 which is:
require_once ($g2embedparams['embedphpfile']."/"._G2_EMBED_PHP_FILE);
Here is the error that occurs upon verifying installation and upgrading integration:
Warning: check_g2configerror(/home/sven/public_html/sven/modules/gallery2//embed.php): failed to open stream: No such file or directory in /home/sven/public_html/sven/modules/gallery2/admin/index.php on line 409
Fatal error: check_g2configerror(): Failed opening required '/home/sven/public_html/sven/modules/gallery2//embed.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sven/public_html/sven/modules/gallery2/admin/index.php on line 409
Same one as before, just a different line.
Heres my config:
$g2embedparams = array (
'embedphpfile' => '/home/sven/public_html/sven/modules/gallery2/',
'embedUri' => 'modules.php?name=gallery2/',
'relativeG2Path' => 'modules/gallery2/',
'loginRedirect' => 'gate.html?name=Your_Account',
'activeUserId' => '0',
'embedPath' => '',
'cookiepath' => '',
);
$g2mainparams = array (
'showSidebar' => NULL,
);
$g2configurationdone = 'false';
?>
I've added and removed with ending "/" with no luck.
Does the code on line 409 need to be changed? |
|
| Back to top |
|
|
Snoboreders
Beginner


Joined: Jul 30, 2005 Posts: 15
|
Posted: Thu Aug 04, 2005 10:02 am Post subject: Re: Problem with G2 for Platinum |
|
|
| Come on Dari, don't give up on me now! We're so damn close. |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Thu Aug 04, 2005 10:42 am Post subject: Re: Problem with G2 for Platinum |
|
|
| you need to set your embed path |
|
| Back to top |
|
|
Snoboreders
Beginner


Joined: Jul 30, 2005 Posts: 15
|
Posted: Thu Aug 04, 2005 6:50 pm Post subject: Re: Problem with G2 for Platinum |
|
|
Can you be a bit more specific; I thought I already set that in the config file? There's gotta be something that needs to be done on line 409:
require_once ($g2embedparams['embedphpfile']."/"._G2_EMBED_PHP_FILE);
What do you suggest...besides me giving up? |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Fri Aug 05, 2005 6:44 am Post subject: Re: Problem with G2 for Platinum |
|
|
Snoboreders wrote: ›
Heres my config:
$g2embedparams = array (
'embedphpfile' => '/home/sven/public_html/sven/modules/gallery2/',
'embedUri' => 'modules.php?name=gallery2/',
'relativeG2Path' => 'modules/gallery2/',
'loginRedirect' => 'gate.html?name=Your_Account',
'activeUserId' => '0',
'embedPath' => '',
'cookiepath' => ''
);
$g2mainparams = array (
'showSidebar' => NULL,
);
$g2configurationdone = 'false';
?>
the items i've bolded need to be filled in. |
|
| Back to top |
|
|
Snoboreders
Beginner


Joined: Jul 30, 2005 Posts: 15
|
Posted: Fri Aug 05, 2005 12:33 pm Post subject: Re: Problem with G2 for Platinum |
|
|
I filled em with "/" and that didn't work. Then I went further to put "/sven/public_html/sven/modules/gallery2/" in the embedpath (config.php) and that didn't work. Cookiepath should remain / correct?
I can't get it to work at standalone either (reviewing Puntuks post). I've tried out all that I know for embedPath and CookiePath....how would I find out if I'm wrong, and what to put in there instead? |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Sat Aug 06, 2005 6:31 am Post subject: Re: Problem with G2 for Platinum |
|
|
what's the base URL to your phpnuke site? what URL do you use to access the integrated gallery?
leaving cookiepath as / is fine. |
|
| Back to top |
|
|
Snoboreders
Beginner


Joined: Jul 30, 2005 Posts: 15
|
|
| Back to top |
|
|
Crypton
Novice


Joined: Sep 28, 2004 Posts: 29
|
Posted: Sat Aug 06, 2005 2:25 pm Post subject: Re: Problem with G2 for Platinum |
|
|
try:
Code: ›
<?
$g2embedparams = array (
'embedphpfile' => '/home/sven/public_html/sven/modules/gallery2/',
'embedUri' => 'http://www.snoboreders.com/modules.php?name=gallery2',
'relativeG2Path' => '/modules/gallery2/',
'loginRedirect' => 'modules.php?name=Your_Account',
'activeUserId' => '0',
'embedPath' => '/modules/gallery2/',
'cookiepath' => '/',
);
$g2mainparams = array (
'showSidebar' => NULL,
);
$g2configurationdone = 'true';
?>
http://www.snoboreders.com/modules.php?name=gallery2
Should work after putting them as the settings.
// Regards,
Crypton |
|
| Back to top |
|
|
|
|
|
|
|