Welcome, Guest
Username Password: Remember me

missing files from templateedit/view.html.php
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: missing files from templateedit/view.html.php

missing files from templateedit/view.html.php 18 Feb 2010 14:50 #1907

  • Chris
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
I recently noticed a number of errors in our Apache logs pointing to files that apparently do not exist in the 6.1.5_update2 version of the Bible Study component. The errors are generated when someone tries to edit the template display settings and they are only found in /administrator/components/com_biblestudy/views/templateedit/view.html.php, lines 55-58:

 
$document->addScript(JURI::base().'components/com_biblestudy/js/ui/jquery-ui.js');
$document->addScript(JURI::base().'components/com_biblestudy/js/biblestudy-ui.js');
$document->addStyleSheet(JURI::base().'components/com_biblestudy/js/ui/theme/ui.all.css');
$document->addStyleSheet(JURI::base().'components/com_biblestudy/js/ui/theme/biblestudy.generic.css');
 


Additionally from /components/com_biblestudy/views/mediafilesedit/view.html.php, line 190, administrator/components/com_biblestudy/js/validation/validateMedia.js is missing.

Line 60 of the same file also has another missing folder, js/edit_area/. Neither it nor the files and folders it contains are mentioned in the XML file. However since this line is commented out through line 74 I assume this is intentional.

I've looked at the install of the component and each of these files are missing and the /js/ui/ directory is also non-existant. This is a fresh installation of the component.

I have noticed that these same files are missing from the biblestudy.xml. Adding those missing files and reinstalling the component caused the error to go away, however, I wasn't sure if they were excluded for a reason or not.

In either case the XML may need to be updated or the view.html.php files might need to have those lines commented out so server errors are constantly fired off.

Blessings,

Chris

Re:missing files from templateedit/view.html.php 18 Feb 2010 15:26 #1908

  • Tom
  • OFFLINE
  • Administrator
  • Posts: 860
Thanks, Chris. We'll take care of that.

Version 6.2 handles the install very differently so we don't need to worry about adding each and every file to an xml.

Tom
"You shall know the truth and the truth shall set you free." JC

Re:missing files from templateedit/view.html.php 23 Feb 2010 11:46 #1923

  • Tom
  • OFFLINE
  • Administrator
  • Posts: 860
I have changed the biblestudy.xml manifest file so this error won't occur. Reflected in 6.1.6 and higher.
"You shall know the truth and the truth shall set you free." JC
  • Page:
  • 1
Time to create page: 0.63 seconds