Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Problem with G2 for Platinum
Goto page Previous  1, 2
 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Tue Aug 02, 2005 6:26 am    Post subject: Re: Problem with G2 for Platinum Reply with quote

try adding a "/" at the end of your embedphpfile...
Back to top
Offline View user's profile Send private message Visit poster's website
AdBot
   Post subject: Re: Problem with G2 for Platinum  

Back to top
Snoboreders

Beginner
Beginner


Joined: Jul 30, 2005
Posts: 15

PostPosted: Tue Aug 02, 2005 8:50 pm    Post subject: Re: Problem with G2 for Platinum Reply with quote

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
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Wed Aug 03, 2005 6:14 am    Post subject: Re: Problem with G2 for Platinum Reply with quote

can you copy the error with the added slash in your config?
Back to top
Offline View user's profile Send private message Visit poster's website
Snoboreders

Beginner
Beginner


Joined: Jul 30, 2005
Posts: 15

PostPosted: Wed Aug 03, 2005 11:08 am    Post subject: Re: Problem with G2 for Platinum Reply with quote

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
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Wed Aug 03, 2005 11:12 am    Post subject: Re: Problem with G2 for Platinum Reply with quote

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
Offline View user's profile Send private message Visit poster's website
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Wed Aug 03, 2005 11:17 am    Post subject: Re: Problem with G2 for Platinum Reply with quote

actually, you have to upgrade to the new integration package. the integration will not properly work without the new files.
Back to top
Offline View user's profile Send private message Visit poster's website
Snoboreders

Beginner
Beginner


Joined: Jul 30, 2005
Posts: 15

PostPosted: Wed Aug 03, 2005 2:22 pm    Post subject: Re: Problem with G2 for Platinum Reply with quote

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
Offline View user's profile Send private message
Snoboreders

Beginner
Beginner


Joined: Jul 30, 2005
Posts: 15

PostPosted: Thu Aug 04, 2005 10:02 am    Post subject: Re: Problem with G2 for Platinum Reply with quote

Come on Dari, don't give up on me now! We're so damn close.
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Thu Aug 04, 2005 10:42 am    Post subject: Re: Problem with G2 for Platinum Reply with quote

you need to set your embed path
Back to top
Offline View user's profile Send private message Visit poster's website
Snoboreders

Beginner
Beginner


Joined: Jul 30, 2005
Posts: 15

PostPosted: Thu Aug 04, 2005 6:50 pm    Post subject: Re: Problem with G2 for Platinum Reply with quote

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
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Fri Aug 05, 2005 6:44 am    Post subject: Re: Problem with G2 for Platinum Reply with quote

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
Offline View user's profile Send private message Visit poster's website
Snoboreders

Beginner
Beginner


Joined: Jul 30, 2005
Posts: 15

PostPosted: Fri Aug 05, 2005 12:33 pm    Post subject: Re: Problem with G2 for Platinum Reply with quote

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
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Sat Aug 06, 2005 6:31 am    Post subject: Re: Problem with G2 for Platinum Reply with quote

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
Offline View user's profile Send private message Visit poster's website
Snoboreders

Beginner
Beginner


Joined: Jul 30, 2005
Posts: 15

PostPosted: Sat Aug 06, 2005 1:04 pm    Post subject: Re: Problem with G2 for Platinum Reply with quote

www.Snoboreders.com

To access Gallery2 I'd go www.Snoboreders.com/modules/gallery2

hopefully your skilled eyes can catch an obvious problem that I can't seem to crack.
Back to top
Offline View user's profile Send private message
Crypton

Novice
Novice


Joined: Sep 28, 2004
Posts: 29

PostPosted: Sat Aug 06, 2005 2:25 pm    Post subject: Re: Problem with G2 for Platinum Reply with quote

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
Hidden View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Goto page Previous  1, 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationDedicated Web HostingWeb Design New YorkCompare VoIPseo packagesSEO CompanyNew York Yellow PagesFind LocationsVOIP Phone ServiceNeckermannOnline internetSEORestaurant Locator • Get great HP coupons from CouponSnapshot • Search for great dell coupons at CouponSnapshot.com.au • Graduation DressesAndroid TabletSEO IndiaBuy Phen375fuel filter

8th year online! 2003-2011
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia