Parse error: line 260 Parse error: line 260
 

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

Parse error: line 260

Started by dj4967, April 06, 2004, 02:36:37 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

dj4967

New install of CPG 1.2 standalone
Linux
Apache 1.3.29
PHP 4.3.3
MySQL 4.0.18

Im getting this error:
Parse error: parse error in /home/conce/public_html/gallery/index.php on line 260

Line 260 shows:
    $user_thumb = "<img src=\""    et_pic_url($picture, 'thumb') . "\" {$image_size['geom']} alt=\
------------------------------------------------------------------------

All I get is a blank screen with just the parse error showing. No access to the admin area of the gallery.

Thank in advance for helping out a newbie
DJ

Joachim Müller

Probably your files got corupted during upload, or you didn't use the correct ftp mode. Get a fresh coppermine package and re-upload.

GauGau

dj4967


dj4967

I did wht u suggested...Now Im getting these errors..also still no visiblepages just the error headers.

----------------------------

Parse error: parse error, expecting `'&'' or `T_VARIABLE' or `T_CONST' in /home/jmjconce/public_html/gallery/themes/default/theme.php on line 772

Parse error: parse error, expecting `')'' in /home/jmjconce/public_html/gallery/lang/english.php on line 368

Fatal error: Call to undefined function: pageheader() in /home/jmjconce/public_html/gallery/index.php on line 524
---------------------------------------------------------

Here is line 772 of theme.php
function pageheader($section, ect_a = '')
-------------------------------------
line 368 of english.php
      array('Picture information are visible by defauhp = 'display_pic_info', 1),
---------------------------------

line 524 of index.php
pageheader($BREADCRUMB_TEXT ? $BREADCRUMB_TEXT : $lang_index_php['welcome']);

----------------------------------

could it be corrupted again? Ive upped it again 3 times from 3 differnet d/l sites. could it be upped as binary?

Thx
DJ

Casper

it deffinately sounds as though your files are being corrupted during upload.

What mode are you uploading in.  If you where in auto, try doing them again in ASCII (not the image files).
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here