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  

Can't get Gallery2 integrated properly

 
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
JoelK

Beginner
Beginner


Joined: Jul 13, 2005
Posts: 5

PostPosted: Wed Jul 13, 2005 2:21 pm    Post subject: Can't get Gallery2 integrated properly Reply with quote

Well, I have everything installed, and like many other people when I go directly to my gallery install it works, however I cannot get it to be embedded into phpnuke.

This works:
http://graphicsgurus.net/modules/gallery2/main.php

This does not:
http://graphicsgurus.net/modules.php?name=gallery2

When I click on the second link I get "This modules has not yet been configured".

I read the other thread pertaining to that error message. I tried changing my gallery.conf file about 1000 different times with no luck. Here is the .conf file:

Code: ›
<?
$g2embedparams = array (
  'embedphpfile' => 'modules/gallery2',
  'embedUri' => 'http://graphicsgurus.net/modules.php?name=gallery2',
  'relativeG2Path' => 'modules/gallery2',
  'loginRedirect' => 'modules.php?name=Your_Account',
  'activeUserId' => '0',
);
$g2mainparams = array (
  'showSidebar' => 'true',
);
$g2configurationdone = 'false';
?>


I already tried changing the embedphpfile to the full directory path, and then cutting it down one directory at a time, with no luck. I tried adding back slashes to see if it was just a server read error, but again, nothing.

When I change the configurationdone to "true" and I click on the link, I get a blank page. I checked my /var/log/httpd/error_log and this is what I found:

Code: ›
[client 192.168.1.1] PHP Notice:  Undefined index:  HTTP_ACCEPT_ENCODING in /var/www/html/nuke/mainfile.php on line 45, referer: http://graphicsgurus.net/modules.php?name=gallery2
[client 192.168.1.1] PHP Notice:  import_request_variables(): No prefix specified - possible security hazard in /var/www/html/nuke/mainfile.php on line 62, referer: http://graphicsgurus.net/modules.php?name=gallery2
[client 192.168.1.1] PHP Notice:  Constant _YOUHAVE already defined in /var/www/html/nuke/language/lang-english.php on line 159, referer: http://graphicsgurus.net/modules.php?name=gallery2
[client 192.168.1.1] PHP Notice:  Undefined index:  2 in /var/www/html/nuke/mainfile.php on line 257, referer: http://graphicsgurus.net/modules.php?name=gallery2
[client 192.168.1.1] PHP Notice:  Undefined index:  2 in /var/www/html/nuke/mainfile.php on line 257, referer: http://graphicsgurus.net/modules.php?name=gallery2
[client 192.168.1.1] PHP Notice:  Undefined variable:  gfx in /var/www/html/nuke/mainfile.php on line 1224, referer: http://graphicsgurus.net/modules.php?name=gallery2
[client 192.168.1.1] PHP Notice:  Undefined index:  2 in /var/www/html/nuke/mainfile.php on line 257, referer: http://graphicsgurus.net/modules.php?name=gallery2
[client 192.168.1.1] PHP Notice:  Use of undefined constant admin - assumed 'admin' in /var/www/html/nuke/mainfile.php on line 210, referer: http://graphicsgurus.net/modules.php?name=gallery2
[client 192.168.1.1] PHP Notice:  Use of undefined constant embedphpfile - assumed 'embedphpfile' in /var/www/html/nuke/modules/gallery2/index.php on line 343, referer: http://graphicsgurus.net/modules.php?name=gallery2
[client 192.168.1.1] PHP Notice:  Use of undefined constant embedUri - assumed 'embedUri' in /var/www/html/nuke/modules/gallery2/index.php on line 353, referer: http://graphicsgurus.net/modules.php?name=gallery2
[client 192.168.1.1] PHP Notice:  Use of undefined constant relativeG2Path - assumed 'relativeG2Path' in /var/www/html/nuke/modules/gallery2/index.php on line 355, referer: http://graphicsgurus.net/modules.php?name=gallery2
[client 192.168.1.1] PHP Notice:  Use of undefined constant loginRedirect - assumed 'loginRedirect' in /var/www/html/nuke/modules/gallery2/index.php on line 357, referer: http://graphicsgurus.net/modules.php?name=gallery2
[client 192.168.1.1] PHP Warning:  Missing argument 2 for init() in /var/www/html/nuke/modules/gallery2/embed.php on line 47, referer: http://graphicsgurus.net/modules.php?name=gallery2
[client 192.168.1.1] PHP Warning:  Missing argument 3 for init() in /var/www/html/nuke/modules/gallery2/embed.php on line 47, referer: http://graphicsgurus.net/modules.php?name=gallery2
[client 192.168.1.1] PHP Fatal error:  Call to a member function on a non-object in /var/www/html/nuke/modules/gallery2/index.php on line 365, referer: http://graphicsgurus.net/modules.php?name=gallery2


I'm honestly ready to rip my hair out. I need an image gallery (as my website deals with graphics) but I can't get gallery2 to work.



Also I can't seem to get thumbnails working using ImageMagick. I have it installed in /downloads/ImageMagick-6.2.3/

I have my binaries pointed to /downloads/ImageMagick-6.2.3/utilities/

2 of the 3 scripts pass, but the composite script always fails to run. I changed the ownership and permissions on my server, and it didn't do anything.
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Can't get Gallery2 integrated properly  

Back to top
dari

Site Admin
Site Admin


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

PostPosted: Thu Jul 14, 2005 7:00 am    Post subject: Re: Can Reply with quote

Your embedphpfile is wrong.
Your relativeG2Path is wrong.

From the README.txt [sourceforge.net] file of the integration package:
Dari wrote: › Gallery2 Embedding Settings:
---------------------------

The following fields must be properly set for the embedding to function.
1. "Full path to your Gallery2 directory" - This is the complete path to your Gallery2
installation. For example: /home/myuser/public_html/nuke/modules/gallery2/

2. "URL to your embedded Gallery" - This is the URL that would take you to your embedded
Gallery2 installation. For example: http://www.mysite.com/nuke/modules.php?name=gallery2

3. "Relative path to your Gallery2 directory" - This is the path to your Gallery2 directory
relative to your root web directory. For example: /nuke/modules/gallery2/

4. "URL for user login" - This is the URL which users would visit to log into your PHPNuke site,
normally via the Your_Account module. For example: nuke/modules.php?name=Your_Account

5. "Active User ID" - You can safely leave this set to '0'.

_________________
Back to top
Offline View user's profile Send private message Visit poster's website
JoelK

Beginner
Beginner


Joined: Jul 13, 2005
Posts: 5

PostPosted: Fri Jul 15, 2005 6:04 pm    Post subject: Re: Can Reply with quote

Tried that, here is my config file:

Code: ›
<?
$g2embedparams = array (
  'embedphpfile' => '/var/www/html/nuke/modules/gallery2/',
  'embedUri' => 'http://www.graphicsgurus.net/modules.php?name=gallery2',
  'relativeG2Path' => '/nuke/modules/gallery2/',
  'loginRedirect' => '/nuke/modules.php?name=Your_Account',
  'activeUserId' => '0',
);
$g2mainparams = array (
  'showSidebar' => NULL,
);
$g2configurationdone = 'true';

?>


Still doesn't work.

I can't seem to export the users as well, I get a blank page, not sure what is going on as I see no error messages.
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Sat Jul 16, 2005 7:22 am    Post subject: Re: Can Reply with quote

i get a module not active notice trying to access http://www.graphicsgurus.net/modules.php?name=gallery2

please activate it...
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
JoelK

Beginner
Beginner


Joined: Jul 13, 2005
Posts: 5

PostPosted: Sat Jul 16, 2005 5:34 pm    Post subject: Re: Can Reply with quote

Whoops, sorry, its active now.
Back to top
Offline View user's profile Send private message
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 HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSearch Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaSEO

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