| Author |
Message |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
Posted: Mon Dec 19, 2005 7:45 pm Post subject: Re: blank page again |
|
|
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 |
|
|
AdBot
|
| Post subject: Re: blank page again |
|
|
|
|
|
| Back to top |
|
 |
Technocrat
Beginner


Joined: Jan 29, 2005 Posts: 3
|
Posted: Mon Dec 19, 2005 7:49 pm Post subject: Re: blank page again |
|
|
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 |
|
|
bigdmeister
Wizard


Joined: Sep 03, 2003 Posts: 429
|
|
| Back to top |
|
|
bigdmeister
Wizard


Joined: Sep 03, 2003 Posts: 429
|
Posted: Tue Dec 20, 2005 12:31 am Post subject: Re: blank page again |
|
|
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 . I'll post my results when I get them. |
|
| Back to top |
|
|
Darsch7
Wizard


Joined: Nov 13, 2005 Posts: 79
|
Posted: Tue Dec 20, 2005 5:50 am Post subject: Re: blank page again |
|
|
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 |
|
|
bigdmeister
Wizard


Joined: Sep 03, 2003 Posts: 429
|
Posted: Tue Dec 20, 2005 6:06 am Post subject: Re: blank page again |
|
|
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 |
|
|
bigdmeister
Wizard


Joined: Sep 03, 2003 Posts: 429
|
Posted: Tue Dec 20, 2005 6:13 am Post subject: Re: blank page again |
|
|
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 |
|
|
Darsch7
Wizard


Joined: Nov 13, 2005 Posts: 79
|
Posted: Tue Dec 20, 2005 6:32 am Post subject: Re: blank page again |
|
|
YEAH IT'S FIXED WITH THIS !!!!!
AHAHAH THKS BIG  |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
Posted: Tue Dec 20, 2005 7:41 am Post subject: Re: blank page again |
|
|
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 |
|
|
Darsch7
Wizard


Joined: Nov 13, 2005 Posts: 79
|
Posted: Tue Dec 20, 2005 1:47 pm Post subject: Re: blank page again |
|
|
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  |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
Posted: Tue Dec 20, 2005 1:48 pm Post subject: Re: blank page again |
|
|
what's the equivalent of mainfile.php (where the db is setup,etc)? _________________
 |
|
| Back to top |
|
|
bigdmeister
Wizard


Joined: Sep 03, 2003 Posts: 429
|
Posted: Tue Dec 20, 2005 2:03 pm Post subject: Re: blank page again |
|
|
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 |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
Posted: Tue Dec 20, 2005 2:09 pm Post subject: Re: blank page again |
|
|
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 |
|
|
bigdmeister
Wizard


Joined: Sep 03, 2003 Posts: 429
|
Posted: Tue Dec 20, 2005 2:19 pm Post subject: Re: blank page again |
|
|
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 |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
Posted: Tue Dec 20, 2005 2:22 pm Post subject: Re: blank page again |
|
|
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 |
|
|
|
|
|
|
|