| View previous topic :: View next topic |
| Author |
Message |
Bob2 dadaMember


Joined: Jan 16, 2006 Posts: 2
|
Posted: Mon Jan 16, 2006 7:51 am Post subject: Re forums in v7.9 |
|
|
I just installed v7.9 patched, downloaded from here , all seems to be working so far , however when i attempt to go "forums" through admin I am returned a blank white page
Am I missing somrthing obvious in set up?
thanks in advance |
|
| Back to top |
|
 |
dadaBIT General Manager


Joined: Jun 23, 2005 Posts: 582 Location: United States
|
Posted: Mon Jan 16, 2006 11:10 am Post subject: |
|
|
Greetings and welcome to the boards! Not certain my friend. Is it a "clean" install of 7.9 or an upgrade? Working on a new project this morning in fact, using the very bundle in our downloads. As soon as I saw your post, went over to the dev site, logged-in and selected "Forums". All appears to be well.
-dadaBIT _________________
 Visit the DaDaNuke Wish List
Last edited by dadaBIT on Thu Jul 13, 2006 11:04 pm; edited 1 time in total |
|
| Back to top |
|
 |
Bob2 dadaMember


Joined: Jan 16, 2006 Posts: 2
|
Posted: Mon Jan 16, 2006 6:14 pm Post subject: |
|
|
OK here what it says
Fatal error: Cannot redeclare class config in C:\Program Files\xampp\php\pear\Config.php on line 43
Looking at that, I guess it's not a problem with the build ? although as I said earlier versions of nuke ie 7.7 and 7.8 both seem to work ,
so any suggestion would be most appreciated. |
|
| Back to top |
|
 |
adramalek dadaMember


Joined: Jul 24, 2006 Posts: 3
|
Posted: Mon Jul 24, 2006 1:39 am Post subject: |
|
|
Greetings,
1st let me say this is a killer combo, been workin almost 2 days tryin to get phpBB to port into nuke when i stumbled on to this build. Killer killer package, but i too seem to have this black white page when attempting to login to the admin side of the phpbb forums... but i'm not getting the error part... just a simple white page
any help with this.... Can be reached at yahoo mgr or AIM
Yahoo: adramalek2003
AIM: DFC Dark
Thanks for you time and keep goin a killer job guys and gals!! |
|
| Back to top |
|
 |
dadaBIT General Manager


Joined: Jun 23, 2005 Posts: 582 Location: United States
|
Posted: Mon Jul 24, 2006 2:21 am Post subject: |
|
|
Greetings, welcome to the board and Thanks for the very kind remarks! Have you tried re-uploading the files? _________________
 Visit the DaDaNuke Wish List |
|
| Back to top |
|
 |
reneweesp dadaSupport


Joined: Dec 10, 2005 Posts: 11 Location: Amsterdam
|
Posted: Mon Jul 24, 2006 5:20 am Post subject: |
|
|
| Bob2 wrote: | OK here what it says
Fatal error: Cannot redeclare class config in C:\Program Files\xampp\php\pear\Config.php on line 43 |
The Xampp setup isn't intend to use phphnuke (correct me if im wrong).
Xampp is a all-in-one package solution (apache-php-phpMyAdmin-msyql and website). The latest time iv'e looked at Xampp, it uses old core for every part. Its no so hard setup apache+php+mysql+phpMyAdmin many manuals or howtos to find on Internet
Your apache config file and/or php config file caused the error (misconfiguration). Not dadanuke version E |
|
| Back to top |
|
 |
adramalek dadaMember


Joined: Jul 24, 2006 Posts: 3
|
Posted: Mon Jul 24, 2006 12:49 pm Post subject: |
|
|
| dadaBIT wrote: | | Greetings, welcome to the board and Thanks for the very kind remarks! Have you tried re-uploading the files? |
Yes i have, and i've also taken out the DB for it and reinstalled it... everything else seems to be workin except for getting into the admin part of the forums....
Updated: ok i found the error part of phpnuke.... i run the forums.... heres what i'm getting now.....
Fatal error: Cannot redeclare class config in C:\php\pear\Config.php on line 43 kinda like that xampp.... but i don't have that xampp thing.
Ok, opened up the config.php in php, here's line 43
* Config
*
* This class allows for parsing and editing of configuration datasources.
* Do not use this class only to read datasources because of the overhead
* it creates to keep track of the configuration structure.
*
* @author Bertrand Mansion <bmansion>
* @package Config
*/
class Config {
/**
ok... is it just me or should this statment be closed off? |
|
| Back to top |
|
 |
adramalek dadaMember


Joined: Jul 24, 2006 Posts: 3
|
Posted: Mon Jul 24, 2006 2:51 pm Post subject: |
|
|
Ok, after a few trial and errors and a not so helpful php.net
I think i fixed it.... C:\php\pear\config.php file.... delete it!! and welcome to the forums for your site |
|
| Back to top |
|
 |
funnsun34 dadaMember


Joined: Jun 21, 2005 Posts: 2
|
Posted: Tue Aug 01, 2006 3:21 pm Post subject: Same here |
|
|
I get the same thing, blank page while trying to access BB admin but on linux with a fresh install 7.9.0.3.2d. I was wondering if 7.9.0.3.2e might fix the problem. BTW, I just unpacked 7.9.0.3.2e and I don't see a 7.9d to 7.9e upgrade path.
Thanks |
|
| Back to top |
|
 |
dadaBIT General Manager


Joined: Jun 23, 2005 Posts: 582 Location: United States
|
Posted: Thu Aug 03, 2006 1:14 pm Post subject: |
|
|
Greetings funnsun34 and welcome to the board! Above just overlaying the files (with regards to upgrading the database), BBtoNuke MySQL upgrade scripts may be found in /upgrades/0.1x and /upgrades/0.2x
-dadaBIT _________________
 Visit the DaDaNuke Wish List |
|
| Back to top |
|
 |
qwerly dadaMember


Joined: Sep 04, 2006 Posts: 1
|
Posted: Mon Sep 04, 2006 11:59 am Post subject: |
|
|
The blank page in forum admin can happen if you have moved the config.php.
Try sticking it back in and see if that works,
It's something to do with the redirect from the mainfile as a work round you can try editing the mainfile.php to the full path ie ../config.php if you have dropped it behind the htdocs folder.
HTH
Q |
|
| Back to top |
|
 |
burkster Guest

|
Posted: Tue Sep 05, 2006 1:39 am Post subject: |
|
|
OK Hey I thinks I have your answer.
Same problemo here, I have my config.php secured BELOW my HTML folder (no outside access)
SO here is the fix if you did the same thing (took me 30 mins eek.. haven't updated my board in eons)
| Code: | if (defined('FORUM_ADMIN')) {
@require_once("../../../../config.php"); <-----(added "../" as shown here")
@require_once("../../../db/db.php");
@require_once("../../../includes/sql_layer.php");
if (file_exists("../../../includes/custom_files/custom_mainfile.php")) { @include_once("../../../includes/custom_files/custom_mainfile.php"); }
@require_once("../../../includes/ipban.php");
} elseif (defined('INSIDE_MOD')) {
@require_once("../../../config.php"); <-----(added "../" as shown here")
@require_once("../../db/db.php");
@require_once("../../includes/sql_layer.php");
if (file_exists("../../includes/custom_files/custom_mainfile.php")) { @include_once("../../includes/custom_files/custom_mainfile.php"); }
@require_once("../../includes/ipban.php");
} else {
@require_once("../config.php"); <-----(added "../" as shown here)
@require_once("db/db.php");
@require_once("includes/sql_layer.php");
if (file_exists("includes/custom_files/custom_mainfile.php")) { @include_once("includes/custom_files/custom_mainfile.php"); }
@require_once("includes/ipban.php");
|
I'd like to thank for without him I would not have been able to fix it.. I knew it was there somewhere but I have not updated my Nuke since .19 so It's been forever.. thanks man!!!
hey man hope this helps.. |
|
| Back to top |
|
 |
funnsun34 dadaMember


Joined: Jun 21, 2005 Posts: 2
|
Posted: Tue Sep 12, 2006 1:34 pm Post subject: My Forum is back in business |
|
|
| burkster: that fixed my issue as well....Thanks |
|
| Back to top |
|
 |
maceo dadaMember


Joined: Mar 25, 2007 Posts: 1
|
Posted: Sun Mar 25, 2007 2:25 am Post subject: |
|
|
OK, I just upgraded to 7.9 and now whenevr I try to administer my forums module, it just re directs me to a blank page??????
I have read this thread and basically summized that the same exact thing is happening to me that has happended to other people here. Although this is almost a year later. Has there been a fix for it??? Also, the code that is displayed above. Where exactly do I put this code??? in FORUMS/Config.php?? Do I delete everyithing thats in there and replace it with this code???
Thanks for all the help.
Maceo |
|
| Back to top |
|
 |
emilacosta dadaAdmin


Joined: Sep 19, 2005 Posts: 219 Location: Miami, FL
|
Posted: Tue Mar 27, 2007 8:35 am Post subject: |
|
|
Greetings maceo and welcome to the boards!
I read the posting of this forum, but in order to better help you more informations is needed:
1. You upgrade to 7.9 . Was the 7.9 from this site? if so what is the release e, f. Is it a patch version? if so, what is the patch release 3.1, 3.3
2. Are you running your site local or in a share server?
3. Are you using xampp?
4. If you enable in you config.php in the root of your installation to display errors. What it show?
Enjoy.
note: the code show above look like and I am almost sure the mainfile.php in the root of your nuke installation and the modification are for the case that you move config.php outside the root folder. _________________ "In the computer business you’re either a one or a zero and I am determined never to be zero." |
|
| Back to top |
|
 |
|