Home | Support Forums | Your Account | Gallery [2] | 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  

G2 & Nuke 7.7 intergration problem

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Issues » Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
ananas

Beginner
Beginner


Joined: Apr 10, 2005
Posts: 4

PostPosted: Fri Jun 03, 2005 8:57 am    Post subject: G2 & Nuke 7.7 intergration problem Reply with quote

ok, i have been messing with the intergration files for about a week and still can;t get it working. I think i'm getting there though.

Ok, here is my prob as of now. I have setup .cfg file and all relivent data. But when i try to access it via the nuke link (modules.php?name=gallery2).

1st it's not even intergrated.
2nd, it takes me to the upgrade folder of G2 and not the main.php file.

This is what i have in my config. (xxxxxx) are in place for security reasons only. Not in real config file


PHP: › <?
$g2embedparams 
= array (
  
'embedphpfile' => '/home/xxxxxx/xxxxxxxx/modules/gallery2/',
  
'embedUri' => 'http://xxxxxxxxxxx/modules.php?name=gallery2',
  
'relativeG2Path' => '/modules/gallery2/',
  
'loginRedirect' => 'modules.php?name=Your_Account',
  
'activeUserId' => '0',
);
$g2mainparams = array (
  
'showSidebar' => NULL,
);
$g2configurationdone 'true'?>
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: G2 & Nuke 7.7 intergration problem  

Back to top
dari

Site Admin
Site Admin


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

PostPosted: Fri Jun 03, 2005 8:50 pm    Post subject: Re: G2 & Nuke 7.7 intergration problem Reply with quote

did you actually go and do the Gallery2 setup (separate from the G2/phpNuke integration setup)?
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
ananas

Beginner
Beginner


Joined: Apr 10, 2005
Posts: 4

PostPosted: Fri Jun 03, 2005 9:05 pm    Post subject: Re: G2 & Nuke 7.7 intergration problem Reply with quote

yes, i did.. I did install G2 on it's own DB and setup everything. it works fine strait linking to it.

working URL: www.anifran.org/modules/gallery2/main.php

not working URL (embeded): www.anifran.org/modules.php?name=gallery2
Back to top
Offline View user's profile Send private message
tomjones4444

Novice
Novice


Joined: Jul 13, 2005
Posts: 29

PostPosted: Mon Jul 25, 2005 1:01 pm    Post subject: Re: G2 & Nuke 7.7 intergration problem Reply with quote

I am having the exact same issue. How was this resolved?

Here is my post from the Gallery forums where they directed me here:

PHP-Nuke 7.7
Gallery version = 2.0-beta-4 core 0.9.32
PHP version = 4.3.11 apache
Webserver = Apache/1.3.33 (Unix) PHP/4.3.11
Database = mysql 4.1.12
Toolkits = ArchiveUpload, Exif, NetPBM, ImageMagick, Thumbnail
Operating system = FreeBSD localhost.localdomain 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.icon_cool.gif Gecko/20050511 Firefox/1.0.4

Hello,
I am getting the following error when I try to access G2 integrated.

The requested URL /main.php was not found on this server.

It points me directly to alpine9.net/main.php even though the link shows http://www.alpine9.net/modules.php?name=gallery2.

Directly accessing my site works:
http://www.alpine9.net/modules/gallery2/main.php

I read through the stickies and found a few other people with this issue where moderators pointed them to the sticky, but couldn't find how to resolve the issue.

<?php
$g2embedparams = array (
'embedphpfile' => '/usr/local/www/data/modules/gallery2/',
'embedUri' => 'http://www.alpine9.net/modules.php?name=gallery2',
'relativeG2Path' => '/modules/gallery2/',
'loginRedirect' => 'modules.php?name=Your_Account',
'activeUserId' => '0',
);
$g2mainparams = array (
'showSidebar' => NULL,
);
$g2configurationdone = 'true';
?>

I read through the readme for integration and couldn't find any additional details.

I also have caching on, so could changing my settings (I have been playing around some and keep getting the same error) not really be showing from the caching?

Thanks for your help!
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Mon Jul 25, 2005 1:06 pm    Post subject: Re: G2 & Nuke 7.7 intergration problem Reply with quote

try making your relative g2path data/modules/gallery2/
_________________
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: 6221
Location: Washington Township, NJ, USA

PostPosted: Mon Jul 25, 2005 1:07 pm    Post subject: Re: G2 & Nuke 7.7 intergration problem Reply with quote

ananas wrote: › yes, i did.. I did install G2 on it's own DB and setup everything. it works fine strait linking to it.

working URL: www.anifran.org/modules/gallery2/main.php

not working URL (embeded): www.anifran.org/modules.php?name=gallery2


can you post your complete paths, with no "x"s blocking things? i know you want them blocked for security, but sometimes there are subtlties in the paths that will assist in providing you with a solution.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
tomjones4444

Novice
Novice


Joined: Jul 13, 2005
Posts: 29

PostPosted: Mon Jul 25, 2005 1:11 pm    Post subject: Re: G2 & Nuke 7.7 intergration problem Reply with quote

try making your relative g2path data/modules/gallery2/

Thanks. Tried with no luck. Should I need to clear my cache (eAccelerator)?
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Mon Jul 25, 2005 1:14 pm    Post subject: Re: G2 & Nuke 7.7 intergration problem Reply with quote

try it, yes.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
tomjones4444

Novice
Novice


Joined: Jul 13, 2005
Posts: 29

PostPosted: Mon Jul 25, 2005 1:28 pm    Post subject: Re: G2 & Nuke 7.7 intergration problem Reply with quote

Tried it, no dice. Then tried to change the relative g2path back to modules/gallery2/, cleared the cache again and still no luck.

Directly accessing works (as mentioned above), but for some reason, when I go to http://www.alpine9.net/modules.php?name=gallery2 it brings me to http://www.alpine9.net/main.php.

Any other thoughts? This should be fairly simple.

Thanks!
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Mon Jul 25, 2005 1:31 pm    Post subject: Re: G2 & Nuke 7.7 intergration problem Reply with quote

try tweaking the paths that you entered in the integration config. whenever i had that error msg, it was a path problem. are you 100% sure about the paths?
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
tomjones4444

Novice
Novice


Joined: Jul 13, 2005
Posts: 29

PostPosted: Mon Jul 25, 2005 2:48 pm    Post subject: Re: G2 & Nuke 7.7 intergration problem Reply with quote

Thanks again. Here are my full path for everything. Let me know if I'm missing something. Everything is based off of the main gallery path, correct? Thanks!

/usr/local/www/data/modules/gallery2

Do I have to click the "update main settings" each time I make changes as well? For each of these changes, I have only been clicking the "update embedded settings."

Tried everything I can think of. Caching is now completely turned off, so I don't have to worry about that anymore.
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Mon Jul 25, 2005 3:44 pm    Post subject: Re: G2 & Nuke 7.7 intergration problem Reply with quote

yes, everything is based off the main gallery path. if you want to double check if you have the path right, create a php file in your gallery2 directory and put the following in it:
PHP: › <?php echo dirname(__FILE__); ?>

and then view the file in your browser.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
tomjones4444

Novice
Novice


Joined: Jul 13, 2005
Posts: 29

PostPosted: Mon Jul 25, 2005 4:58 pm    Post subject: Re: G2 & Nuke 7.7 intergration problem Reply with quote

Thanks again. I put it up at:
http://www.alpine9.net/modules/gallery2/test.php
and it came back with
/usr/local/www/data-dist/modules/gallery2

(I have a shortcut which works in all other references where data-dist is just data. I switched it anyway and still no luck)

Update: I just tried the "if nothing else works, try to reupload everything and try again" and sure enough...

Thanks for walking me through troubleshooting, dari!
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Mon Jul 25, 2005 5:38 pm    Post subject: Re: G2 & Nuke 7.7 intergration problem Reply with quote

just for future user benefits...was it the missing "-dist" in your path that fixed it? (compare the path in your post above with the one in your first post).
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Issues » Gallery 2 Integration View previous topicPrinter friendly versionView next topic

 
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: Web HostingDomain NamesDedicated ServersDedicated Web HostingDomain Name RegistrationWeb hosting AustraliaSEO Web DesignWeb Design New YorkSearch Engine OptimizationSearch Engine Optimisation

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