Staff replied Templates

Issue with Helix Ultimate index.php

Asked by Chris Odediran 3 years ago Last activity 3 years ago

Issue:
The site displays an HTTP 500 Error after some upates.

Diagnosis:
The error is from the index.php file and it reads:
PHP Parse error: syntax error, unexpected token "<", expecting end of file in /home2/base10/public_html/index.php on line 50

I see that this are the related codes and the last one is Line 50.
*requireonce JPATHBASE . '/includes/framework.php';

// Set profiler start time and memory usage and mark afterLoad in the profiler.
JDEBUG ? JProfiler::getInstance('Application')->setStart($startTime, $startMem)->mark('afterLoad') : null;

// Instantiate the application.
$app = JFactory::getApplication('site');

// Execute the application.
$app->execute();

</textarea>Result:OK</body></html*

Temporary fix:
I remarked out Line 50: #</textarea>Result:OK</body></html*

I need a permanent solution as I don't believe this is a real fix.

1 reply

Rashida Rahman Staff

Hi there!

Thanks for sharing your experience with us.

Which PHP version you are using there, please? The Barber template is not compatible with PHP 8 yet, will be compatible soon. You may try with PHP 7.4 for now. Here is our plan: https://www.joomshaper.com/blog/latest-php-compatibility-for-templates-and-extensions

And we are on the way of bringing the plan live. Here you will see some blogs about it:

https://www.joomshaper.com/blog/releases-updates

Best Regards

Log in to reply.