Create a FREE account or Login
As a guest, you don't have access to our FULL navigation system.
Author
Message
dari Site Admin Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
Posted: Thu Nov 10, 2005 12:23 pm Post subject: Re: [SOLVED] Blank page, nothing writing to G2 db
yes it matters. for the integration, it MUST be in the modules directory.
Back to top
AdBot
Post subject: Re: [SOLVED] Blank page, nothing writing to G2 db
Back to top
jorn Beginner Joined: Aug 03, 2003 Posts: 11
Posted: Thu Nov 10, 2005 1:58 pm Post subject: Re: [SOLVED] Blank page, nothing writing to G2 db
Okay, I was a good boy and moved it to modules/gallery2/ proper. And it works!
Well, sort of...
While the embedded G2 shows up, the icons are blank and any links result in a 404. http://knuttila.net/modules.php?name=gallery2
Stand-alone works fine http://knuttila.net/modules/gallery2/main.php
I even ran through a G2 install procedure to make sure it was happy. What am I missing here?
Back to top
dari Site Admin Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
Posted: Thu Nov 10, 2005 2:20 pm Post subject: Re: [SOLVED] Blank page, nothing writing to G2 db
post your gallery2.cfg file.
Back to top
jorn Beginner Joined: Aug 03, 2003 Posts: 11
Posted: Thu Nov 10, 2005 2:22 pm Post subject: Re: [SOLVED] Blank page, nothing writing to G2 db
<?php
$g2embedparams = array (
'embedphpfile' => '/usr/home/jorn/public_html/www/modules/gallery2/',
'embedUri' => 'modules.php?name=gallery2',
'relativeG2Path' => 'modules/gallery2/',
'loginRedirect' => 'modules.php?name=Your_Account',
'activeUserId' => '0',
'embedPath' => '/modules/gallery2/',
'cookiepath' => '/',
);
$g2mainparams = array (
'showSidebar' => NULL,
);
$g2configurationdone = 'true';
?>
Back to top
dari Site Admin Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
Posted: Thu Nov 10, 2005 2:23 pm Post subject: Re: [SOLVED] Blank page, nothing writing to G2 db
try:
'embedphpfile' => '/usr/home/jorn/public_html/www/modules/gallery2/',
'embedUri' => 'www/modules.php?name=gallery2',
'relativeG2Path' => 'www/modules/gallery2/',
'loginRedirect' => 'www/modules.php?name=Your_Account',
'activeUserId' => '0',
'embedPath' => 'www/modules/gallery2/',
'cookiepath' => '/www/',
Back to top
jorn Beginner Joined: Aug 03, 2003 Posts: 11
Posted: Thu Nov 10, 2005 2:33 pm Post subject: Re: [SOLVED] Blank page, nothing writing to G2 db
That didn't work, but this
'embedUri' => 'http://knuttila.net/modules.php?name=gallery2',
did... a little bit.
Now I have the navigation, but there are no images
Back to top
dari Site Admin Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
Posted: Thu Nov 10, 2005 2:33 pm Post subject: Re: [SOLVED] Blank page, nothing writing to G2 db
when you access your phpnuke page, what URL do you use?
Back to top
jorn Beginner Joined: Aug 03, 2003 Posts: 11
Posted: Thu Nov 10, 2005 2:38 pm Post subject: Re: [SOLVED] Blank page, nothing writing to G2 db
dari wrote: › when you access your phpnuke page, what URL do you use?
If I'm understanding your question correctly, that would be http://knuttila.net
Back to top
dari Site Admin Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
Posted: Thu Nov 10, 2005 2:45 pm Post subject: Re: [SOLVED] Blank page, nothing writing to G2 db
are you positive about this:
'embedphpfile' => '/usr/home/jorn/public_html/www/modules/gallery2/' ?
EDIT: Try this:
'embedphpfile' => '/usr/home/jorn/public_html/www/modules/gallery2/',
'embedUri' => modules.php?name=gallery2',
'relativeG2Path' => 'www/modules/gallery2/',
'loginRedirect' => modules.php?name=Your_Account',
'activeUserId' => '0',
'embedPath' => 'www/modules/gallery2/',
'cookiepath' => '/www/',
Basically, tweak the settings and tinker with/without the 'www' portion.
Back to top
jorn Beginner Joined: Aug 03, 2003 Posts: 11
Posted: Thu Nov 10, 2005 2:55 pm Post subject: Re: [SOLVED] Blank page, nothing writing to G2 db
dari wrote: › are you positive about this:
'embedphpfile' => '/usr/home/jorn/public_html/www/modules/gallery2/' ?
Absolutely.
Question: Does your embed code create a new embed.php? Mine is dated 8/22/2005, if that means anyting.
Quote: ›
EDIT: Try this:
'embedphpfile' => '/usr/home/jorn/public_html/www/modules/gallery2/',
'embedUri' => modules.php?name=gallery2',
'relativeG2Path' => 'www/modules/gallery2/',
'loginRedirect' => modules.php?name=Your_Account',
'activeUserId' => '0',
'embedPath' => 'www/modules/gallery2/',
'cookiepath' => '/www/',
Basically, tweak the settings and tinker with/without the 'www' portion.
I have. I'm curious about why you suggest the "www/" prepend? The doc root of my website is ~/public_html/www/ . If i plunk another "www" in the root path, there is no such dir. We should either go back to public_html/www/ or /usr/home/jorn/public_html/www/. No? What am I missing here?
Back to top
jorn Beginner Joined: Aug 03, 2003 Posts: 11
Back to top
jorn Beginner Joined: Aug 03, 2003 Posts: 11
Posted: Thu Nov 10, 2005 3:22 pm Post subject: Re: [SOLVED] Blank page, nothing writing to G2 db
It's running now. Ready for the -=why=-? Here comes the science...
My gallery2.cfg looks like this:
'embedphpfile' => '/usr/home/jorn/public_html/www/modules/gallery2/',
'embedUri' => 'modules.php?name=gallery2',
'relativeG2Path' => 'modules/gallery2/',
'loginRedirect' => 'modules.php?name=Your_Account',
'activeUserId' => '0',
'embedPath' => '',
'cookiepath' => '',
Here's where the crazy part comes in. It looked like the relative path seemed to think "Oh, relative to the G2 install, not the web root." Logically, I tried setting the 'relativeG2Path' to '' (nothing). But, then nothing worked. So, I set it as above and put a symlink in the G2 modules dir back to the root of the G2 install itself, like this
ln -s ~/public_html/www/modules/gallery2/ gallery2
This is The Wrong Thing To Do, but it works for now.
Back to top
dari Site Admin Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
Posted: Thu Nov 10, 2005 3:23 pm Post subject: Re: [SOLVED] Blank page, nothing writing to G2 db
actually, i get the image when i click on both of those links
DOH..just saw it, you've got:
'embedphpfile' => '/usr/home/jorn/public_html/www/modules/gallery2/',
'embedUri' => 'modules.php?name=gallery2',
'relativeG2Path' => 'modules/gallery2/',
'loginRedirect' => 'modules.php?name=Your_Account',
'activeUserId' => '0',
'embedPath' => '/modules/gallery2/',
'cookiepath' => '/',
your embedPath should just be / , not /modules/gallery2/.
Back to top
jorn Beginner Joined: Aug 03, 2003 Posts: 11
Posted: Thu Nov 10, 2005 3:54 pm Post subject: Re: [SOLVED] Blank page, nothing writing to G2 db
dari wrote: › actually, i get the image when i click on both of those links
That's because, by the time you had clicked on the 2nd (bad) link, I had put in my crazy looping symlink.
dari wrote: › DOH..just saw it, you've got:
'embedphpfile' => '/usr/home/jorn/public_html/www/modules/gallery2/',
'embedUri' => 'modules.php?name=gallery2',
'relativeG2Path' => 'modules/gallery2/',
'loginRedirect' => 'modules.php?name=Your_Account',
'activeUserId' => '0',
'embedPath' => '/modules/gallery2/',
'cookiepath' => '/',
your embedPath should just be / , not /modules/gallery2/.
hey, I think that works, too! (Coulda swore I tried that one a few times.)
Thanks!
Back to top
DangerGirl Beginner Joined: Nov 12, 2005 Posts: 2
Posted: Tue Nov 15, 2005 6:22 pm Post subject: Re: [SOLVED] Blank page, nothing writing to G2 db
I did a multisite gallery install, with the codebase being installed on http://www.savebrookus.darkcoalition.com/gallery/. I installed the multisite on http://www.savebrookus.darkcoalition.co ... gallery2/.
First, I hope that this could be done with gallery2 integration. Second, I get a blank page when I go to Export Users to Gallery2. Also, I have to manually edit the cfg file because the file doesn't get updated through the admin panel, though I have permissions set to 666 and tried 777 as well. Edit: Seems like sometimes it does and sometimes it doesn't - maybe that is my FTP jinxing me.
Any help is appreciated.
'embedphpfile' => '/home/myuser/public_html/savebrookus/modules/gallery2/',
'embedUri' => 'modules.php?name=gallery2',
'relativeG2Path' => 'modules/gallery2/',
'loginRedirect' => 'modules.php?name=Your_Account',
'activeUserId' => '0',
'embedPath' => '/',
'cookiepath' => '/',
Back to top
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