Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» .::.
tattoo fonts
http://www.checkoutmyink.com/category/tattoo-fonts-tattoo

Go Back   Nukemods Forum > PHP-Nuke 7.x > Nuke 7.x - General

Reply
 
LinkBack Thread Tools Display Modes
Parse Error in Config.php during Nuke v4.3.1 to 7.6 upgrade
Old
  (#1 (permalink))
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
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
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.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
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
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
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
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Solution Found!
Old
  (#5 (permalink))
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
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#6 (permalink))
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.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
config.php help krimax Nuke 7.x - General 2 12-30-2006 03:10 PM
Upgrade caused article error pentium4 Nuke 7.x - General 3 05-22-2005 11:40 AM
Parse Errors? marston Open topics 1 01-10-2005 09:47 AM
config.php help frostman179 Nuke 6.5 to 6.9 - Themes 1 07-17-2003 12:46 PM
Nuke Cops & Tom's phpbb2 port upgrade to phpbb 2.0.4 Martin Purged Topics 0 02-14-2003 07:59 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31