|
» Online Users: 101 |
| 16 members and 85 guests |
| ari2tttzonaheal, bro5atwn2sicarp, bus2gqjiness7zi, coo5ewkin4sjcpg, dendhd4tistjo6q, frepm9nnch, hai3rydrtranspl, itc6sqhyskinand, laszxsvegaschib, move39san, pesbxbtcontr3jk, robaaerteqjc6xs, ttdwncras, tucqqa9sonc7dee, ven8qqloeejg3in, watlkerpr |
| Most users ever online was 611, 03-21-2008 at 11:10 PM. |
|
» .::. |
tattoo fonts http://www.checkoutmyink.com/category/tattoo-fonts-tattoo
|
|
 |
|
Nukemods Forum
> PHP-Nuke 7.x
> Nuke 7.x - General
|
Parse Error in Config.php during Nuke v4.3.1 to 7.6 upgradeThis is a discussion on Parse Error in Config.php during Nuke v4.3.1 to 7.6 upgrade within the Nuke 7.x - General forums, part of the PHP-Nuke 7.x category; Hi!
I recently signed up for an PHP-Nuke enable account with an ISP. Their standard version was 4.3.1, so I ... |
|
|
 |
|
|
|
|
Junior Member
Status: Offline
Posts: 3
Join Date: Dec 2004
|
Parse Error in Config.php during Nuke v4.3.1 to 7.6 upgrade -
02-21-2005, 05:52 PM
Hi!
I recently signed up for an PHP-Nuke enable account with an ISP. Their standard version was 4.3.1, so I purchased 7.6 and followed the installation proceedures to the best of my ability.
I installed all the new files into the appropriate directory, created an new db user, and modified the upgrqade4.3 file to include my detailed db and user information. When I tried to call the upgrade file using my browser, problems connecting to the MySQL database began.
I contacted my ISP's help desk who provided some assistance outside of the scope of their normal service. To make a long story short, I now get connected to the db, but I get the following error:
Parse error: parse error, unexpected '=', expecting ')' in /home/gliderri/.panel/web/portal/73/config.php on line 91
I looked at the config.php code and could not find what appears to be a syntax error. Here's the code string from line 91 of my config.php file:
$AllowableHTML = array("b"=>1, "i"=>1, "a"=>2, "em"=>1, "br"=>1, "strong"=>1, "blockquote"=>1, "tt"=>1, "li"=>1, "ol"=>1, "ul"=>1); $CensorList = array("fuck", "cunt", "fucker", "fucking", "pussy", "cock", "c0ck", "cum", "twat", "clit", "bitch", "fuk", "fuking", "motherfucker"); $tipath = "images/topics/"; if (eregi("config.php",$_SERVER['PHP_SELF'])) { Header("Location: index.php"); die(); } ?>
I will glady provide a copy of my config.php file for further review.
I'm hoping this is a simple error that I'm overlooking and that fixing it will require only a minor correction.
I appreciate any assistance you can offer. Thanks in advance for your support and have a great day!
Regards,
Mike
|
|
|
|
|
|
|
|
Junior Member
Status: Offline
Posts: 3
Join Date: Nov 2004
|
02-22-2005, 05:49 PM
from 4.3 to 7.6?
yuk, just delete everything to do with 4.3 (if that truly IS what they offer) and start from scratch or you'll never get past all the problems.
just follow the instructions in the install files, it's pretty simple.
|
|
|
|
|
|
|
|
Junior Member
Status: Offline
Posts: 3
Join Date: Dec 2004
|
02-22-2005, 05:59 PM
Quote:
|
Originally Posted by fncool
from 4.3 to 7.6?
yuk, just delete everything to do with 4.3 (if that truly IS what they offer) and start from scratch or you'll never get past all the problems.
just follow the instructions in the install files, it's pretty simple.
|
Thanks for the advice. Will that trash the content pages I've already built in 4.3, or will they be preserved?
I appreciate your assistance.
Regards,
Mike
|
|
|
|
|
|
|
|
Junior Member
Status: Offline
Posts: 3
Join Date: Nov 2004
|
02-22-2005, 09:19 PM
yes it will, go into your phpmyadmin, find nuke_pages and export it separately, then once you are all set up, you can import it back.
i'd suggest you export your whole database too, just in case.
i doubt the nuke_pages table has changed, but i can guarantee a quite a few others have, so alot won't be usable after.
i'm just guessing on some of this, i've never even heard of anyone using that old a version, lol
|
|
|
|
|
|
|
|
Junior Member
Status: Offline
Posts: 3
Join Date: Dec 2004
|
Solution Found! -
02-23-2005, 12:28 PM
Everyone,
I appreciate all your advice and willingness to share your knowledge. I got a PM from Marty offering to help me. We walked through my config.php file and decided to blow it away and start over with the one I downloaded with the Nuke 7.6 application.
Anyway, the problem with the parsing error went away once I used the new file. The problem with connecting to the MySQL server was because I did not have the proper db prefix specified in line 57 of the config.php file (I left it blank. I should have looked a the prefix assigned by my ISP when the Nuke 4.3 install automatically generated the Nuke db and input that value.)
My content pages were preserved without problems, so that fear has been assuaged. Things are as they should be right now and I'm proceeding along as planned. Check http://www.gliderrider.com in a few days to see what I've done.
Take care and have a great day!
Regards,
Mike
|
|
|
|
|
|
|
|
Junior Member
Status: Offline
Posts: 3
Join Date: Nov 2004
|
02-23-2005, 08:30 PM
good to hear.
i'm something of a newb myself, and i think this is the first post i've even made on this site.
it's my way of "paying back" the people who have helped me so much along the way.
i actually just came here that day to look at one of the themes, to help me figure out an issue i had.
glad it all worked out for you, use the search here, and google for any help, i find that the best way to learn, asking in forums tends to get the answers, which is good, but you don't learn nearly as much.
|
|
|
|
 |
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|