View Single Post
Parse Error in Config.php during Nuke v4.3.1 to 7.6 upgrade
Old
  (#1 (permalink))
zoomie95
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, 04: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
   
Reply With Quote