Advanced search  

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]

Pages: [1]   Go Down

Author Topic: SOLVED : yet another install.php problem ... parse error unexpected $  (Read 4030 times)

0 Members and 1 Guest are viewing this topic.

indigo77

  • Coppermine newbie
  • Offline Offline
  • Posts: 7

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...
« Last Edit: February 21, 2005, 09:05:32 am by GauGau »
Logged

Nibbler

  • Guest
Re: yet another install.php problem ... parse error unexpected $
« Reply #1 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.
Logged

indigo77

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: yet another install.php problem ... parse error unexpected $
« Reply #2 on: February 19, 2005, 09:17:20 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 ...

Logged

indigo77

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: yet another install.php problem ... parse error unexpected $
« Reply #3 on: February 19, 2005, 10:10:00 pm »

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

indigo77

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: yet another install.php problem ... parse error unexpected $
« Reply #4 on: February 19, 2005, 10:58:48 pm »

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

the error should be somewhere here

Code: [Select]
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....
Code: [Select]
</form>
can u figure out smthing ?
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: yet another install.php problem ... parse error unexpected $
« Reply #5 on: February 19, 2005, 11:14:35 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
Logged

indigo77

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: yet another install.php problem ... parse error unexpected $
« Reply #6 on: February 20, 2005, 12:06:34 am »



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...  ??? :-\\
Logged

indigo77

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
pls help ! .. yet another install.php problem ... parse error unexpected $
« Reply #7 on: February 20, 2005, 03:24:24 pm »


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)
Logged

Nibbler

  • Guest
Re: yet another install.php problem ... parse error unexpected $
« Reply #8 on: February 20, 2005, 03:31:55 pm »

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

indigo77

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: yet another install.php problem ... parse error unexpected $
« Reply #9 on: February 20, 2005, 03:47:38 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.
« Last Edit: February 20, 2005, 05:46:27 pm by indigo77 »
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 16 queries.