Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Missing files like HEAD.PHP and errors in phplog

Featured Lock Resolved Bug
I just noticed that adding any module to the main page does not work. Everything is saved but nothing appears on the homepage. I found in the php logs errors related to the lack of the file eg head.php
(Log in the attachment)
I checked the access path from the error.php file and there are actually no locations to which error.php is referenced. I found this file in some old copy and copied it but it did not solve the problem. By the way, I found an entry related to TOP PLAYER.

Please help in the subject.

Attachments (3)

  • phplog.png
    phplog.png 571.4 KB
  • error_php.png
    error_php.png 191 KB
  • topplayer_error.png
    topplayer_error.png 663.6 KB

6 Answers

Rifat Wahid Alif - Staff

More than a month ago #Permalink
Hi,
Your code should be like this:


$header_contents = '';
if(!class_exists('JDocumentRendererHead')) {
$head = JPATH_LIBRARIES . '/joomla/document/html/renderer/head.php';
if(file_exists($head)) {
require_once($head);
}
}


instead of:

require_once(JPATH_LIBRARIES.'/joomla/document/html/renderer/head.php');


Here is full-page code: https://github.com/JoomShaper/Helix3/blob/79f47ba535ffff52044b9392acb3b3f133bf94c2/template/error.php

- Thanks

Rifat Wahid Alif - Staff

More than a month ago #Permalink
Hi,
Thanks for your query. Could you please try this fix: https://github.com/JoomShaper/Helix3/commit/79f47ba535ffff52044b9392acb3b3f133bf94c2

- Thanks

TOMASZ MATYSIK

More than a month ago #Permalink
Hi,
Thanks for your query. Could you please try this fix: https://github.com/JoomShaper/Helix3/commit/79f47ba535ffff52044b9392acb3b3f133bf94c2

- Thanks


Sure, ;)

Pewnie. Kod dodany do linii. W załączniku scr from php-error-log

Attachments (1)

  • phlog.png
    phlog.png 636.4 KB

TOMASZ MATYSIK

More than a month ago #Permalink
aaaaa ok ok, done;) in the log for the time being clean.

Rifat Wahid Alif - Staff

More than a month ago #Permalink
Thanks for being with us.


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 110
Sifat

Sifat

Total Accepted Answers: 61
Toufiq

Toufiq

Total Accepted Answers: 47
Mehtaz Afsana Borsha

Mehtaz Afsana Borsha

Total Accepted Answers: 14
Rashida Rahman

Rashida Rahman

Total Accepted Answers: 12

118

Templates

303051

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us