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  

[SOLVED] Blank page, nothing writing to G2 db
Goto page 1, 2, 3, 4, 5, 6, 7  Next
 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
okiregistered

Beginner
Beginner


Joined: Sep 14, 2005
Posts: 4

PostPosted: Thu Sep 15, 2005 12:02 pm    Post subject: [SOLVED] Blank page, nothing writing to G2 db Reply with quote

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


Last edited by okiregistered on Fri Sep 23, 2005 12:04 pm; edited 2 times in total
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: [SOLVED] Blank page, nothing writing to G2 db  

Back to top
dari

Site Admin
Site Admin


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

PostPosted: Thu Sep 15, 2005 12:32 pm    Post subject: Re: Blank page, nothing writing to G2 db ->> Solution Reply with quote

Thank you sir Smile

I will post this as a sticky Smile
Back to top
Offline View user's profile Send private message Visit poster's website
charleseroy

Beginner
Beginner


Joined: Feb 23, 2004
Posts: 3

PostPosted: Thu Sep 15, 2005 8:32 pm    Post subject: Re: [SOLVED] Blank page, nothing writing to G2 db Reply with quote

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
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Fri Sep 16, 2005 6:25 am    Post subject: Re: [SOLVED] Blank page, nothing writing to G2 db Reply with quote

post your gallery2.cfg file contents.
Back to top
Offline View user's profile Send private message Visit poster's website
bigdmeister

Wizard
Wizard


Joined: Sep 03, 2003
Posts: 429

PostPosted: Sat Sep 17, 2005 3:30 pm    Post subject: Re: [SOLVED] Blank page, nothing writing to G2 db Reply with quote

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 Question . (Now that's odd - I changed the extension here in this post to php but it keeps reverting back to html when I preview this post. Maybe that's where the confusion is?)

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 Razz .


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...
Back to top
Offline View user's profile Send private message Send e-mail
EricInHouston

Beginner
Beginner


Joined: Sep 21, 2003
Posts: 1

PostPosted: Sun Sep 18, 2005 9:23 am    Post subject: Re: [SOLVED] Blank page, nothing writing to G2 db Reply with quote

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
Back to top
Offline View user's profile Send private message
charleseroy

Beginner
Beginner


Joined: Feb 23, 2004
Posts: 3

PostPosted: Sun Sep 18, 2005 1:18 pm    Post subject: Re: [SOLVED] Blank page, nothing writing to G2 db Reply with quote

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.
Back to top
Offline View user's profile Send private message
fulbrich

Novice
Novice


Joined: Aug 18, 2005
Posts: 28
Location: NRW/Germany

PostPosted: Mon Sep 19, 2005 4:35 am    Post subject: Re: [SOLVED] Blank page, nothing writing to G2 db Reply with quote

http://www.nukedgallery.net/postp11218.html#11218

This is my solution for "blank pages" -> missing language file.
Back to top
Offline View user's profile Send private message Visit poster's website
penner

Beginner
Beginner


Joined: Oct 03, 2005
Posts: 2

PostPosted: Mon Oct 03, 2005 6:24 pm    Post subject: Re: [SOLVED] Blank page, nothing writing to G2 db Reply with quote

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';
?>
Back to top
Offline View user's profile Send private message
penner

Beginner
Beginner


Joined: Oct 03, 2005
Posts: 2

PostPosted: Tue Oct 04, 2005 2:52 am    Post subject: Re: [SOLVED] Blank page, nothing writing to G2 db Reply with quote

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...
Back to top
Offline View user's profile Send private message
xPatryk

Beginner
Beginner


Joined: Oct 30, 2005
Posts: 11

PostPosted: Sat Nov 05, 2005 1:00 pm    Post subject: Re: [SOLVED] Blank page, nothing writing to G2 db Reply with quote

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 ;{ )
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Mon Nov 07, 2005 8:45 am    Post subject: Re: [SOLVED] Blank page, nothing writing to G2 db Reply with quote

please search, this has been answered.
Back to top
Offline View user's profile Send private message Visit poster's website
jorn

Beginner
Beginner


Joined: Aug 03, 2003
Posts: 11

PostPosted: Thu Nov 10, 2005 12:07 pm    Post subject: Re: [SOLVED] Blank page, nothing writing to G2 db Reply with quote

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.
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Thu Nov 10, 2005 12:10 pm    Post subject: Re: [SOLVED] Blank page, nothing writing to G2 db Reply with quote

G2 must be installed in the modules directory. please read the README.
Back to top
Offline View user's profile Send private message Visit poster's website
jorn

Beginner
Beginner


Joined: Aug 03, 2003
Posts: 11

PostPosted: Thu Nov 10, 2005 12:22 pm    Post subject: Re: [SOLVED] Blank page, nothing writing to G2 db Reply with quote

I have a symbolic link like this:

modules/gallery2@ --> gallery/

Should it really care?
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 Integration » Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Goto page 1, 2, 3, 4, 5, 6, 7  Next

 
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: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationDedicated Web HostingWeb Design New YorkCompare VoIPseo packagesSEO CompanyNew York Yellow PagesFind LocationsVOIP Phone ServiceNeckermannBluetooth HeadsetOnline internetSEOchina factoryDressesRestaurant Locatorandroid tablet

8th year online! 2003-2011
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia