Topic: Error in core.php??

I install cutenews.2.0.4 and get the following error:

Parse error: syntax error, unexpected T_FUNCTION in /home/bartelsk/www/olimpbase/cutenews.2.0.4/core/core.php on line 300

Re: Error in core.php??

Hello Wojtek77,

In this code the regular expression is used. It is compatible with php 5.3 and up. Please make sure your php version is suitable, or disable these blocks by turning them into /* ... */  or delete 298-322 lines in core.php

Best regards,
CN Support team

Re: Error in core.php??

I did like you suggested and deleted lines 298-322...and it seemed ok until I logged in and all I got was a blank white page.

Re: Error in core.php??

Wojtek77 wrote:

I install cutenews.2.0.4 and get the following error:

Parse error: syntax error, unexpected T_FUNCTION in /home/bartelsk/www/olimpbase/cutenews.2.0.4/core/core.php on line 300


Ok...so I finally figured out the problem for me. I found out in my webhosting, I had to upgrade my version of PHP to 5.6 or higher. Once I did that, it worked!

5 (edited by Richard012 2019-07-09 09:20:26)

Re: Error in core.php??

Wojtek77 wrote:

I install cutenews.2.0.4 and get the following error:

Parse error: syntax error, unexpected T_FUNCTION in /home/bartelsk/www/olimpbase/cutenews.2.0.4/core/core.php on line 300

Not familiar with the topic.