Stroller wrote: >> >> >> On 23 Jun 2010, at 07:18, Mick wrote: >> >> > I am looking at some php files which are causing parsing errors in >> > Drupal, like: >> > ============================================= >> > 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 >> > ============================================= >> > 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? >> > ============================================= >> > $dimensions = !empty($node->height) && !empty($node->width) && >> > !empty($node->length); // Hide dimensions if empty >> > $vars['fusion_uc_dimensions'] = ($dimensions) ? >> > drupal_render($node->content['dimensions']) : ''; >> > if ($vars['fusion_uc_dimensions'] == '') { >> > unset($node->content['dimensions']); >> > } >> > $list_price = !empty($node->list_price) && $node->list_price > 0; >> > >> > ^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@^...@^@
See this line here with all the ^@, delete it, or better yet comment it out, and see if it runs the same, it is not part of the php file, so maybe it was dumped during a refactoring session or the like. regards, Roundyz