| Author | Message |
| Post Title: G2 & Nuke 7.7 intergration problem | |
ananas
Joined: Apr 10, 2005 Posts: 4
|
Posted: Fri Jun 03, 2005 8:57 am
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: › <?
|
| Author | Message |
| Post Title: Re: G2 & Nuke 7.7 intergration problem | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Fri Jun 03, 2005 8:50 pm
did you actually go and do the Gallery2 setup (separate from the G2/phpNuke integration setup)?
|
| Author | Message |
| Post Title: Re: G2 & Nuke 7.7 intergration problem | |
ananas
Joined: Apr 10, 2005 Posts: 4
|
Posted: Fri Jun 03, 2005 9:05 pm
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 |
| Author | Message |
| Post Title: Re: G2 & Nuke 7.7 intergration problem | |
tomjones4444
Joined: Jul 13, 2005 Posts: 29
|
Posted: Mon Jul 25, 2005 1:01 pm
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! |
| Author | Message |
| Post Title: Re: G2 & Nuke 7.7 intergration problem | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Mon Jul 25, 2005 1:06 pm
try making your relative g2path data/modules/gallery2/
|
| Author | Message |
| Post Title: Re: G2 & Nuke 7.7 intergration problem | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Mon Jul 25, 2005 1:07 pm
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. |
| Author | Message |
| Post Title: Re: G2 & Nuke 7.7 intergration problem | |
tomjones4444
Joined: Jul 13, 2005 Posts: 29
|
Posted: Mon Jul 25, 2005 1:11 pm
try making your relative g2path data/modules/gallery2/
Thanks. Tried with no luck. Should I need to clear my cache (eAccelerator)? |
| Author | Message |
| Post Title: Re: G2 & Nuke 7.7 intergration problem | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Mon Jul 25, 2005 1:14 pm
try it, yes.
|
| Author | Message |
| Post Title: Re: G2 & Nuke 7.7 intergration problem | |
tomjones4444
Joined: Jul 13, 2005 Posts: 29
|
Posted: Mon Jul 25, 2005 1:28 pm
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! |
| Author | Message |
| Post Title: Re: G2 & Nuke 7.7 intergration problem | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Mon Jul 25, 2005 1:31 pm
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?
|
| Author | Message |
| Post Title: Re: G2 & Nuke 7.7 intergration problem | |
tomjones4444
Joined: Jul 13, 2005 Posts: 29
|
Posted: Mon Jul 25, 2005 2:48 pm
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. |
| Author | Message |
| Post Title: Re: G2 & Nuke 7.7 intergration problem | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Mon Jul 25, 2005 3:44 pm
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. |
| Author | Message |
| Post Title: Re: G2 & Nuke 7.7 intergration problem | |
tomjones4444
Joined: Jul 13, 2005 Posts: 29
|
Posted: Mon Jul 25, 2005 4:58 pm
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! |
| Author | Message |
| Post Title: Re: G2 & Nuke 7.7 intergration problem | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Mon Jul 25, 2005 5:38 pm
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).
|