Install script problems

Codes here !

Moderators: macek, egami, gesf

Post Reply
User avatar
Redcircle
Moderator
Moderator
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA
Contact:

Post by Redcircle » Fri Jun 27, 2003 10:10 pm

Hi,
I'm currently writing an install script for the forum software I'm making, and I am having unbelieveably problems getting it to work.
As far as I, 1 professional coder, and 2 friends can see, the code it completely perfect, but it doesn't work.
Currently I'm getting this error:


Tested the code on my server got no errors.

User avatar
bezmond
Moderator
Moderator
Posts: 312
Joined: Sat Apr 05, 2003 4:33 am
Location: Mansfield, UK
Contact:

Post by bezmond » Fri Jun 27, 2003 11:21 pm

Code: Select all

Code: 
Parse error: parse error, unexpected $ in d:\program files\easyphp\www\forum\install\do_install.php on line 44

That unexpected $ means you are missing a } somewhere in your script...

Andrew

User avatar
bezmond
Moderator
Moderator
Posts: 312
Joined: Sat Apr 05, 2003 4:33 am
Location: Mansfield, UK
Contact:

Post by bezmond » Fri Jun 27, 2003 11:23 pm

one error I spotted though...

If ($configfile = fopen("../config_file.php","w")) {
$filecontent = <<<EOF_MARKER
<?php
/********************
*DDbb Config File *
********************/

why do you open PHP again without closing it?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest