syntax error, unexpected end of file

Permalink Browser Info Environment
I am getting a php error which I think relates to view.php search block in theme.. I'm not sure if the view.php has somehow gotten truncated - is there a way to reinstall the theme without losing any settings? or can I just download the view.php from somewhere?

The error message is:
Whoops \ Exception \ ErrorException (E_PARSE)
syntax error, unexpected end of file

Stack frames (1)
0
Whoops\Exception\ErrorException
/var/www/paedsportal.com/public_html/packages/fundamental/blocks/search/templates/fundamental/view.php64

"/var/www/paedsportal.com/public_html/packages/fundamental/blocks/search/templates/fundamental/view.php

</p>
</div>
<?php }//foreach search result ?>
</div>

<?php


//$pagination = $searchList->getPagination();
$pages = $pagination->getCurrentPageResults();

if ($pagination->getTotalPages() > 1 && $pagination->haveToPaginate()) {
$showPagination = true;
echo $pagination->renderDefaultView();
}
} //results found
}
?>

</form>

Type: Ticket
Status: Archived
jubalj
View Replies:
c5hub replied on at Permalink Reply
c5hub
Hi there, we can not currently replicate this issue. I see you are running concrete5 8.2.0RC2 which is not a stable release yet - so there could potentially be issues that still need ironing out.

Once 8.2 is released we will go through the code to check it is up to date.
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.

concrete5 Environment Information

# concrete5 Version
Core Version - 8.2.0RC2
Version Installed - 8.2.0RC2
Database Version - 20170626000000

# concrete5 Packages
Block Designer (2.8.2), Fundamental (4.0.2), List files from set (1.0.12), Login/Logout Link (1.0), Login Block (0.9.3)

# concrete5 Overrides
blocks/condition_nav/controller.php, blocks/condition_nav/config.json, blocks/condition_nav/edit.php, blocks/condition_nav/form.php, blocks/condition_nav/add.php, blocks/condition_nav/icon.png, blocks/condition_nav/view.php, blocks/condition_nav/db.xml, blocks/condition_nav, blocks/condition/controller.php, blocks/condition/config.json, blocks/condition/edit.php, blocks/condition/form.php, blocks/condition/add.php, blocks/condition/icon.png, blocks/condition/view.php, blocks/condition/db.xml, blocks/condition

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - If blocks on the particular page allow it.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2.4.7 (Ubuntu)

# Server API
apache2handler

# PHP Version
5.5.9-1ubuntu4.21

# PHP Extensions
apache2handler, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, json, libxml, mbstring, mhash, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, Phar, posix, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 60
log_errors_max_len - 1024
max_file_uploads - 1024
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 256M
post_max_size - 128M
sql.safe_mode - Off
upload_max_filesize - 128M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
opcache.max_accelerated_files - 2000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.109 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.