From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1ORK02-00079N-QJ for garchives@archives.gentoo.org; Wed, 23 Jun 2010 07:03:55 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB920E0B49 for ; Wed, 23 Jun 2010 07:03:53 +0000 (UTC) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 3851EE0A63 for ; Wed, 23 Jun 2010 06:18:42 +0000 (UTC) Received: by wwf26 with SMTP id 26so2901536wwf.40 for ; Tue, 22 Jun 2010 23:18:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=vbQ2d6haX6+KJiyHUDJ6fsEOWn9tRTSgyeXBHY6OygY=; b=JAo1XF+lLZH95gr7cx4NfMU1f57TRxjOn5/MQduBBE6yvOLrrICWJdzGjhrMPjtInH suz8NXpbVPFM6N4fvJPbORXn6IWGAIeBH46iBkYm/mWGuy9BYUmS4bI8/8ImutEG2Kz7 UObAapiVSZ3ykfUjmkiZW9ZJmR9TpkhG+kijc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=oS3aWqfiVsQLPind0E+ZnQ13BAtIFLf1TX0SQgjOjsKB7c0bZqMZvWkhmAeqgowK/7 rmbuom7UPSUSXNrWdK67LGLyEhw/+N13ZaaYsi7duLyXvtlYzZjcH/YgaxGxdKppAlov 7C085C+/4pq0eixOAV2y3ZvkAS8anTjrWCG2g= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.216.186.5 with SMTP id v5mr2110263wem.51.1277273920853; Tue, 22 Jun 2010 23:18:40 -0700 (PDT) Received: by 10.216.162.71 with HTTP; Tue, 22 Jun 2010 23:18:40 -0700 (PDT) Date: Wed, 23 Jun 2010 07:18:40 +0100 Message-ID: Subject: [gentoo-user] reading php file code in text editor From: Mick To: gentoo-user Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 2cddb15e-7608-4058-9cac-817296c457ba X-Archives-Hash: 58bd385eec61bac6728d0426bdb9fbcf I am looking at some php files which are causing parsing errors in Drupal, = like: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Warning: Unexpected character in input: ' in /var/www/htdocs/sites/all/themes/fusion/fusion_core/template.php on line 178 Warning: Unexpected character in input: ' in /var/www/htdocs/sites/all/themes/fusion/fusion_core/template.php on line 178 Warning: Unexpected character in input: ' in /var/www/htdocs/sites/all/themes/fusion/fusion_core/template.php on line 178 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D and so on. When I view the file using a text editor I see a number of lines which are shown as binary characters ... should it be like this? =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D $dimensions =3D !empty($node->height) && !empty($node->width) && !empty($node->length); // Hide dimensions if empty $vars['fusion_uc_dimensions'] =3D ($dimensions) ? drupal_render($node->content['dimensions']) : ''; if ($vars['fusion_uc_dimensions'] =3D=3D '') { unset($node->content['dimensions']); } $list_price =3D !empty($node->list_price) && $node->list_price > 0; ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@= ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^= @^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@= ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^= @^@^@^@^@^@^@^@^@^@^@^@^@^@^@ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Another file that also gives the same parse error ends like this: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D if ($enabled_themes =3D=3D 0) { drupal_set_message(t('Skinr has detected that none of your themes are enabled. This is likely related the Drupal bug: Themes disabled during update. Please re-enable your theme to continue using Skinr.'), 'warning', FALSE); } // Only add submit handler once. eval('$element =3D& $form'. $form_settings['submit_handler_attach^@^@= ^@^@^@ ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^= @^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@= ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^= @^@^@^@^@^@^@^@ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Is this caused by some php escape character error in these files, am I missing some USE flag on my php package, or is there something else wrong? BTW, what I'd rather fix is the error reported on the last lines, although I am interested as to why php files show this binary string at the end. --=20 Regards, Mick