| Author | Message |
| Post Title: [SOLVED] Blank page, nothing writing to G2 db | |
okiregistered
Joined: Sep 14, 2005 Posts: 4
|
Posted: Thu Sep 15, 2005 12:02 pm
Ok, if you are getting a blank page and your 'embedphpfile' argument in your config file is in good shape (ie., trailing slash is there), then you may have MySQL improperly configured under G2's main installer.
Re-run the installer (http://www.yourdomain.com/modules/gallery2/install/). It will complain that a few files were altered (like index.php). That's fine, those are now Nuke files, ignore that error and continue. When you get to the db setup, make sure you select 'MySQL (all versions)' from the drop-down. If you select MySQL with Transactions, then your db cannot be written to and you will get a blank page when you load as a Nuke module. It would be best to allow the installer to wipe the db and install fresh tables. Login as Nuke Admin and re-do the Nuke export. Using phpMyAdmin or similar, check the G2 user table and verify it is being written to with the Nuke users. If it is, then your module will most likely load now. - ok |
| Author | Message |
| Post Title: Re: Blank page, nothing writing to G2 db ->> Solution | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Thu Sep 15, 2005 12:32 pm
Thank you sir
I will post this as a sticky |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
charleseroy
Joined: Feb 23, 2004 Posts: 3
|
Posted: Thu Sep 15, 2005 8:32 pm
okiregistered wrote: › Ok, if you are getting a blank page and your 'embedphpfile' argument in your config file is in good shape (ie., trailing slash is there), then you may have MySQL improperly configured under G2's main installer.
... 'MySQL (all versions)' from the drop-down. If you select MySQL with Transactions I installed Gallery 2 and standalone installed and operated fine. In installed the nukedgallery files. I get the blank page as described above even when I use MySQL (all versions) as the DB type. So the problem still exists for me despite the above suggestion. Cheers |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Fri Sep 16, 2005 6:25 am
post your gallery2.cfg file contents.
|
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
bigdmeister
Joined: Sep 03, 2003 Posts: 429
|
Posted: Sat Sep 17, 2005 3:30 pm
I have the same blank page problem.
gallery2.cfg: Code: › <?php
$g2embedparams = array ( 'embedphpfile' => '/home/XXXXX/public_html/evo/modules/Gallery2/', 'embedUri' => 'modules.php?name=Gallery2', 'relativeG2Path' => 'modules/Gallery2/', 'loginRedirect' => 'modules.php?name=Your_Account', 'activeUserId' => '0', 'embedPath' => '/evo/', 'cookiepath' => '/', ); $g2mainparams = array ( 'showSidebar' => NULL, ); $g2configurationdone = 'false'; ?> I also still have a problem with my user export: Code: › Failed to create G2 user with extId [2]. Here is the error message from G2:
Error (ERROR_COLLISION) * in modules/core/classes/GalleryUser.class at line 166 (gallerystatus::error) * in modules/core/classes/GalleryEmbed.class at line 300 (galleryuser::create) * in admin/index.php at line 320 (galleryembed::createuser) * in admin/index.php at line 575 * in admin/index.php at line 609 * in /home/XXXXX/public_html/evo/admin/case/case.gallery2.php at line 55 * in /home/dallas/public_html/evo/admin.php at line 706 I have searched and read the following posts and followed the advice there with no change: http://www.nukedgallery.net/postx1901-0-0.htmlmodule http://www.nukedgallery.net/postx1812-0-0.htmlmodule In the last forum referenced [nukedgallery.net] above, Dari, you said to "replace the index.html file in the gallery2 directory with the one that came in the install package?" but the only index.html I could find was the one in the language directory (0KB). I just downloaded the package again and still don't see what you were talking about unless you meant index.html I have had no problems with G1.X but would like to move onward and upward with G2. I should mention that I am using Nuke Evolution - http://www.nuke-evolution.com/index.php where one or two members have been successful but I haven't heard back from them on how they exported their users. I should also mention that I changed from /modules/gallery2/ to /modules/Gallery2/ and have made the changes referenced in the "Gallery2 Release Candidate 2 PHPNuke Integration Package". And I'm sure it goes without saying that any help would be highly appreciated EDIT http://www.nukedgallery.net/postx1907-0 ... rcollision fixed the user export problem. That must have fixed the blank page problem. Seems to be working now but I'll be back if there's more... |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
EricInHouston
Joined: Sep 21, 2003 Posts: 1
|
Posted: Sun Sep 18, 2005 9:23 am
bigdmeister wrote: › I have the same blank page problem.
gallery2.cfg: Code: › <?php
$g2embedparams = array ( 'embedphpfile' => '/home/XXXXX/public_html/evo/modules/Gallery2/', 'embedUri' => 'modules.php?name=Gallery2', 'relativeG2Path' => 'modules/Gallery2/', 'loginRedirect' => 'modules.php?name=Your_Account', 'activeUserId' => '0', 'embedPath' => '/evo/', 'cookiepath' => '/', ); $g2mainparams = array ( 'showSidebar' => NULL, ); $g2configurationdone = 'false'; ?> I had the same problem, bigdmeister. I fixed it by playing around with the gallery2.cfg file. Here's how mine looks: Code: ›
<?php $g2embedparams = array ( 'embedphpfile' => '/usr/local/apache/htdocs/xxxxxxxxxx/modules/gallery2/galle$ 'embedUri' => 'http://www.mydomain.net/modules.php?name=gallery2', 'relativeG2Path' => '/modules/gallery2/gallery2/', 'loginRedirect' => 'modules.php?name=Your_Account', 'activeUserId' => '0', 'embedPath' => '/', 'cookiepath' => '/', ); $g2mainparams = array ( 'showSidebar' => 'NULL', ); $g2configurationdone = 'true'; ?> I hope that this helps. Regards, Eric |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
charleseroy
Joined: Feb 23, 2004 Posts: 3
|
Posted: Sun Sep 18, 2005 1:18 pm
dari wrote: › post your gallery2.cfg file contents.
I ran out of time to play with Gallery2/NukeGallery so I deleted the install to save some room. (I had to... as I discovered I need to get a larger hosting package... I bumped past my 5GB web site limit when playing with Gallery2 standalone importing a few Gallery1 albums.) I will likely only be able to look at this next week at the earliest. Sorry. I will post my cfg file then to see if that helps. Thanks for trying to help. It is appreciated. |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
fulbrich
Joined: Aug 18, 2005 Posts: 28 Location: NRW/Germany
|
Posted: Mon Sep 19, 2005 4:35 am
http://www.nukedgallery.net/postp11218.html#11218
This is my solution for "blank pages" -> missing language file. |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
penner
Joined: Oct 03, 2005 Posts: 2
|
Posted: Mon Oct 03, 2005 6:24 pm
I can't get past the blank page issue.
everything is installed in the default dir /modules/gallery2 and my page is on the on root of the url I selected the all versions mysql as posted above but i still get a blank page when attempting to view the gallery from the module menu in my site originally i got a not configured error. but now it's completly blank the user's export fine to the database.. (at least no errors are reported) i would check to see if they are in the database by loging into the gallery from the main.php but i cant seem to access the site admin anymore.. any thoughts? useing Version: 0.2 (13th february 2005) of your integration module gallery 2 phpnuke 7.7( i'm hopeing this is not theissue) Code: ›
<?php $g2embedparams = array ( 'embedphpfile' => '/home/olivers/public_html/modules/gallery2', 'embedUri' => 'http://www.olivers.ca/modules.php?name=gallery2', 'relativeG2Path' => 'modules/gallery2/', 'loginRedirect' => 'http://www.olivers.ca/modules.php?name=Your_Account', 'activeUserId' => '0', 'embedPath' => '/', 'cookiepath' => '/', ); $g2mainparams = array ( 'showSidebar' => '1', ); $g2configurationdone = 'true'; ?> |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
penner
Joined: Oct 03, 2005 Posts: 2
|
Posted: Tue Oct 04, 2005 2:52 am
well ignore that.. i seem to have gotten it working... i dont know what i did.. just went through and resinsalled gallery and your module a couple times.. andit now works..
thnx for all the work... |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
xPatryk
Joined: Oct 30, 2005 Posts: 11
|
Posted: Sat Nov 05, 2005 1:00 pm
Hello,
I've other problem with user exporting - it's display message like this: Failed to create G2 user with extId [2]. Here is the error message from G2: Error (ERROR_MISSING_OBJECT) in /home/qn/modules/galeria/modules/core/classes/GalleryEmbed.class at line 297 (gallerystatus::error) in /home/qn/modules/galeria/admin/index.php at line 320 (galleryembed::createuser) in /home/qn/modules/galeria/admin/index.php at line 575 in /home/qn/modules/galeria/admin/index.php at line 609 in /home/qn/admin/case/case.gallery2.php at line 55 in /home/qn/admin.php at line 539 and I don't know, what I can do to solve this problem ;/ Could you help me? (I'm sorry for my bad english ;{ ) |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Mon Nov 07, 2005 8:45 am
please search, this has been answered.
|
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
jorn
Joined: Aug 03, 2003 Posts: 11
|
Posted: Thu Nov 10, 2005 12:07 pm
I'm one of those people who has done -=everything=- suggested in this post and others and still gets a blank page when attempting to access the embedded G2 installation.
Gallery 2.0.1 PHPNuke 7.7 Turned mod_rewrite on/off installed G2 and mod many times twiddled with gallery2.cfg over and over again Gallery url: http://knuttila.net/gallery gallery2.cfg as follows: <?php $g2embedparams = array ( 'embedphpfile' => '/usr/home/jorn/public_html/www/gallery/', 'embedUri' => 'modules.php?name=gallery2', 'relativeG2Path' => 'modules/gallery2/', 'loginRedirect' => 'modules.php?name=Your_Account', 'activeUserId' => '0', 'embedPath' => '/', 'cookiepath' => '/', ); $g2mainparams = array ( 'showSidebar' => NULL, ); $g2configurationdone = 'true'; ?> I'm befuddled. Please make the hurting stop. |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Thu Nov 10, 2005 12:10 pm
G2 must be installed in the modules directory. please read the README.
|
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
jorn
Joined: Aug 03, 2003 Posts: 11
|
Posted: Thu Nov 10, 2005 12:22 pm
I have a symbolic link like this:
modules/gallery2@ --> gallery/ Should it really care? |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Thu Nov 10, 2005 12:23 pm
yes it matters. for the integration, it MUST be in the modules directory.
|
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
jorn
Joined: Aug 03, 2003 Posts: 11
|
Posted: Thu Nov 10, 2005 1:58 pm
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? |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Thu Nov 10, 2005 2:20 pm
post your gallery2.cfg file.
|
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
jorn
Joined: Aug 03, 2003 Posts: 11
|
Posted: Thu Nov 10, 2005 2:22 pm
<?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'; ?> |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Thu Nov 10, 2005 2:23 pm
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/', |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
jorn
Joined: Aug 03, 2003 Posts: 11
|
Posted: Thu Nov 10, 2005 2:33 pm
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 |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Thu Nov 10, 2005 2:33 pm
when you access your phpnuke page, what URL do you use?
|
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
jorn
Joined: Aug 03, 2003 Posts: 11
|
Posted: Thu Nov 10, 2005 2:38 pm
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 |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Thu Nov 10, 2005 2:45 pm
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. |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
jorn
Joined: Aug 03, 2003 Posts: 11
|
Posted: Thu Nov 10, 2005 2:55 pm
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? |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
jorn
Joined: Aug 03, 2003 Posts: 11
|
Posted: Thu Nov 10, 2005 3:10 pm
It looks like the urls for the images are getting "/modules/gallery2/" put in there twice.
For example, http://knuttila.net/modules/gallery2/ma ... alNumber=7 turns into http://knuttila.net/modules/gallery2/mo ... alNumber=7 The latter, of course, does exist. I think this might be a crucial clue in this scooby-doo mystery... |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
jorn
Joined: Aug 03, 2003 Posts: 11
|
Posted: Thu Nov 10, 2005 3:22 pm
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. |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Thu Nov 10, 2005 3:23 pm
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/. |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
jorn
Joined: Aug 03, 2003 Posts: 11
|
Posted: Thu Nov 10, 2005 3:54 pm
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! |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
DangerGirl
Joined: Nov 12, 2005 Posts: 2
|
Posted: Tue Nov 15, 2005 6:22 pm
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' => '/', |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Wed Nov 16, 2005 7:34 am
I've not done a multisite embedded install, though i think it works the same as a normal multisite install.
try these values: Code: › 'embedphpfile' => '/home/myuser/public_html/savebrookus/modules/gallery2/',
'embedUri' => '/savebrookus/modules.php?name=gallery2', 'relativeG2Path' => '/savebrookus/modules/gallery2/', 'loginRedirect' => '/savebrookus/modules.php?name=Your_Account', 'activeUserId' => '0', 'embedPath' => '/savebrookus/', 'cookiepath' => '/', |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
DangerGirl
Joined: Nov 12, 2005 Posts: 2
|
Posted: Wed Nov 16, 2005 6:54 pm
Thanks for helping out. When I go to the module in the admin panel, the settings information stays as it was previously, it won't update even if I add in the setting info myself in the panel. If I do input the info, then it overwrites the new cfg file I uploaded with the old information.
Btw, if I just upload the new cfg file and leave the old settings on the panel alone, and go to Export Users to Gallery2, I will still get a white page. |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Thu Nov 17, 2005 7:50 am
try the newest integration package, updated yesterday.
|
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
anoopjohn
Joined: Mar 28, 2005 Posts: 10 Location: Hackensack, NJ
|
Posted: Sat Nov 19, 2005 10:59 pm
I have been trying to set up gallery 2 on my phpnuke site for almost straight 24 hours now. I usually dont give up but looks like I am totally lost.
It is the admin blank page issue. I downloaded the gallery 2 from the nukedgallery site and then the latest gallery2 integration package from http://galleryupdates.jpmullan.com/inte ... hpnuke.zip I installed phpnuke and gallery 2 on my local pc which is a windows server and set up gallery 2 and integrated and everything is working fine. When i tried to duplicate the effort on my public site things not working as expected. The standalone gallery is working fine. However when i try to set the Gallery2 Integration Settings I get a blank page. I then went and edited the gallery.cfg file. I still the blank page (popup) when i try to export the users. The funny thing is that the gallery module(hidden) seems to be working and i can use the module. Also the users were successfully exported even though i get an empty popup. This is the contents of the gallery.cfg <?php $g2embedparams = array ( 'embedphpfile' => '/usr/local/psa/home/vhosts/cetafi.net/httpdocs/modules/gallery2/', 'embedUri' => 'modules.php?name=gallery2', 'relativeG2Path' => 'modules/gallery2/', 'loginRedirect' => 'modules.php?name=Your_Account', 'activeUserId' => '0', 'embedPath' => '/', 'cookiepath' => '/', ); $g2mainparams = array ( 'showSidebar' => NULL, ); $g2configurationdone = 'true'; ?> i have kept the gallery as hidden but the module is active and you can access it at http://www.cetafi.net/modules.php?name=gallery2 Thanks Anoop |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
anoopjohn
Joined: Mar 28, 2005 Posts: 10 Location: Hackensack, NJ
|
Posted: Sun Nov 20, 2005 2:22 am
i think i found an issue - SaveG2Config(modules/gallery2/admin/index.html) is calling init but init function has been taken out from modules/gallery2/admin/index.html
I put the deleted init function (+the other functions - didnt check if they are needed or not) back in the index.html and it is working. Earlier it was updating the config but init was failing. Also the user export popup - the ob_end_flush was causing the function. I played around with it for some time and now it is working. here is the complete code for the page. perhaps you might find this useful Code: ›
<?php /* * $RCSfile: export.php,v $ * * Gallery - a web based photo album viewer and editor * Copyright (C) 2000-2005 Bharat Mediratta * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /** * Gallery 2 integration for phpnuke. * @version $Revision: 1.1 $ $Date: 2005/11/16 18:05:32 $ * @author Dariush Molavi <dari@nukedgallery.net> */ define("MOD_NAME","gallery2"); global $admin_file; if(!isset($admin_file)) { $admin_file = "admin"; } if (!eregi("".$admin_file.".php", $_SERVER['PHP_SELF'])) { die ("Access Denied"); } echo str_pad('',4096)."\n"; flush(); ob_flush(); $failures = array(); $phpnuke2G2Lang = array ( 'danish' => 'da', 'dutch' => 'nl', 'german' => 'de', 'greek' => 'el', 'english' => 'en', 'american' => 'en', 'spanish' => 'es', 'finnish' => 'fi', 'french' => 'fr', 'irish' => 'ga', // not available 'italian' => 'it', 'japanese' => 'ja', // not available 'norwegian' => 'no', 'polish' => 'pl', 'portuguese'=> 'pt', 'swedish' => 'sv', 'chinese' => 'zh'); /*********************************************************/ /* Standalone Message Function */ /*********************************************************/ function g2_message($mess) { global $admin, $bgcolor2, $module_name, $admin_file; include ("header.php"); OpenTable(); echo "<br><center><a href=\"".$admin_file.".php?op=gallery2\">". "<img alt='Gallery::your photos on your website' src='modules/$module_name/images/g2.png' border=0></a><H3>Gallery2 Module Administration</H3>". "<br/><a href=\"".$admin_file.".php?op=gallery2\">Return Home</center>"; CloseTable(); echo "<br/>"; OpenTable(); echo "<center><font class=\"option\">"; echo $mess; echo "</font></center>"; CloseTable(); include ("footer.php"); } /*********************************************************/ /* True if init() was called, else false */ /*********************************************************/ function isInitiated($newvalue = null) { static $initiated; if (!isset ($initiated)) { $initiated = false; } if (isset ($newvalue) && (is_bool($newvalue) || is_int($newvalue))) { $initiated = $newvalue; } return $initiated; } /*********************************************************/ /* Init G2 API */ /*********************************************************/ function init() { global $gallery; if (isInitiated()) { return true; } $g2currentlang = $phpnuke2G2Lang[$currentlang]; include("modules/".MOD_NAME."/gallery2.cfg"); require_once ($g2embedparams['embedphpfile']."/embed.php"); $g2currentlang = $phpnuke2G2Lang[$currentlang]; $ret = GalleryEmbed :: init(array ( 'embedPath' => $g2embedparams['embedPath'], 'embedUri' => $g2embedparams['embedUri'], 'relativeG2Path' => $g2embedparams['relativeG2Path'], 'loginRedirect' => $g2embedparams['loginRedirect'], 'activeUserId' => '', 'activeLanguage' => $g2currentlang, 'fullInit' => $fullInit)); $gallery->guaranteeTimeLimit(300); if (!$ret->isSuccess()) { message_die(CRITICAL_ERROR,'G2 did not return a success status upon an init request. Here is the error message from G2: <br /> [#(1)]'.$ret->getAsHtml()); return false; } isInitiated(true); return true; } /*********************************************************/ /* Export PHPNuke Users to Gallery 2 */ /*********************************************************/ function userExport() { global $db, $gallery, $failures, $prefix; include("modules/".MOD_NAME."/gallery2.cfg"); require_once ($g2embedparams['embedphpfile']."/embed.php"); require_once ($g2embedparams['embedphpfile']."/".'modules/core/classes/ExternalIdMap.class'); // init G2 transaction, load G2 API, if not already done so if (!init()) { return false; } // Load all existing phpnuke <-> G2 mappings list ($ret, $mapsByExternalId) = GalleryEmbed::getExternalIdMap('externalId'); if ($ret->isError()) { return false; } // Map the ExternalMapId "admin" to the last phpnuke admin account found list ($ret, $adminGroupId) = GalleryCoreApi::getPluginParameter('module', 'core', 'id.adminGroup'); if ($ret->isError()) { flush(); g2_message('Unable to fetch the admin group. Here is the error message from G2: <br />'.$ret->getAsHtml()); return false; } // Grab all the existing G2 admins list ($ret, $adminList) = GalleryCoreApi::fetchUsersForGroup($adminGroupId); if ($ret->isError()) { flush(); g2_message('Unable to fetch a member in the admin group. Here is the error message from G2: <br />'.$ret->getAsHtml()); return false; } end($adminList); $adminId = key($adminList); if (!isset ($mapsByExternalId["admin"])) { $ret = ExternalIdMap::addMapEntry(array('externalId'=>"admin", 'entityType'=>'GalleryUser', 'entityId'=>$adminId)); if ($ret->isError()) { flush(); return false; } } // TODO: Update of the admin account if it already exists $sql = "SELECT count(*) AS ucount, MAX(user_id) AS max_user_id FROM " . $prefix . "_users"; $user_count = $db->sql_fetchrow($db->sql_query($sql)); $ucount = intval($user_count['ucount']) - 1 ; $max_id = $user_count['max_user_id']; $users_imported = 0; for($cur_id = 2; $cur_id <= $max_id; $cur_id++) { $sql = "SELECT user_id, username, user_password, user_email, user_lang, user_regdate FROM ". $prefix . "_users WHERE user_id = $cur_id LIMIT 1"; $result = $db->sql_query($sql); if($db->sql_numrows($result) != 0) { $row = $db->sql_fetchrow($result); $user_id = $row['user_id']; $args = array('fullname'=> $row['username'], 'username'=> $row['username'], 'hashedpassword'=> $row['user_password'], 'hashmethod'=> 'md5' , 'email'=> $row['user_email'] , 'creationtimestamp'=> strtotime($row['user_regdate'])); $users_imported++; $percentInDecimal = ($users_imported / $ucount); if($users_imported % 100 == 0) { print "<script type=\"text/javascript\"> updateProgressBar(\"".$users_imported." users imported\", $percentInDecimal); </script> "; echo str_pad('',4096)."\n"; flush(); ob_flush(); } // if the user exists, just update the user data if (isset ($mapsByExternalId[$user_id])) { $ret = GalleryEmbed::updateUser($user_id, $args); if (!$ret->isSuccess()) { $failures[] = $user_id; } } else { // else we create the user $ret = GalleryEmbed::createUser($user_id, $args); if($ret->isError() && ($ret->getErrorCode() & ERROR_COLLISION)) { list($ret,$user) = GalleryCoreApi::fetchUserByUsername($row['username']); $g2userId = $user->getId(); $ret = GalleryEmbed::addExternalIdMapEntry($row['user_id'],$g2userId,"GalleryUser"); if($ret->isError()) { g2_message($ret->getAsHtml()); } } } } } $percentInDecimal = ($users_imported / $ucount) *100; print "<script> updateProgressBar(\"$users_imported / $ucount users exported\", $percentInDecimal);</script>"; echo str_pad('',4096)."\n"; flush(); ob_flush(); if(count($failures) != 0) { echo "<br />The import of the following PHPNuke user_id's failed:<br />"; foreach($failures as $bad_id) { echo $bad_id."<br />"; } echo "The most common reasons for failed imports are:" ."<ul><li>Duplicate PHPNuke usernames</li><li>A PHPNuke username of \"guest\"</li><li>A PHPNuke username consisting of only numbers</li></ul>" ."Check the failed user_ids and re-run the export"; } extract($var); $content = "<?php\n".'$g2embedparams = '.var_export($g2embedparams, TRUE).";\n".'$g2mainparams = '.var_export($g2mainparams, TRUE).";\n"; $content .='$g2configurationdone = \'true\';'; $content .= " \n?>"; $handle = fopen("modules/".MOD_NAME."/gallery2.cfg", "w"); fwrite($handle, $content); fclose($handle); echo "<form><input type=\"button\" value=\"Close Window\" onclick=\"window.close()\"></form>"; } ?> <html><head> <script type="text/javascript"> function updateProgressBar(description, percentComplete) { document.getElementById('progressDescription').innerHTML = description; var progressMade = Math.round(percentComplete * 100); var progressToGo = document.getElementById('progressToGo'); if (progressMade >= 100) { progressToGo.style.display = 'none'; } else { progressToGo.style.width = (100 - progressMade) + "%"; } document.getElementById('progressDone').style.width = progressMade + "%"; } </script> <style type="text/css"> <!-- /* General page style. The scroll bar colours only visible in IE5.5+ */ body { background-color: #E5E5E5; scrollbar-face-color: #DEE3E7; scrollbar-highlight-color: #FFFFFF; scrollbar-shadow-color: #DEE3E7; scrollbar-3dlight-color: #D1D7DC; scrollbar-arrow-color: #006699; scrollbar-track-color: #EFEFEF; scrollbar-darkshadow-color: #98AAB1; } /* General font families for common tags */ font,p { font-family: Verdana, Arial, Helvetica, sans-serif } p, td { font-size : 11; color : #000000; } a:link,a:active,a:visited { color : #006699; } a:hover { text-decoration: underline; color : #DD6900; } .gbBlock { padding: 0.7em; border-width: 0 0 1px 0; border-style: inherit; border-color: inherit; /* IE can't inherit these */ border-style: expression(parentElement.currentStyle.borderStyle); border-color: expression(parentElement.currentStyle.borderColor); } h1,h2 { font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; font-size : 22px; font-weight : bold; text-decoration : none; line-height : 120%; color : #000000;} #ProgressBar #progressDone { background-color: #fd6704; border: thin solid #ddd; } #ProgressBar #progressToGo { background-color: #eee; border: thin solid #ddd; } #gallery h2, #gallery h3, #gallery h4 { font-family: "Trebuchet MS", Arial, Verdana, Helvetica, sans-serif; } .giTitle, #gallery h2, #gallery h3, #gallery h4 { font-size: 1.3em; font-weight: bold; } #gallery .gbBlock h3 { margin-bottom: 0.5em; } --> </style> </head><body> <h1>Exporting Users</h1><br /> <div id="ProgressBar" class="gbBlock"> <p id="progressDescription"> </p> <table width="90%" cellspacing="0" cellpadding="0" align="center"> <tr> <td id="progressDone" width="1%"> </td> <td id="progressToGo"> </td> </tr> </table> </div> <?php echo str_pad('',4096)."\n"; flush(); ob_flush(); echo "<p>"; userExport(); echo "</p>"; ?> |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Mon Nov 21, 2005 8:25 am
the problem w/ the popup is that Firefox requires the ob_end_flush call, while IE does not. I should add in a user_agent check...
i'll check into the missing init function call, too....thanks for the report |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Mon Nov 21, 2005 8:39 am
fixed the missing init() call. working on a user_agent check.
|
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
nickyu
Joined: Dec 02, 2005 Posts: 2
|
Posted: Tue Dec 06, 2005 8:33 pm
Hi...
Been searching through the forums for sometime now, I think I have tried every single 'fix'. I seem to still be getting at blank page when I navigate to the gallery page. Just plain blank. I have installed gallery2 a few times, I have also copied all the files for the integration package a few times, checked the SQL database, I have played around with the gallery.cfg My last known cfg... Quote: ›
<?php $g2embedparams = array ( 'embedphpfile' => '/home/imachine/public_html/phpn/modules/gallery2/', 'embedUri' => 'modules.php?name=gallery2', 'relativeG2Path' => '/phpn/modules/gallery2/', 'loginRedirect' => 'modules.php?name=Your_Account', 'activeUserId' => '0', 'embedPath' => '/phpn/', 'cookiepath' => '/', ); $g2mainparams = array ( 'showSidebar' => NULL, ); $g2configurationdone = 'true'; ?> |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Wed Dec 07, 2005 7:33 am
'embedUri' => '/phpn/modules.php?name=gallery2',
|
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
nickyu
Joined: Dec 02, 2005 Posts: 2
|
Posted: Wed Dec 07, 2005 6:17 pm
unfortunately that didnt work. I will try a complete re-install yet again
Is everyone else running version 7.7? I installed it off Cpanel on my server, could that be a problem? Nick |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
kevjaun
Joined: May 29, 2005 Posts: 2
|
Posted: Wed Dec 07, 2005 7:46 pm
i'm in a similar situation as nickyu, 7.7, setting this up on a remote server. i've battled with it for a few days now, re-installing both gallery and the integration several times. the gallery was working fine, done the integration and i'm now getting the blank page problem. here is my current gallery2.cfg
<?php $g2embedparams = array ( 'embedphpfile' => '/home/XXX/public_html/site/modules/gallery2/', 'embedUri' => 'modules.php?name=gallery2', 'relativeG2Path' => '/site/modules/gallery2/', 'loginRedirect' => 'modules.php?name=Your_Account', 'activeUserId' => '0', 'embedPath' => '/site/', 'cookiepath' => '/', ); $g2mainparams = array ( 'showSidebar' => NULL, ); $g2configurationdone = 'true'; ?> in the original gallery2.cfg file the $g2configurationdone = 'true'; is set to NULL, so i set it to true, like in the many examples in this thread. this made the gallery nuke block seem to work a little (bear with me here). it has a search box, advanced search link and a view slideshow link . having this part made this blocks links point to the right place 'embedPath' => '/site/', even though i'm still getting the blank page problem but when you do what you suggested: 'embedUri' => 'site/modules.php?name=Gallery2', it made the blocks links point to site/site/modules.php?...etc not sure if any of that is useful. anyhows, i still can't get the darn thing to work so i hope you can help. thank you. |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Thu Dec 08, 2005 7:27 am
nickyu wrote: › unfortunately that didnt work. I will try a complete re-install yet again
Is everyone else running version 7.7? I installed it off Cpanel on my server, could that be a problem? Nick you installed gallery 2 or phpnuke from Cpanel? are you using nuke platinum or any of the sentinel/protector modules for phpnuke? also, make sure that you disable/uninstall the embedded rewrite module from within the gallery 2 admin. |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
seanherron
Joined: Aug 31, 2004 Posts: 4
|
Posted: Fri Dec 16, 2005 3:57 am
Hi All,
I've been trying to install Gallery with PHP-Nuke for a few days now, and its just not working. I am using Nuke v. 7.7 and Gallery 2.02 with the latest update from here. I, too, am having the blank page problem, though no problems with the Administration pages. I am using English as the default language. Here is the information from the nuke_g2config table: Code: › <!-- Table nuke_g2config -->
<nuke_g2config> <embedphpfile>/home/wrband/public_html/site/modules/gallery2</embedphpfile> <embedUri>modules.php?name=gallery2</embedUri> <relativeG2Path>/site/modules/gallery2/</relativeG2Path> <loginRedirect>modules.php?name=Your_Account</loginRedirect> <activeUserId>0</activeUserId> <embedPath>/site/</embedPath> <cookiepath>/</cookiepath> <showSidebar>0</showSidebar> <g2configurationDone>1</g2configurationDone> <embedVersion>0.4.2</embedVersion> </nuke_g2config> I've tried all the advice given in this thread, and nothing works. Any ideas? Thanks, Sean |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Fri Dec 16, 2005 8:33 am
|
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
Darsch7
Joined: Nov 13, 2005 Posts: 79
|
Posted: Fri Dec 16, 2005 11:32 am
Same, Still Bank Page.
|
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
seanherron
Joined: Aug 31, 2004 Posts: 4
|
Posted: Fri Dec 16, 2005 5:29 pm
dari wrote: › try http://www.nukedgallery.net/postp13456.html#13456
That didn't do anything (I'm presuming they meant index.ph p instead of index.html) PS: Why is PH P changed to HTML by the forum? |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Fri Dec 16, 2005 5:52 pm
yes, should be php, not html. the phpbb forums change it as a security precaution. if i could find out the code to stop it, i would remove it, it's an annoyance.
|
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
seanherron
Joined: Aug 31, 2004 Posts: 4
|
Posted: Fri Dec 16, 2005 6:00 pm
dari wrote: › yes, should be php, not html. the phpbb forums change it as a security precaution. if i could find out the code to stop it, i would remove it, it's an annoyance.
Wait, how did you just say it? Only reason I could think of is that phpbb removes the filter for Administrators..never knew it did that and I've been using it for years... But yeah, that change didn't do anything. My databases for Gallery and Nuke are seperate, could that be the issue? |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Fri Dec 16, 2005 6:13 pm
actually, it was my google tap code. the offending entry has been removed.
see http://www.nukedgallery.net/postp13493.html#13493 regarding the databse issue... |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
seanherron
Joined: Aug 31, 2004 Posts: 4
|
Posted: Fri Dec 16, 2005 6:19 pm
dari wrote: › actually, it was my google tap code. the offending entry has been removed.
see http://www.nukedgallery.net/postp13493.html#13493 regarding the databse issue... Everything is without modifications, and my index.php page has the correct code. Is there something I'm missing? Thanks, Sean |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
soveren
Joined: Dec 08, 2005 Posts: 1
|
Posted: Wed Dec 21, 2005 11:31 pm
a little offtop but;
i have 7.8 nuke, with sentinel. installed gallery 2 into modules/ ... nothing worked, while i tried over hundred combinations of embed's paths... everytime i have nothing instead of gallery 2 mainpage. my Portal path was /home/username/.panel/web/Portal/ etc... link is http://site.com/v-web/Portal/ WAS ! im totally replaced phpnuke to /home/username/public_html/ looks like http://site.com and everything works perfectly! so im think that problem was in .panel/web/ translation. ... btw.. that was default installation from cpanel of hosting ... Also help if you change debugging mode in config.php of your phpnuke to TRUE then you can see exactly integretion module querying... Now i have ISO -> UTF-8 problem will rewrite mysql ... ;( |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
rotor
Joined: Dec 26, 2005 Posts: 5
|
Posted: Mon Dec 26, 2005 10:42 pm
I must be doing something horribly wrong as I cannot even find the gallery2.cfg file after I have installed the integration package!
I have 7.8 .3.1 installed with gallery2 ver201 I have installed the gallery under modules .. it works as a stand alone I have downloaded the latest version of the integration package ... but in admin it tells me the latest version is 0.4.2 - but this is the one that I have downloaded and installed! somehow I don't think the gallery2.cfg is being saved - where should I find it ?? |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
bigdmeister
Joined: Sep 03, 2003 Posts: 429
|
Posted: Mon Dec 26, 2005 10:55 pm
You have the new integration package and it has been changed so the integration information is saved in a table in your database instead of the gallery.cfg.
It sounds like you are having a problem with the integration package talking to the database. Check your tables and see if you have a _g2config table installed and that it has information stored inside. Also, do you have a separate database for nuke and gallery? If not, you may find the table under nuke_g2config - that is where mine is. I have had troubles when the databases are separated but I also use Nuke Evolution which may be different than your case. If they are separate databases, try installing gallery into the nuke database and see if that helps. |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
rotor
Joined: Dec 26, 2005 Posts: 5
|
Posted: Tue Dec 27, 2005 12:47 am
yep g2 is already in the nuke database ....
nuke_g2config is empty - it appears not to be writing to it ... mmmm any other ideas ?? |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
bigdmeister
Joined: Sep 03, 2003 Posts: 429
|
Posted: Tue Dec 27, 2005 12:53 am
Unfortunately I could not get this to work on one of my sites. Very odd as I have installed it just fine on two subdomains of mine with no issues.
I also just installed it on another site tonight (one for dholdt) as I installed nuke Evo and it worked with minimal issues. I'm not sure why but my guess is that it has to do with the database - just a guess at this point. |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
rotor
Joined: Dec 26, 2005 Posts: 5
|
Posted: Tue Dec 27, 2005 1:18 am
I'd like to try uploading into the database - sql but am not sure of the correct syntax ...
how about attaching the sql for that table - just xxxx out the paths and I'll edit the file ... if that's not a problem ... never know might work, although if it's not writing to the database it may not read from it but it's worth a try I guess. Or maybe even try the old version of the integration file .... where can I find that ?? |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
bigdmeister
Joined: Sep 03, 2003 Posts: 429
|
Posted: Tue Dec 27, 2005 1:46 am
Code: › INSERT INTO `nuke_g2config` VALUES ('/home/rotor/public_html/modules/gallery2/', 'modules.php?name=gallery2', 'modules/gallery2/', 'modules.php?name=Your_Account', 0, '/', '/', 0, 1, '0.3.5');
Run that in your phpMyAdmin with your values and that will enter it into your db. You're correct though, if it can't see the db to write the values to it, it's kind of pointless to enter the info in by hand. Give it a shot though, can't hurt anything. |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
rotor
Joined: Dec 26, 2005 Posts: 5
|
Posted: Tue Dec 27, 2005 2:10 am
ooops.....
just upgrading to 202 in a vein attempt to I dont know what ... I'll just upload and install and get back with the results of the sql attempt to rectify shortly ... thanks bigdmeister ..... rotor |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
bigdmeister
Joined: Sep 03, 2003 Posts: 429
|
Posted: Tue Dec 27, 2005 2:21 am
I did the same. No problem. Hopefully it works out for you.
|
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
rotor
Joined: Dec 26, 2005 Posts: 5
|
Posted: Tue Dec 27, 2005 5:02 am
Ok, great. I installed 202 (201 last time) and did everything exactly as last time and it works this time ...
I lied ... I placed a @ on line 230 of the index.php file which comes with the integration package .... not that I got an error pointing to it last time, but one of the threads here pointed it out as a mistake ... Thanks for the help fella .... cheers rotor |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
bigdmeister
Joined: Sep 03, 2003 Posts: 429
|
Posted: Tue Dec 27, 2005 5:13 am
Glad you're up and running now!
|
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
legacy
Joined: Jan 22, 2006 Posts: 2
|
Posted: Mon Jan 23, 2006 1:10 pm
DELETED. Double Post.
|
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
glio1337
Joined: Feb 15, 2006 Posts: 5
|
Posted: Thu Feb 16, 2006 9:41 pm
Okay here is a question. Does Gallery2 itself, as in, the entire package need to be installed in modules/gallery2 or a seperate folder from phpnuke?
|
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
bigdmeister
Joined: Sep 03, 2003 Posts: 429
|
Posted: Thu Feb 16, 2006 10:34 pm
glio1337 -
Look at the readme.html included in the package. |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
glio1337
Joined: Feb 15, 2006 Posts: 5
|
Posted: Thu Feb 16, 2006 11:32 pm
Okay then, can phpnuke and galler2 be in different sql databases?
|
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
bigdmeister
Joined: Sep 03, 2003 Posts: 429
|
Posted: Fri Feb 17, 2006 12:45 am
Yes. Either same or different. I've used both and had them work with no problems.
|
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
xperiment
Joined: Dec 04, 2003 Posts: 19 Location: Upstate NY
|
Posted: Wed Mar 01, 2006 6:48 pm
There seem to be so many variations to this problem - I've been fighting with this for days and I'm about ready to give up and use coppermine instead. As a last resort I'm posting here - I'm not having an issue writing the configuration to _g2config but after trying every variation of URL's (with and without the non-standard directory path that my nuke installation is run from) and it does not work at all, always the same thing - blank page except for my navigation block (which normally sits to the left but get's shifted slightly to the right when G2 is accessed - see for yourself @ http://www.killersrus.net/live2/modules ... e=gallery2 Does this problem look familiar to anyone and if so do you have any suggestions? IE and firefox behave a little differently but neither work.
Edit @ 8:08pm - I'm reinstalling so don't look just yet. I just updated the Admin account's profile (put in real name(was blank) and set language to English) and half of the gallery started working! Results @ 8:51pm - Same deal, not even half-working now...I wonder if it has anything to do with the fact that I'm using a non-standard path or that I transferred the nuke database from another web server - should I still be using my nuke admin as the gallery admin during install? There's still a lot of information necessary for everyone to be able to use this integration that's not easy enough to get or just not available. Are there any other things that should be considered during G2 install that aren't covered in the integration's README.hml or G2 install docs? Thanks! |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Thu Mar 02, 2006 7:38 am
what version of the integration package? the latest one should solve the blank page issues...
however, for some reason, the db isn't written to for some users. so, if that's your case (your nuke_g2config table is empty), delete that table and re-visit the admin page for g2. |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
musicc
Joined: Feb 22, 2005 Posts: 8
|
Posted: Tue May 23, 2006 12:19 am
where is gallery2.cfg located?
|
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Tue May 23, 2006 8:24 am
read the forums. if you're using the newer integration package you don't have one, it's in the nuke_g2config table instead.
|
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
musicc
Joined: Feb 22, 2005 Posts: 8
|
Posted: Tue May 23, 2006 10:14 am
i have the latest integration packaged, but the admin file is not saving my setting on nuke_g2config table. How do I fix this? It exports users just fine though..
|
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
brianbear
Joined: Oct 02, 2006 Posts: 4
|
Posted: Tue Oct 03, 2006 12:19 pm
Hi
I too had the white screen problem after first install....? I think what really needs to be made clear is that you must install Gallery 2 first into your nuke website, extract all the gallery2 files into your modules folder so your structure will look like modules/gallery2. The run the install sequence, you can run gallery2 in your nuke database ok. If you get through this you are well on your way. Now with a working gallery2 just extract and upload the integration package and run from nuke admin. Worked a treat for me on second install |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Tue Oct 03, 2006 12:23 pm
that's all in the readme.
http://svn.sourceforge.net/viewvc/*chec ... installing |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
sexyparlour
Joined: Dec 28, 2006 Posts: 1
|
Posted: Thu Dec 28, 2006 3:40 pm
is there an intergration for osdate,
i have osdate and phpbb2 but phpbb2 is intergrated into osdate. when i get a new member into osdate they are auto added to the phpbb_users database, if there is a readme on how to point to a different table for members then could i get some assistance here please, many thanks an sorry if i used the wrong board. |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
mverzella
Joined: Dec 30, 2006 Posts: 1
|
Posted: Sun Dec 31, 2006 2:41 am
dari wrote: › what version of the integration package? the latest one should solve the blank page issues...
however, for some reason, the db isn't written to for some users. so, if that's your case (your nuke_g2config table is empty), delete that table and re-visit the admin page for g2. I could kiss you. I mean im so happy i could spit. I've been hacking at this for 6 hours now, all over your forums, and i finally went outside of your site, googled "gallery2 integration results in white page" and got back here for your answer. And now it works. Thank you so much. |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
cautical
Joined: Mar 25, 2007 Posts: 1
|
Posted: Wed Apr 04, 2007 4:42 pm
There is no 'MySQL (all versions)' to select from the drop down.
Fresh install, phpNuke 8.0, G2 latest/latest integration package, and the blank page problem. |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
craeyon
Joined: Aug 04, 2006 Posts: 1
|
Posted: Wed May 09, 2007 9:32 pm
I am experiencing the same problem. I am running PHPNuke 7.9 and Gallery Ver 0.6.3. When I hit Update Gallery2 configurations and update integration settings in the admin section... it goes to a blank page.
I checked for the nuke_g2config in the DB and it is there.. however there are no parameters assigned to it. It is not filled... Whats going on! Umm and also. When I am installing this I only need to upload the integration package files to my /html and I don't have to install Gallery 2 separately now do I? Or does this require you to install the original Gallery 2.0 first and then use the integration package to connect your phpnuke with gallery 2.0. |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
MPDano
Joined: Mar 18, 2005 Posts: 2
|
Posted: Tue Jun 19, 2007 1:12 pm
I am wondering why we need the script to write the db? Since we all are having the same problem. Can't a gs.sql file be posted somewhere and we could load up the file in phpmyadmin?
|
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
smilepak
Joined: Jul 14, 2007 Posts: 4
|
Posted: Sat Jul 14, 2007 9:05 pm
craeyon wrote: › I am experiencing the same problem. I am running PHPNuke 7.9 and Gallery Ver 0.6.3. When I hit Update Gallery2 configurations and update integration settings in the admin section... it goes to a blank page.
I checked for the nuke_g2config in the DB and it is there.. however there are no parameters assigned to it. It is not filled... Whats going on! Umm and also. When I am installing this I only need to upload the integration package files to my /html and I don't have to install Gallery 2 separately now do I? Or does this require you to install the original Gallery 2.0 first and then use the integration package to connect your phpnuke with gallery 2.0. I am the exact same boat. I've been mocking with this for the past 3 hours and still couldn't figure out what is causing it |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
ykumar
Joined: Aug 24, 2007 Posts: 3
|
Posted: Sat Aug 25, 2007 1:29 am
I installed nuke 8.0 and integrate with gallery2 from the latest integration package 0.6.3... but getting blank page after clicking update integration setting.
Please help. |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
sovann
Joined: Jun 21, 2008 Posts: 2
|
Posted: Tue Jun 24, 2008 2:30 am
Hi All;
i also hav the same your problem: Integration Package Status Socket connection error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Tue Jun 24, 2008 7:59 am
that means that it can't connect to the sourceforge.net page with the latest package version. as long as you've got the latest version (listed on the front page of nukedgallery.net), you're good to go.
are you having any other problems? |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
sovann
Joined: Jun 21, 2008 Posts: 2
|
Posted: Thu Jul 03, 2008 5:26 am
thanks dari for reply; i still can not sovle this problem by my self with
"Socket connection error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. " can you guid me some how to fix this problem am not good in php programming, thanks |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Thu Jul 03, 2008 6:20 am
make sure your host allows the use of fsockopen in php.
|
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
Wolfspyryt
Joined: Aug 31, 2008 Posts: 8
|
Posted: Tue Dec 02, 2008 9:56 am
I habe phpnuke 8.0 and the latest gallery2 and integration. Tried for 2 days and still wont write to db
HELP!!!!!!!!!!!!!!!!!!!1 |
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
dari
Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Tue Dec 02, 2008 10:10 am
that's only in really really old integrations...this is handled by the DB now.
|
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
Wolfspyryt
Joined: Aug 31, 2008 Posts: 8
|
Posted: Tue Dec 02, 2008 10:19 am
any help with the white screen of death????
|
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
Wolfspyryt
Joined: Aug 31, 2008 Posts: 8
|
Posted: Wed Feb 04, 2009 10:39 am
Fatal error: Trying to clone an uncloneable object of class mysqli in /var/www/virtual/jnsvl.com/htdocs/modules/gallery2/lib/adodb/drivers/adodb-mysqli.inc.php on line 84
|
| Author | Message |
| Post Title: Re: [SOLVED] Blank page, nothing writing to G2 db | |
Gruvhip
Joined: Mar 15, 2009 Posts: 1
|
Posted: Thu Mar 19, 2009 3:59 am
I have the same integration blank page. I've reinstalled several times. Followed the instructions to the T. nuke8.0, gallery 2.3 and integration 063. Installation doesn't seem to be difficult but just never works. Has anyone solved this problem. Makes me want to bag it and just use Gallery in a wrapper
|