| Author |
Message |
ananas
Beginner


Joined: Apr 10, 2005 Posts: 4
|
Posted: Fri Jun 03, 2005 8:57 am Post subject: G2 & Nuke 7.7 intergration problem |
|
|
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 |
|
|
AdBot
|
| Post subject: G2 & Nuke 7.7 intergration problem |
|
|
|
|
|
| Back to top |
|
 |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6261 Location: Washington Township, NJ, USA
|
Posted: Fri Jun 03, 2005 8:50 pm Post subject: Re: G2 & Nuke 7.7 intergration problem |
|
|
did you actually go and do the Gallery2 setup (separate from the G2/phpNuke integration setup)? _________________
 |
|
| Back to top |
|
|
ananas
Beginner


Joined: Apr 10, 2005 Posts: 4
|
|
| Back to top |
|
|
tomjones4444
Novice


Joined: Jul 13, 2005 Posts: 29
|
Posted: Mon Jul 25, 2005 1:01 pm Post subject: Re: G2 & Nuke 7.7 intergration problem |
|
|
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 |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6261 Location: Washington Township, NJ, USA
|
Posted: Mon Jul 25, 2005 1:06 pm Post subject: Re: G2 & Nuke 7.7 intergration problem |
|
|
try making your relative g2path data/modules/gallery2/ _________________
 |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6261 Location: Washington Township, NJ, USA
|
Posted: Mon Jul 25, 2005 1:07 pm Post subject: Re: G2 & Nuke 7.7 intergration problem |
|
|
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 |
|
|
tomjones4444
Novice


Joined: Jul 13, 2005 Posts: 29
|
Posted: Mon Jul 25, 2005 1:11 pm Post subject: Re: G2 & Nuke 7.7 intergration problem |
|
|
try making your relative g2path data/modules/gallery2/
Thanks. Tried with no luck. Should I need to clear my cache (eAccelerator)? |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6261 Location: Washington Township, NJ, USA
|
Posted: Mon Jul 25, 2005 1:14 pm Post subject: Re: G2 & Nuke 7.7 intergration problem |
|
|
try it, yes. _________________
 |
|
| Back to top |
|
|
tomjones4444
Novice


Joined: Jul 13, 2005 Posts: 29
|
Posted: Mon Jul 25, 2005 1:28 pm Post subject: Re: G2 & Nuke 7.7 intergration problem |
|
|
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 |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6261 Location: Washington Township, NJ, USA
|
Posted: Mon Jul 25, 2005 1:31 pm Post subject: Re: G2 & Nuke 7.7 intergration problem |
|
|
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 |
|
|
tomjones4444
Novice


Joined: Jul 13, 2005 Posts: 29
|
Posted: Mon Jul 25, 2005 2:48 pm Post subject: Re: G2 & Nuke 7.7 intergration problem |
|
|
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 |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6261 Location: Washington Township, NJ, USA
|
|
| Back to top |
|
|
tomjones4444
Novice


Joined: Jul 13, 2005 Posts: 29
|
Posted: Mon Jul 25, 2005 4:58 pm Post subject: Re: G2 & Nuke 7.7 intergration problem |
|
|
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 |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6261 Location: Washington Township, NJ, USA
|
Posted: Mon Jul 25, 2005 5:38 pm Post subject: Re: G2 & Nuke 7.7 intergration problem |
|
|
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 |
|
|
|
|
|
|
|