Posted: Wed Jul 13, 2005 2:21 pm Post subject: Can't get Gallery2 integrated properly
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.
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:
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.
Joined: Mar 03, 2003 Posts: 6274 Location: Washington Township, NJ, USA
Posted: Thu Jul 14, 2005 7:00 am Post subject: Re: Can
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/
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'.
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