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  

blank page again
Goto page Previous  1, 2, 3, 4, 5  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
dari

Site Admin
Site Admin


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

PostPosted: Mon Dec 19, 2005 7:45 pm    Post subject: Re: blank page again Reply with quote

let me download and install evo and i'll start a new thread with my questions after that. i have a feeling it's got something to do with the database abstraction layer....did you make any changes to that?
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
AdBot
   Post subject: Re: blank page again  

Back to top
Technocrat

Beginner
Beginner


Joined: Jan 29, 2005
Posts: 3

PostPosted: Mon Dec 19, 2005 7:49 pm    Post subject: Re: blank page again Reply with quote

Yes, there are even more adjustments in Release 1 which is a few days *cross fingers* away. So if it looks like a lot of work then maybe waiting until Release 1 is out would be best.
_________________

Nuke-Evolution Distro [nuke-evolution.com] - Evolving the Nuke world
Back to top
Offline View user's profile Send private message
bigdmeister

Wizard
Wizard


Joined: Sep 03, 2003
Posts: 429

PostPosted: Tue Dec 20, 2005 12:25 am    Post subject: Re: blank page again Reply with quote

http://www.nuke-evolution.com/forums.ht ... pic&t=2576

Basically tonight I took the latest beta 3.1 of Evo as well as the latest Gallery (2.0.2) as well as the latest integration package from here and had no (zero) problems with the installation and integration.

Not a problem, but a hickup: I noticed that I needed to fill in the URL path from document root to embedURI: value because I have installed this in a folder called /evotest/ which then resulted in http://www.superbikeshawaii.com/evotest/v/test/ . Once I went in and deleted the /evotest/ from the embedURI value, it worked perfectly.


Working link for now (it's a test site): http://www.superbikeshawaii.com/evotest ... e=gallery2
Back to top
Offline View user's profile Send private message Send e-mail
bigdmeister

Wizard
Wizard


Joined: Sep 03, 2003
Posts: 429

PostPosted: Tue Dec 20, 2005 12:31 am    Post subject: Re: blank page again Reply with quote

Next I'll try out the svn version of Evo as well as Gallery 2.0.2 and tonights integration package. Wish I had a T1 connection - this may take all night Mr. Green . I'll post my results when I get them.
Back to top
Offline View user's profile Send private message Send e-mail
Darsch7

Wizard
Wizard


Joined: Nov 13, 2005
Posts: 79

PostPosted: Tue Dec 20, 2005 5:50 am    Post subject: Re: blank page again Reply with quote

Quote: › i'll have to make a separate integration package for evolution

I don't think so cause all were running good. I have to check what's wrong now on 2 separated database. But if you can test on 2 different DB installation with nuke evo and check what's wrong it will be really good.
Back to top
Offline View user's profile Send private message
bigdmeister

Wizard
Wizard


Joined: Sep 03, 2003
Posts: 429

PostPosted: Tue Dec 20, 2005 6:06 am    Post subject: Re: blank page again Reply with quote

I'll make an update here before heading off for sleep.

Everything installed correctly until I tried to view the gallery after integrating.

Code: ›
Warning: Unknown(/home/bigdmeister/public_html/evosvn/modules/gallery2/mainfile.php): failed to open stream: No such file or directory in /home/bigdmeister/public_html/evosvn/modules/gallery2/index.php(246) : eval()'d code on line 33

Fatal error: (null)(): Failed opening required '/home/bigdmeister/public_html/evosvn/modules/gallery2/mainfile.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bigdmeister/public_html/evosvn/modules/gallery2/index.php(246) : eval()'d code on line 33


Line 246 of the /modules/gallery2/index.php is evaluating the header eval($header);.

Line 33 of the Evo header is this: require_once(dirname(__FILE__).'/mainfile.php');.

Hopefully that can shed some light on how to fix the problem as I have no idea at 0100 in the morning, especially after reading this: http://us2.php.net/eval .

If nothing else I will sleep on it and look a little more indepth at it tomorrow.
Back to top
Offline View user's profile Send private message Send e-mail
bigdmeister

Wizard
Wizard


Joined: Sep 03, 2003
Posts: 429

PostPosted: Tue Dec 20, 2005 6:13 am    Post subject: Re: blank page again Reply with quote

Damn. I had to try one last thing after reading what I wrote. I changed the /modules/gallery2/main.php to mainfile.php and changed the /modules/gallery2/embed.php line 34 from

require(dirname(__FILE__) . '/main.php');

to

require(dirname(__FILE__) . '/mainfile.php');

and it looks to have fixed it: http://www.superbikeshawaii.com/evosvn/ ... e=gallery2

Uploading an album now and will test tomorrow.
Back to top
Offline View user's profile Send private message Send e-mail
Darsch7

Wizard
Wizard


Joined: Nov 13, 2005
Posts: 79

PostPosted: Tue Dec 20, 2005 6:32 am    Post subject: Re: blank page again Reply with quote

YEAH IT'S FIXED WITH THIS !!!!!
AHAHAH THKS BIG Wink
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Tue Dec 20, 2005 7:41 am    Post subject: Re: blank page again Reply with quote

erm, you don't want to make that main.php -> mainfile.php change like that... main.php is an essential g2 file, and mainfile.php is the file in nuke that has all the global vars like $db and $prefix. i'm not sure this is a good hack, especially since it will be undone when the user updates gallery.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
Darsch7

Wizard
Wizard


Joined: Nov 13, 2005
Posts: 79

PostPosted: Tue Dec 20, 2005 1:47 pm    Post subject: Re: blank page again Reply with quote

mainfile.php doesn't exist in the last package. It's why i had the error.
So if you have a better fix i will take it Mr. Green
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Tue Dec 20, 2005 1:48 pm    Post subject: Re: blank page again Reply with quote

what's the equivalent of mainfile.php (where the db is setup,etc)?
_________________
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: Tue Dec 20, 2005 2:03 pm    Post subject: Re: blank page again Reply with quote

You're right Dari. What I had to do after testing it was duplicate the main.php and call it mainfile.php. The header in Evolution is looking for the /modules/gallery2/mainfile.php which it can't find of course since it's not there.

The temp fix is I just gave it what it was looking for and seems to run normally. I'm sure there's a better fix but I'm not sure what that is right now.

For your last question, I'm not sure what the question is.
Back to top
Offline View user's profile Send private message Send e-mail
dari

Site Admin
Site Admin


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

PostPosted: Tue Dec 20, 2005 2:09 pm    Post subject: Re: blank page again Reply with quote

Darsch7 said that mainfile.php doesn't exist in evo anymore. what is the equivalent file that does what mainfile.php used to do (ie, what file do i need to include so that i can get access to the $db and $prefix variables, etc)?
_________________
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: Tue Dec 20, 2005 2:19 pm    Post subject: Re: blank page again Reply with quote

No. It exists. It's looking for mainfile.php in the gallery2 folder as called by line 246 of the /modules/gallery2/index.php eval($header);.

The light just clicked on (maybe). What would be a valid change so that line 33 is not called from the Evo header which is looking for the mainfile.php in the gallery2 folder when it shouldn't be?
Back to top
Offline View user's profile Send private message Send e-mail
dari

Site Admin
Site Admin


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

PostPosted: Tue Dec 20, 2005 2:22 pm    Post subject: Re: blank page again Reply with quote

well, the offending line in modules/gallery2/index.php which is "require_once("mainfile.php");" (or some such thing) is the standard line in phpnuke for including mainfile.php out of the nuke root folder. i'm not sure why evo handles it differently (it shouldn't, as php will look for mainfile.php in the root, not in the current directory, see http://us2.php.net/require_once ).
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
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 Previous  1, 2, 3, 4, 5  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: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSEO Search Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaCheap Web Design

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