| Author |
Message |
eratic
Novice


Joined: Sep 11, 2004 Posts: 24
|
Posted: Mon Jun 06, 2005 1:39 pm Post subject: Having some trouble intergrating! |
|
|
OK, i've tryed all those other gallery modules for Nuke and am just fed up with them, have had so many problems, and could never understna dhow to get Gallery to work till now, so take it easy, this is my first time
Anywho, my website http://www.royalmilitia.com/wow is my site in which I want to embed the Gallery into. I have installed Gallery2 in the directory http://www.royalmilitia.com/wow/modules/gallery2/ and I believe everything is working just perfect! Yay, first part done.
Now for the intergration...How abouts do I do it? I have downloaded the Gallery2 Integration Pack and dont know what to really do with it. So being me, I just uploaded it to the main /dir and it seems like im getting the modules to be recognized through the admin panel. So, it looks correct so far.
When I go into the Gallery2 Module Administration area I fill out the informaton as shown:
Gallery2 Full filepath: /wow/modules/gallery2/
Embed URI: http://royalmilitia.com/wow/modules.php?name=gallery2
Relative G2 path: /gallery2/
Login redirect: modules.php?name=Your_Account
Active User ID: 0
Then I click the Update Embed Options and get
Code: ›
Error : Gallery2 Full filepath
You need to install and configure G2 first.Then this field must point to your Gallery2 root folder.
Now what is going on...? Can anyone help me, if any more details are needed I will do my best to help. Or if someone wants to contact me on MSN that would be appreciated, sluggerdan100@hotmail.com
Thanks guys! |
|
| Back to top |
|
|
AdBot
|
| Post subject: Having some trouble intergrating! |
|
|
|
|
|
| Back to top |
|
 |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Mon Jun 06, 2005 4:04 pm Post subject: Re: Having some trouble intergrating! |
|
|
| make sure that you actually configured G2 via the G2 setup wizard, in addition to the embedding setup you did... |
|
| Back to top |
|
|
eratic
Novice


Joined: Sep 11, 2004 Posts: 24
|
Posted: Mon Jun 06, 2005 5:08 pm Post subject: Re: Having some trouble intergrating! |
|
|
| G2 stands for Gallery2 correct? I believe I did, but just for reference what page is it on in the setup wizard, and what step? one or two? what heading? and what should it be set to? |
|
| Back to top |
|
|
dari
Site Admin


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


Joined: Sep 11, 2004 Posts: 24
|
Posted: Mon Jun 06, 2005 5:34 pm Post subject: Re: Having some trouble intergrating! |
|
|
I get the message...
Code: › The module has not yet been configured.
How do I configure it? |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Tue Jun 07, 2005 11:32 am Post subject: Re: Having some trouble intergrating! |
|
|
| by going to your phpnuke admin panel, and selecting the Gallery2 icon. |
|
| Back to top |
|
|
eratic
Novice


Joined: Sep 11, 2004 Posts: 24
|
Posted: Tue Jun 07, 2005 12:13 pm Post subject: Re: Having some trouble intergrating! |
|
|
OK I am pretty sure its just my embed options are just wrong...heres what I have set. I got past that last error, it now lets me configure the settings in the G2 Admin Panel. So if you could let me know what is wrong in the following Embeding Options:
Gallery2 Full filepath: modules/gallery2
Embed URI: http://www.royalmilitia.com/wow/modules ... e=gallery2
Relative G2 path: modules/gallery2
Login redirect: modules.php?name=Your_Account
Active User ID: 0
My working gallery is located in the directory:
http://royalmilitia.com/wow/modules/gallery2
Just another quick question...Is this gallery 2 installed at the above URL, because at the bottom it says Gallery v1, am i seeing things? Let me know...may I have to upgrade to G2? |
|
| Back to top |
|
|
eratic
Novice


Joined: Sep 11, 2004 Posts: 24
|
Posted: Tue Jun 07, 2005 12:18 pm Post subject: Re: Having some trouble intergrating! |
|
|
I also changed the one variable to true to enable it to what error messages I was still getting and hopefully they can help...
Code: › Warning: main(modules/gallery2/embed.php): failed to open stream: No such file or directory in /var/www/html/wow/modules/gallery2/index.php on line 172
Fatal error: main(): Failed opening required 'modules/gallery2/embed.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/wow/modules/gallery2/index.php on line 172
I also noticed that I dont even have the embed.php file in that directory where is it? Or where should it be? |
|
| Back to top |
|
|
Kit
Moderator


Joined: Aug 31, 2003 Posts: 163
|
Posted: Tue Jun 07, 2005 3:32 pm Post subject: Re: Having some trouble intergrating! |
|
|
| If this is a new gallery, meaning not an upgrade or existing albums, I would remove the /gallery2/ directory + files then upload from a fresh unzip. I ran into some problems in the past with corrupted files even though everything looked ok. |
|
| Back to top |
|
|
eratic
Novice


Joined: Sep 11, 2004 Posts: 24
|
Posted: Tue Jun 07, 2005 4:35 pm Post subject: Re: Having some trouble intergrating! |
|
|
| I will try that. Will report on problems after im back from it. CAn't hurt... |
|
| Back to top |
|
|
eratic
Novice


Joined: Sep 11, 2004 Posts: 24
|
Posted: Wed Jun 08, 2005 7:06 pm Post subject: Re: Having some trouble intergrating! |
|
|
Ok I now have my new and 100% correct versioned gallery installed at http://www.royalmilitia.com/wow/modules ... 2/main.php
But I go to http://www.royalmilitia.com/wow/modules ... e=gallery2 and still get the error "The module has not yet been configured.".
I have installed everything correctly, I think its just the configuration file for the intergration that has some wrong paths. Here it is...
<?
$g2embedparams = array (
'embedphpfile' => '/wow/modules/gallery2',
'embedUri' => 'http://royalmilitia.com/wow/modules.php?name=gallery2',
'relativeG2Path' => '/gallery2/',
'loginRedirect' => 'wow/modules.php?name=Your_Account',
'activeUserId' => '0',
);
$g2mainparams = array (
'showSidebar' => 'true',
);
$g2configurationdone = 'true'; ?>
And it shows the error:
Warning: main(/wow/modules/gallery2/embed.php): failed to open stream: No such file or directory in /var/www/html/wow/modules/gallery2/index.php on line 172
Fatal error: main(): Failed opening required '/wow/modules/gallery2/embed.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/wow/modules/gallery2/index.php on line 172
Same error as last time Help me
EDITED
OK I changed the
'embedphpfile' => '/wow/modules/gallery2',
to
'embedphpfile' => 'modules/gallery2',
and now am getting the error
Failed to create G2 user with extId [admin]. Here is the error message from G2:
Error (ERROR_BAD_PARAMETER)
* in modules/core/classes/GalleryEmbed.class at line 259 (gallerystatus::error)
* in index.html at line 212 (galleryembed::createuser)
* in /var/www/html/wow/modules.php at line 61
At least im getting somewhere I hope!
EDITED AGAIN
Used your search tool and found a fix. Now im just getting the allocation error, which I was expecting to happen sooner or later cause it warned me in the setup that my memory allocation was low...is there any way I change this myself, I did put the .htaccess file in the /dir but it seems not to be helping i guess. Do I have to contact the web hosting service? Or can I send some sort of code to the server myself? Im getting the
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 46080 bytes) in /var/www/html/wow/modules/gallery2/lib/smarty/Smarty_Compiler.class.php on line 474
LEt me know Im moving slowly! |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Thu Jun 09, 2005 6:34 am Post subject: Re: Having some trouble intergrating! |
|
|
try adding this to .htaccess:
Code: › php_value memory_limit "16M" |
|
| Back to top |
|
|
eratic
Novice


Joined: Sep 11, 2004 Posts: 24
|
Posted: Thu Jun 09, 2005 3:14 pm Post subject: Re: Having some trouble intergrating! |
|
|
OK i got the server to change it. Now I have got another problem, does it ever end
I got the gallery installed at http://www.royalmilitia.com/wow/modules ... e=gallery2 and everything I click on gives me a This module is not active return...and the thumbnails are broken links...whats going on? |
|
| Back to top |
|
|
eratic
Novice


Joined: Sep 11, 2004 Posts: 24
|
Posted: Thu Jun 09, 2005 3:27 pm Post subject: Re: Having some trouble intergrating! |
|
|
All of the links also are showing up as almost a loop.
Code: › http://royalmilitia.com/wow/modules.php?name=gallery2&g2_view=members:MembersList&g2_return=http%3A%2F%2Fwww.royalmilitia.com%2Fwow%2Fmodules.php%3Fname%3Dgallery2&g2_returnName=album |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Fri Jun 10, 2005 6:10 am Post subject: Re: Having some trouble intergrating! |
|
|
Hehe..please keep in mind that G2 is still beta, as is the integration package.
Did you activate the module via the admin CP in nuke? |
|
| Back to top |
|
|
|
|
|
|
|