Code: Select all
PHP Fatal error: require_once(): Failed opening required '/var/www/html/libraries/joomla/document/html/html.php
Thanks!
Mike
Code: Select all
PHP Fatal error: require_once(): Failed opening required '/var/www/html/libraries/joomla/document/html/html.php
Code: Select all
[Wed Jun 15 09:51:21.805857 2016] [:error] [pid 16206] [client 172.22.10.61:62961] PHP Warning: require_once(/var/www/html/libraries/joomla/document/html/html.php): failed to open stream: No such file or directory in /var/www/html/libraries/joomla/document/pdf/pdf.php on line 17, referer: http://172.17.0.58/index.php/lccircuits/835
Code: Select all
[Wed Jun 15 09:51:21.805894 2016] [:error] [pid 16206] [client 172.22.10.61:62961] PHP Fatal error: require_once(): Failed opening required '/var/www/html/libraries/joomla/document/html/html.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/libraries/joomla/document/pdf/pdf.php on line 17, referer: http://172.17.0.58/index.php/lccircuits/835
My problem is that my Joomla install does not have this file at this location. It is located at joomla/document/html.php. I downloaded Joomla_3.5.1-Stable-Full_Package and it is the same. No html.php in the html folder, just in the document folder.There is no direction to load: libraries/joomla/document/html/html.php ???
Code: Select all
<?php
/**
* @package Joomla.Framework
* @subpackage Document
* @copyright Copyright (C) 2005 - 2012 Rob Clayburn
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// Check to ensure this file is within the rest of the framework
defined('JPATH_BASE') or die();
require_once(JPATH_LIBRARIES .'/joomla/document/html.php');
/**
* DocumentPDF class, provides an easy interface to parse and display a pdf document
Code: Select all
<?php
/*
* @package Joomla.Framework
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*
* @component Phoca Component
* @copyright Copyright (C) Jan Pavelka www.phoca.cz
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License version 2 or later;
*/
defined('JPATH_PLATFORM') or die;
jimport('joomla.application.module.helper');
jimport('joomla.document.document');
jimport('joomla.filesystem.file');
class JDocumentPdf extends JDocument
{
// Document