SOLVED : yet another install.php problem ... parse error unexpected $ SOLVED : yet another install.php problem ... parse error unexpected $
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

SOLVED : yet another install.php problem ... parse error unexpected $

Started by indigo77, February 19, 2005, 09:07:07 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

indigo77

hi all,

downloaded fresh copy 1.3.2.zip
extract and ftp upload to a folder /gallery in my web space
changed modes both to 777 - 755 of related folders
done this 10 times or so so far ...

every time the error is :
Parse error: parse error, unexpected $ in /home/*****/public_html/gallery/install.php on line 111

i've allready delete and re-upload the extracted files to /gallery folder several times...
also i've replaced the install.php file about a million times with a "crean fresh copy" of the included in the .zip file ...

General server information:
Operating system    Linux
Apache version    1.3.33 (Unix)
PERL version    5.8.1
PHP version    4.3.10
MySQL version    4.0.22-standard
cPanel Build    10.0.0-CURRENT 52

my pc is operating WinXP Pro SP1 amd i'm using FF is this counts ...

any help will be valuable...

Nibbler

What are you using to upload with ? have you tried re-downloading the zip file itself, myabe that was corrupted.

indigo77

Quote from: Nibbler on February 19, 2005, 09:13:57 PM
What are you using to upload with ? have you tried re-downloading the zip file itself, myabe that was corrupted.

fireFTP extension for Firefox,
AceFTP,
FlashFXFTP,
BullerProof FTP .... so far ... :-\\

downloaded the .zip file about 5 or 6 times ...


indigo77

i should ftp upload all the extracted from .zip file in ASCII mode ... is this right ?

indigo77

this is a part of my install.php file which seems to have the parse error..

the error should be somewhere here

function html_prereq_errors($error_msg)
{

    ?>
      <table width="100%" border="0" cellpadding="0" cellspacing="1" class="maintable">
       <tr>
            <form action="install.php">
        <td class="tableh1" colspan="2"><h2>Welcome to Coppermine installation</h2>
        </td>
       </tr>
       <tr>
        <td class="tableh2" colspan="2" align="center"><span class="error">&#149;&nbsp;&#149;&nbsp;&#149;&nbsp;ERROR&nbsp;&#149;&nbsp;&#149;&nbsp;&#149;</span>
        </td>
       </tr>
       <tr>
        <td class="tableb" colspan="2"> Before you continue with Coppermine installation, there are some problems that need to be fixed.<br /><br /><b><?php echo $error_msg ?></b>Once you are done, hit the "Try again" button.<br />
        </td>
       </tr>
       <tr>
        <td colspan="2" align="center"><br />
                <input type="submit" value="Try again !"><br /><br />
        </td>
                </form>
       </tr>
      </table>
<?php
}


specifically the exact line is 325 ...
line 325 is the closing of form tag just few lines before end of sub.... </form>

can u figure out smthing ?

Tranz

Quote from: indigo77 on February 19, 2005, 09:07:07 PM


every time the error is :
Parse error: parse error, unexpected $ in /home/*****/public_html/gallery/install.php on line 111

I thought the error is on line 111

indigo77

Quote from: TranzNDance on February 19, 2005, 11:14:35 PM
Quote from: indigo77 on February 19, 2005, 09:07:07 PM


every time the error is :
Parse error: parse error, unexpected $ in /home/*****/public_html/gallery/install.php on line 111

I thought the error is on line 111

re-download the .zip file - extract - upload and this is my new error line number...  ??? :-\\

indigo77


done everything so far ...  >:(
re-download and upload with ftp about a trillion times the files required for coppermine...
changed the attributes of folders.... but nothing happens...

it's the same error every time ...
Parse error: parse error, unexpected $ in /home/****/public_html/gallery/install.php on line 325

please please please...if anybody can help ...  :-[

is there something that should be up and running in my host server except of these
I re-post the general server status hosting me ...

Operating system     Linux
Service Status    Click to View
Kernel version    2.4.21-27.0.2.ELsmp
Machine Type    i686
Apache version    1.3.33 (Unix)
PERL version    5.8.1
Path to PERL    /usr/bin/perl
Path to sendmail    /usr/sbin/sendmail
Installed Perl Modules    Click to View
PHP version    4.3.10
MySQL version    4.0.22-standard
cPanel Build    10.0.0-CURRENT 52
Theme    cPanel X v2.5.0
Documentation    Click to View
cPanel Pro    1.0 (RC2)

Nibbler

If you pm me the ftp details, I can upload the files for you.

indigo77

Quote from: Nibbler on February 20, 2005, 03:31:55 PM
If you pm me the ftp details, I can upload the files for you.

sent. thnx


SOLVED...
something very freaky was happening with all my FTP tools  ??? what else can i say ...

million thnx to nibbler.