Topic Title: Another BLANK PAGE SOLUTION!

Forum Index » Gallery 2 Integration » Another BLANK PAGE SOLUTION!
Topic URL: http://www.nukedgallery.net/postt2233.html

AuthorMessage
Post Title: Another BLANK PAGE SOLUTION!
3rdRRAdmin
Joined: Dec 15, 2005
Posts: 2

Posted: Fri Dec 16, 2005 3:50 am
There's a bug in the latest index.php from the Integration package...

Line 230 reads:
Code: › $line = str_replace('include("includes/javascript.php");', '',$line);


When it should really be:
Code: › $line = str_replace('@include("includes/javascript.php");', '',$line);


The replace was leaving an extra '@' in the $header variable being eval()'d, and causing the following error in PHP:

PHP Parse error: parse error, unexpected T_IF in /home/BLAH/public_html/BLAH/modules/gallery2/index.php(246) : eval()'d code on line 42

Helps having access to the Apache error_log Twisted Evil

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Fri Dec 16, 2005 8:31 am
ah, see now, that could be one of the changes made in the various versions of phpnuke. my version doesn't have the "@" in the line in question.

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
3rdRRAdmin
Joined: Dec 15, 2005
Posts: 2

Posted: Sat Dec 17, 2005 2:26 am
It was a pure 7.7 running the Kaput? theme. So the header.php was different. Both are valid, both as easy to change. Very Happy

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
plasma
Joined: May 25, 2005
Posts: 29

Posted: Sat Dec 17, 2005 12:36 pm
damn, that fixed my problem. . thx man

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
kevjaun
Joined: May 29, 2005
Posts: 2

Posted: Sun Dec 25, 2005 7:56 pm
mine too, thanks

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
DLlama
Joined: Jan 29, 2004
Posts: 6

Posted: Wed Jan 11, 2006 2:08 am
mine also. Thanks!

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
GNRWebby
Joined: Jan 10, 2006
Posts: 1

Posted: Thu Jan 12, 2006 6:16 pm
Four Days of sifting through the forums and I find this. You da Man! (or WoMan)!

Fixed me fine. Thanks for the fix.

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Thu Jan 12, 2006 8:38 pm
stickified

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
joe2
Joined: Jan 23, 2006
Posts: 1

Posted: Mon Jan 23, 2006 6:54 pm
I had the same issue with the blank page and I found that error in the index.html and fixed it and it did not fix my problem. I am running a fresh install of PHPnuke 7.7 that was installed via this fanastico system on my webservice and I manually installed the latest stable build of gallery2. Both packages are using hte same Mysql DB but with different prefixes. PHPnuke is working fine, and so is gallery but when follow the instructions which include deleting the right two files (depending on your version of phpnuke) , and configuring gallery 2 in the admin panel It brings me to just a white screen.

This is the 2nd complete install i have done of these two.

Another thing, in the phpnuke administration is teh gallery 2 icon supposed to show up in both sections, the adminstration menu and the modules administration area on the administration page?

Jim



http://www.macius.com click on gallery, it doesnt work.

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Wed Jan 25, 2006 9:15 am
it can/might/will appear in both sections...it doesn't matter which you click, as it takes you to the same place.

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Wed Jan 25, 2006 9:16 am
please activate the module so i can see the problems.

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
svenno
Joined: Feb 21, 2006
Posts: 3

Posted: Tue Feb 21, 2006 1:52 pm
Same here, I've tried everything but it still doesn't work!

I changed the "index" file and reďnstalled the db but I still have a blank page!
http://www.olaerts.be/Site/modules.php?name=gallery2 [olaerts.be]

Anything else I can do?

Ah yeah, I'm a total noob so...

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Tue Feb 21, 2006 7:42 pm
what version of gallery? 2.0.2 or 2.1-RC1?

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
WroKeN
Joined: Jul 21, 2005
Posts: 14

Posted: Tue Feb 21, 2006 10:47 pm
HI, i have the problem with blank page in the version:

Gallery: 2.1-RC1
path: 0.5.4
Phpnuke 7.8
Versión MySQL 4.1.16-standard
Versión PHP 4.4.1



That is the code in the sql database from my server:
Code: › -- phpMyAdmin SQL Dump
-- version 2.6.4-pl2
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Feb 21, 2006 at 09:43 PM
-- Server version: 4.1.16
-- PHP Version: 4.3.11
--
-- Database: `vi_vi1`
--

-- --------------------------------------------------------

--
-- Table structure for table `nuke_g2config`
--

CREATE TABLE `nuke_g2config` (
  `embedUri` varchar(255) NOT NULL default '',
  `g2Uri` varchar(255) NOT NULL default '',
  `loginRedirect` varchar(255) NOT NULL default '',
  `activeUserId` int(10) NOT NULL default '0',
  `cookiepath` varchar(255) NOT NULL default '',
  `showSidebar` tinyint(1) NOT NULL default '0',
  `g2configurationDone` tinyint(1) NOT NULL default '0',
  `embedVersion` varchar(255) NOT NULL default ''
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `nuke_g2config`
--

INSERT INTO `nuke_g2config` VALUES ('/modules.php?name=gallery2', '/modules/gallery2/', '/modules.php?name=Your_Account', 0, '/', 0, 1, '0.5.4');



All is OK, the installation, etc...
I prove all solutions in this forum.

Please help me.
http://www.vi.cl/modules.php?name=gallery2

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
svenno
Joined: Feb 21, 2006
Posts: 3

Posted: Thu Feb 23, 2006 11:04 am
dari wrote: › what version of gallery? 2.0.2 or 2.1-RC1?


I'm using 2.02. Should I use 2.1?

Can anyone help me?

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
dublee
Joined: Jun 01, 2005
Posts: 2

Posted: Fri Feb 24, 2006 9:02 pm
yeah i get a black screen as well...
as soon as i press update tables in admin menu...my screen goes blank and the address becomes mysite.com/admin.php

and i cant seem to find this line in the integration index.php

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Mon Feb 27, 2006 7:28 am
for everyone with blank pages, did you install g2 into a folder called "gallery2" or something else like "Gallery2" or "gallery_2", etc?

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
Wizard1
Joined: Feb 23, 2006
Posts: 1

Posted: Mon Feb 27, 2006 1:03 pm
I can't seem to account for the database update issue. I had the same trouble. The integration package created the DB, but could not update it. I updated it manual by copying over the automaticly populated entries and that resolved that issue. Then I couldn't get user export to work...

I had the wrong path for stand alone URl. I changed it from '/modules/gallery2' to '/gallery2/'

Then user export worked okay.

However, with all of that behind me I am having the same blank page issue as everyone else.

To help troubleshoot I put a simple echo statment at the start of the index.php in modules/gallery2. I just wanted to see if it is even attempting to load the module and my echo did not display.

So it appers that we are not even getting to the begining of the index.php for modules/gallery2...

Thoughts???

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
xperiment
Joined: Dec 04, 2003
Posts: 19
Location: Upstate NY
Posted: Wed Mar 01, 2006 9:21 pm
I installed mine in "wwwRoot/live2/modules/gallery2". Crapola Crying or Very sad My database is updating fine but get blanks loading the integrated gallery in PHP Nuke - the standalone gallery still runs nearly fully functional if I hit the main.php directly. Same issue?

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Thu Mar 02, 2006 7:40 am
try the newest integration package...it takes care of variations like that

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
xperiment
Joined: Dec 04, 2003
Posts: 19
Location: Upstate NY
Posted: Thu Mar 02, 2006 4:50 pm
Yeah as soon as I saw it posted yesterday I downloaded it and installed it - no dice. Tried clean install of PHP-Nuke 7.8 - no luck there either. Will try clean install of PHP-Nuke 7.9 shortly and if that still doesn't work I'll try installing nuke to the wwwRoot. I don't prefer to run PHPnuke in the webRoot but if it works at least it's another clue. Stay tuned...

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
xperiment
Joined: Dec 04, 2003
Posts: 19
Location: Upstate NY
Posted: Thu Mar 02, 2006 8:23 pm
No luck - installed integration package 0.5.10 into a fresh PHP-Nuke 7.9/G2 installation and I've been here before - loads the front page and when I click on site admin or add photos, poof, big blank white page. One option left and that's to try my web root. I'm sure it's working for most I wonder why it's picking on me Crying or Very sad

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
kungfoo
Joined: Jan 30, 2006
Posts: 75

Posted: Fri Mar 03, 2006 7:09 am
What are the settings in your nuke_g2config table? And, your G2 is 2.1RC1? Not 2.0.x, right?

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
benkipperen
Joined: Feb 24, 2006
Posts: 3

Posted: Fri Mar 03, 2006 3:44 pm
I have also the same problem.
PHP-Nuke 7.8,
Gallery2.1rc-1a-full
Integration package 0.5.10
I have a default installed SUSE 10 distribution. With the serverroot /srv/www/htdocs. Installed Nuke, Gallery2 and the integrationpack in the default directory's.

Gallery2 stand-alone is fully functional.

Im a newbie concerning MySQL, but when i check the nuke-database with phpadmin there is a table created nuke_g2config. There is a warning however saying that there is no index defined.

So, the table is created, but after that a blank page.

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
xperiment
Joined: Dec 04, 2003
Posts: 19
Location: Upstate NY
Posted: Fri Mar 03, 2006 7:52 pm
embedUri=http://wwwRoot/main/modules.php?name=gallery2
g2Uri=http://wwwRoot/main/modules/gallery2/
activeUserId=0
cookiepath=/ (tried /main/, no difference)
showSidebar=0
g2configurationDone=1
embedVersion=0.5.10

Gallery 2.1RC1
PHPnuke v7.9

In Nuke, I don't normally create a normal user to match my Admin user - could this be the problem? Since this forum isn't getting flooded, it makes me wonder if it's something in my webserver configuration, but then I always remember that gallery's fine in standalone, so it's got to be something in the integration or the install procedure. Is it possible that my DB being on a remote server is causing this? I wouldn't think so...

PS - Hey, check it out, your sample gallery has the same problem Wink

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Fri Mar 03, 2006 8:30 pm
mine is blank, too? probably cuz i haven't updated my own integration in months Wink the new integration development is done on another server and tested there. i'm lazy and haven't gotten around to updating this one. maybe i should Smile

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
kungfoo
Joined: Jan 30, 2006
Posts: 75

Posted: Fri Mar 03, 2006 11:23 pm
xperiment,

Remove the http://wwwRoot from your settings.
Just try /main/modules...


ben,
that index error is fine. is the nuke_g2config table populated with a row, and what are its contents?

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
benkipperen
Joined: Feb 24, 2006
Posts: 3

Posted: Sat Mar 04, 2006 6:59 am
Guru,
nuke_g2config is not populated. I had a look with phpadmin.

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
xperiment
Joined: Dec 04, 2003
Posts: 19
Location: Upstate NY
Posted: Sat Mar 04, 2006 9:58 am
That didn't work Neutral Nothing works - I'm just about ready to throw in the towel.

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
kungfoo
Joined: Jan 30, 2006
Posts: 75

Posted: Sat Mar 04, 2006 10:35 am
benkipperen wrote: › Guru,
nuke_g2config is not populated. I had a look with phpadmin.


Delete the nuke_g2config table, then go back to the nuke g2 integration setup and reconfigure.

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
kungfoo
Joined: Jan 30, 2006
Posts: 75

Posted: Sat Mar 04, 2006 10:36 am
xperiment wrote: › That didn't work Neutral Nothing works - I'm just about ready to throw in the towel.


Delete you nuke_g2config table, rerun the config. Accept the settings suggested by the admin module and see if that works.

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
xperiment
Joined: Dec 04, 2003
Posts: 19
Location: Upstate NY
Posted: Sat Mar 04, 2006 12:11 pm
Resolved

My webhost's php.ini is set up to use 8MB memory for PHP, so when I install G2, the installer recommends I create a .htaccess file containing the text "php_value memory_limit 16M". I did the same in my nuke root directory and BAM, everything works! I don't know what side-effects this may have, if any, but my webhost doesn't want to change the PHP configuration for the server so I guess it'll have to work.

Thanks for trying to help, I knew this would be something odd - glad I just figured it out, I was just noticing how well G2 integrates with Joomla =/

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
kungfoo
Joined: Jan 30, 2006
Posts: 75

Posted: Sat Mar 04, 2006 2:29 pm
Interesting... I've had that happen with a couple other php apps, not gallery though. Guess Dari will have to add that to the tip list... Smile

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
svenno
Joined: Feb 21, 2006
Posts: 3

Posted: Mon Mar 06, 2006 2:55 pm
Doesn't work for me! Sad

Did you just add -php_value memory_limit 16M- to the .htaccess file in youre root?

I still get a blank page!

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Tue Mar 07, 2006 7:32 am
in your nuke root and your g2 directory.

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
benkipperen
Joined: Feb 24, 2006
Posts: 3

Posted: Tue Mar 07, 2006 5:15 pm
Integration succeeded!

I turned logging on in the config.php, and found out:
1. The name of the directory faq was expected in capitals (FAQ), so I changed it;
2. I had the wrong path for stand alone URl. I changed it from '/modules/gallery2' to '/gallery2/'.

Thanks for the support, much appreciated.

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
xperiment
Joined: Dec 04, 2003
Posts: 19
Location: Upstate NY
Posted: Wed Mar 08, 2006 6:16 pm
I had trouble in other areas even after upping the PHP memory via an .htaccess file - the files would upload then display a blank page. The thumbnails would be created and displayed but I'd get blank pages when trying to display the images. As frustrated and infuriated as I was, I contacted my web host and told them if they don't up my PHP memory and fix my imagemagick, I'd be gone. So they moved me to a better server =/

So I had everything working great until this afternoon. At 3:00 EVERYTHING was working normally. I didn't touch a thing and checked at 4:00, and all I see now is broken image links. But that'll be a discussion for another forum thread.

I found some good workarounds while trying to figure this out, including recursive chmod'ding via PHP - that alone made the experience worth it. I guess PHP-Nuke is OK with 8MB, Gallery 2 is OK with 8MB, but run one on top of the other and it doesn't quite cut it.

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
TDoGSneaker
Joined: Mar 13, 2006
Posts: 7

Posted: Mon Mar 20, 2006 2:31 am
Code: › if ($fd = fopen("header.php", "r")) {
        while (!feof($fd)) {
            $line = fgets($fd, 1024);
            $line = str_replace('<?php', '', $line);
            $line = str_replace(' ?>', '', $line);
         $line = preg_replace('/(@?)include\("includes\/javascript.php"\)\;/','',$line);
         if(defined('NUKE_EVO')) {
                $evo_version = explode('.',NUKE_EVO);
                if(intval($evo_version[0]) >= 1) {
                    $line = str_replace("require_once(dirname(__FILE__).'/mainfile.php');","require_once('mainfile.php');",$line);
                }
            }
            $header .= $line;
            if (strstr($line, "<head")) {
                foreach($css as $stylesheet) {
                    $links = $stylesheet;
                    $links = str_replace('"', '\"', $links);
                    $header .= 'echo "' . $links. '\n";' . "\n";
                }
                foreach($javascript as $script) {
                    $scriptline = $script;
                    $scriptline = str_replace('"','\"',$scriptline);
                    $header .= 'echo "' . $scriptline. '\n";'."\n";
                }
            }
        }


That is between from 235 to 260 on Gallary2 folder's index.php

I have not changed anything yet because I dont find what I am looking for after reading some help in here.

I get blank screen after click "Verify Gallery 2 installation ..." button

So, what can I do to make it work ... this is latest download tonight ... and FTPed to modules ... Gallery2 is deactivated because of "proven to be a tricky task" ...

Thanks and pls do ask away (yes it is PHP Nuke 7.Cool

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
TDoGSneaker
Joined: Mar 13, 2006
Posts: 7

Posted: Mon Mar 20, 2006 2:57 am
Also I just downloaded like an hour ago ... and still figuring it out ... and noticed this ... "Your integration package is not up to date.
Latest version available is 0.5.10. Your installed version is" ... installed version is (blank) ... I hope I dont have to throw the towel for a little longer .... Thanks for the support.

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Mon Mar 20, 2006 7:12 am
drop your nuke_g2config table, then redo the integration.

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
TDoGSneaker
Joined: Mar 13, 2006
Posts: 7

Posted: Mon Mar 20, 2006 9:32 pm
no dice after 3 times ... will you instant msg me before I give up and move on to next gallery ?

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
TDoGSneaker
Joined: Mar 13, 2006
Posts: 7

Posted: Mon Mar 20, 2006 9:47 pm
i am guessing around and export users taking a long time correct ? It is only like 12 users.

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
TDoGSneaker
Joined: Mar 13, 2006
Posts: 7

Posted: Mon Mar 20, 2006 11:45 pm
I looked for solutions and read about it and did it ... failed ... ARGH

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
TDoGSneaker
Joined: Mar 13, 2006
Posts: 7

Posted: Wed Mar 22, 2006 2:05 pm
ok, is that all you can do to help me out ?

I will try again on a fresh php nuke and gallery 2.

I believe I have followed instructions and did the help instructions from you all.

Is there anything else that I need to know "tricky or hints" to make it work this time ?

If you can make this works ... give me step 1 step 2 step 3 exactly what you just did with Gallery 2, please ?

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
akboss
Joined: Mar 25, 2006
Posts: 3

Posted: Sat Mar 25, 2006 3:24 am
TDoGSneaker wrote: › Also I just downloaded like an hour ago ... and still figuring it out ... and noticed this ... "Your integration package is not up to date.
Latest version available is 0.5.10. Your installed version is" ... installed version is (blank) ... I hope I dont have to throw the towel for a little longer .... Thanks for the support.


Same problem as TDo.. Same blank pages after clicking to submit the settings. Pretty much scanned the site from top to bottom. I've done 100's of instalations and modules, but this one takes the most confusing. Would you like to poke around on my host to see if everything is correct and test? shoot me an email.

or explain in some detail some troubleshootin steps here.

Thanks

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
spyrule
Joined: May 03, 2005
Posts: 6

Posted: Sat Mar 25, 2006 6:22 pm
Ok, I have re-installed 5 times, each time making sure I didn't miss anything, and I keep getting the following error (I turned on debug messages, otherwise I just get a blank white screen).

Warning: check_g2configerror(modules/gallery2/embed.php) [function.check-g2configerror]: failed to open stream: No such file or directory in xxx\aqua2\modules\gallery2\admin\index.php on line 172

Fatal error: check_g2configerror() [function.require]: Failed opening required 'modules/gallery2/embed.php' (include_path='.;c:\php;c:\php\ext;c:\PHP\pear;C:\webtools\imagemagick') in xxx\aqua2\modules\gallery2\admin\index.php on line 172

It looks like the tester for whatever reason is looking for the main gallery files INSIDE the modules directory . ARE the modules supposed to be INSIDE the gallery directory?

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
spyrule
Joined: May 03, 2005
Posts: 6

Posted: Sat Mar 25, 2006 6:29 pm
actually I figured it out.

I was installing the gallery2 main install right in the main install directory, when in fact I had to install the ENTIRE gallery2 files into /modules/gallery2. not just the update.

I literally just copied all the gallery2 files over, and it worked!. Mr. Green

Thanks guys.

spyrule

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
akboss
Joined: Mar 25, 2006
Posts: 3

Posted: Sat Mar 25, 2006 8:54 pm
Ok so i will now try this, I had this same idea, it just got late and didnt want to test it. I wll reply the results when im done.

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
akboss
Joined: Mar 25, 2006
Posts: 3

Posted: Sun Mar 26, 2006 2:38 am
And this is the correct fix, no problems afterwards.


Its as simple as...

Make sure you first install the gallery2 into your root/public_html/modules/

Set it all up from this folder.

then add the intergration into root/public_html/

The defualt settings are already set. (make sure you use http://www. for your link)

and no more blank pages.

goodluck

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Mon Mar 27, 2006 8:04 am
All of that is stated in the Readme.html file in the integration package Smile

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
dsrains
Joined: Apr 26, 2006
Posts: 3

Posted: Wed Apr 26, 2006 4:12 pm
I am getting a similiar error. When I try to go to the gallery2 module link it trys to open a page and returns a 404 error page. It looks like it is trying to use the following URL http://www.thefarshores.com/main.php?name=gallery2 when it should be going to http://www.thefarshores.com/modules.php?name=gallery2. I have checked the database and the path is entered correctly. Do you have any ideas on what I did wrong. The gallery works from the standalone URL.

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Wed Apr 26, 2006 7:42 pm
you didn't copy the modules/gallery2/index.php from the integration to modules/gallery2/ (you need to replace gallery2's index.php with the one from the integration package).

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
dsrains
Joined: Apr 26, 2006
Posts: 3

Posted: Thu Apr 27, 2006 12:38 pm
Thank you very much. That fixed my problem.

I used WSFTP Pro to ftp the files to my webhost. Why would it not copy that file?

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Thu Apr 27, 2006 1:02 pm
you probably have it set to not overwrite files.

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
dsrains
Joined: Apr 26, 2006
Posts: 3

Posted: Fri Apr 28, 2006 9:59 am
Thanks again for your quick response and help!

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
gernblan
Joined: Apr 10, 2006
Posts: 19

Posted: Fri Apr 28, 2006 7:15 pm
Doesn't work for me, I've been wroking on a white screen problem for three days now... no solutions work, I'm ready to pull my hair out hehe.

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
gernblan
Joined: Apr 10, 2006
Posts: 19

Posted: Sun Apr 30, 2006 3:22 am
Make that four days now. I'm super close to giving up.

Perhaps it just doesn't work with Nuke 7.9 and the latest Gallery?

I've done every single thing I could, followed every "solution" to this in the forums. It just doesn't work.

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
roundst
Joined: Mar 09, 2006
Posts: 2

Posted: Wed May 17, 2006 3:15 am
persevere don't give up.. i'm still having probs.. but it's intermitent!

c

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
charliewong
Joined: May 14, 2006
Posts: 3

Posted: Wed May 17, 2006 6:52 am
dsrains wrote: › Thank you very much. That fixed my problem.

I used WSFTP Pro to ftp the files to my webhost. Why would it not copy that file?


Maybe this is the issue. When I installed the standalone gallery, I installed it in the root of my web directory ( /gallery2 ) but when I used the integration package, I put it in /modules/gallery2. Does my gallery need to be in /modules? To I have to just move the files or do I need to reinstall?

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
BeerFace
Joined: Sep 15, 2003
Posts: 8

Posted: Wed May 17, 2006 7:34 am
I get balnk pages
Could it be that I have the entire installation in a subfolder?
my installation dir is http://www.mydomain.com/1/

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Wed May 17, 2006 8:26 am
make sure that you've got the proper URLs in your integration settings, and that yuo've already installed and configured gallery2

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
LudovR
Joined: Jun 14, 2006
Posts: 3
Location: Piacenza, Italy
Posted: Wed Jun 14, 2006 12:18 pm
Hi,
I have just downloaded and installed the Integration package, version 0.5.12.
There seems to be a
Code: › include("header.php");

statement missing in /index.php, at the very bottom of the file, before
Code: › OpenTable();
.
I was getting a blank page until I added it, now runs all ok.
Hope this helps debugging the script, check it out.

Bye,
Ludo

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Wed Jun 14, 2006 12:20 pm
actually, that call is there:
PHP: › <?php if ($fd fopen("header.php""r")) {
        while (!
feof($fd)) {
            
$line fgets($fd1024);
            
$line str_replace('<?php'''$line);
            
$line str_replace(' ?>'''$line);
            
$line preg_replace('/(@?)include\("includes\/javascript.php"\)\;/','',$line);
            if(
defined('NUKE_EVO')) {
                
$evo_version explode('.',NUKE_EVO);
                if(
intval($evo_version[0]) >= 1) {
                    
$line str_replace("require_once(dirname(__FILE__).'/mainfile.php');","require_once('mainfile.php');",$line);
                }
            }
            
$header .= $line;
            if (
strstr($line"<head")) {
                foreach(
$css as $stylesheet) {
                    
$links $stylesheet;
                    
$links str_replace('"''\"'$links);
                    
$header .= 'echo "' $links'\n";' "\n";
                }
                foreach(
$javascript as $script) {
                    
$scriptline $script;
                    
$scriptline str_replace('"','\"',$scriptline);
                    
$header .= 'echo "' $scriptline'\n";'."\n";
                }
            }
        }
    }
    eval(
$header); ?>


this inserts g2 css into the phpnuke header.

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
LudovR
Joined: Jun 14, 2006
Posts: 3
Location: Piacenza, Italy
Posted: Wed Jun 14, 2006 12:33 pm
I was just wondering why in PHP-Nuke integration G2 styles were rendering so bad (better, not rendering at all) ! Very Happy Very Happy Thought it was because of our hard-modding of Nuke...
Do you have an idea of the reason why that piece of code doesn't work in my site, and returns a blank page? Maybe because of 3.2 Nuke Patch? All the G2 and the Integration seem correctly installed, settings and writing to DB too...

Thanks,
Ludo

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
LudovR
Joined: Jun 14, 2006
Posts: 3
Location: Piacenza, Italy
Posted: Wed Jun 14, 2006 1:21 pm
Solved! Very Happy
Integration script didn't like very much our modding of header.php, particularly the use of the dot to concatenate echoed <head> strings. Very Happy
Switched back to one echo statement per line, and the G2 styling is back without blank pages! Cool

Bye,
Ludo

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
schattenz
Joined: Jul 22, 2006
Posts: 4

Posted: Sun Jul 23, 2006 12:30 am
3rdRRAdmin wrote: › There's a bug in the latest index.php from the Integration package...

Line 230 reads:
Code: › $line = str_replace('include("includes/javascript.php");', '',$line);


When it should really be:
Code: › $line = str_replace('@include("includes/javascript.php");', '',$line);


The replace was leaving an extra '@' in the $header variable being eval()'d, and causing the following error in PHP:

PHP Parse error: parse error, unexpected T_IF in /home/BLAH/public_html/BLAH/modules/gallery2/index.php(246) : eval()'d code on line 42

Helps having access to the Apache error_log Twisted Evil


My line 230 is not same as this line.

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
fn_keith
Joined: Apr 09, 2006
Posts: 12

Posted: Tue Aug 15, 2006 8:41 pm
Another cause that can produce a blank page is either Apache or MySQL have maxed out on resources and or experiencing some sort of problem. Rebooting the server or restarting mysql and or httpd can resolve this issue. If your web host refuses to reboot either service (MySQL or Apache), I suggest finding a different web host.

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
angelkiller
Joined: Jan 28, 2007
Posts: 1

Posted: Mon Jan 29, 2007 5:19 pm
OMG sticky this.. as everyone seems to be suffering this problem to.. If you add a php.ini file to your gallery 2 folder to set memory to 16mb not 8mb.. then you have to have it in the nuke root folder.. as well.. Wink

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
ohiodarter
Joined: Dec 19, 2004
Posts: 1

Posted: Mon Feb 19, 2007 8:02 pm
charliewong wrote: ›
dsrains wrote: › Thank you very much. That fixed my problem.

I used WSFTP Pro to ftp the files to my webhost. Why would it not copy that file?


Maybe this is the issue. When I installed the standalone gallery, I installed it in the root of my web directory ( /gallery2 ) but when I used the integration package, I put it in /modules/gallery2. Does my gallery need to be in /modules? To I have to just move the files or do I need to reinstall?


This seems to be what A LOT of people would have, as these are the defaults. Yet nobody has replied to this yet. I would love to see the answer to this, as I am near moving on myself - 40+ Nuke sites and never had an addon aggravate me this much. Anybody know if this could be what is causing us problems? TIA.

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
fornve
Joined: Nov 12, 2007
Posts: 1

Posted: Mon Nov 12, 2007 10:39 am
Where is embed.php from package phpnuke_063.zip

required in modules/gallery2/admin.php function check_g2configerror($embedphpfile, $vars=NULL)

require_once ('modules/'.$module_name.'/embed.php');

?[/i]

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
Defcon
Joined: Apr 07, 2006
Posts: 2

Posted: Thu Mar 05, 2009 1:39 am
I also got this problem. This thread was open/write on 2005 & now is 2009. I running on RavenNuke™ v2.30.01 a.k.a PHPNUKE engine, after successful install & configure stand alone Gallery 2 then Gallery 2 Integration modules for PHPNUKE/RavenNuke™ v2.30.01 then once active that module via PHPNUKE/RavenNuke™ Administration Menu & i click to open gallery2 (http://localhost/web/main.php?name=gallery2) my page is blank.


I do a search & read a lot one by one from gallery2.cfg issue untill no longer needed as Dari has improved but i still got a blank page. Therefor, can someone advice me which exactly URL to solve this problem?

Thanxs

AuthorMessage
Post Title: Re: Another BLANK PAGE SOLUTION!
WroKeN
Joined: Jul 21, 2005
Posts: 14

Posted: Thu Jul 16, 2009 8:52 pm
When this problem is fixed?
I try install it the year 2005 o 2006 i think, and have the same problem.
Black PAge
all configurations OK, but, the page, same, Blank

Dari, u can help me Smile
http://www.elremanso.cl/modules.php?name=gallery2

All times are GMT - 5 Hours
Powered by PHPNuke and phpBB2 © 2006 phpBB Group