×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: PHP Fatal error after update joomla version 3.1.4

PHP Fatal error after update joomla version 3.1.4 11 years 3 months ago #21933

  • nicola
  • nicola's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
hi, I upgraded to version 3.1.4 joomla but now the component ccomment does not work.
In log error.log apache:
PHP error Fatal error: Class 'JHTML' not found in /htdocs / components / com_comment / templates / default / default.php on line 56

this is line 56: "JHTML :: _ ('behavior.framework', true);"

Thank

PHP Fatal error after update joomla version 3.1.4 11 years 3 months ago #21935

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I updated to 3.1.4 and I got some problems as well. But it turned out that the update was not applied properly. Go to the extension manager -> database and apply the fix sql button.

Does this fix it for you as well?
Daniel

PHP Fatal error after update joomla version 3.1.4 11 years 3 months ago #21936

  • nicola
  • nicola's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
hi Daniel,

Go to the extension manager -> database and apply the fix sql button.

Does this fix it for you as well?


no, in my case it does not work. If I uninstall the component ccomment the site back to work.
reinstall does not solve the problem.

thanks

PHP Fatal error after update joomla version 3.1.4 11 years 3 months ago #21938

  • nicola
  • nicola's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
comment the line 56 the component back to work but I do not know what other problems will

PHP Fatal error after update joomla version 3.1.4 11 years 3 months ago #21950

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
this line loads the mootools framework. If the framework was already loaded by another extension or the template, then it should be fine.

However I'm running joomla 3.1.4 and the component works as expected. That is why I believe that you have a faulty installation.

Regards,
Daniel

PHP Fatal error after update joomla version 3.1.4 11 years 3 months ago #21970

  • Abdulwahab Alghamdi
  • Abdulwahab Alghamdi's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Same error but in different line (Line 55) which is:
Jhtml::script('media/com_comment/js/dynamictextarea.js');

Installation was correct.

Should I comment that line?
Will it affect plugin functionality ?

PHP Fatal error after update joomla version 3.1.4 11 years 3 months ago #21971

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
There is a bug in joomla 3.1.4 - joomla 3.1.5 should be released any time now that will fix this.

docs.joomla.org/J3.1:Extensions_Broken_in_3.1.4


Regards,
Daniel

PHP Fatal error after update joomla version 3.1.4 11 years 3 months ago #22009

  • Paul
  • Paul's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Hello, I am testing CComment and experiencing the same issue with the Jhtml error message. To make sure another component was not affecting this, I installed a fresh copy of Joomla 3.1.4 on a test server and the only component I installed was CComment. As soon as I clicked New on Settings I received the error message for the view.html.php file . I did comment out the affected Jhtml line in that file and it worked for a while until it came across another Jhtml line and had the same issue. Running PHP 5.2.23 and also I did install the Legacy file fix.

Thank you

PHP Fatal error after update joomla version 3.1.4 11 years 3 months ago #22011

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey guys,
I was actually hoping that by now joomla would have published 3.1.5, but since that is not the case I just released a dev. version of ccomment that should fix the issue:
core version: compojoom.com/component/ars/repository/dev-ccomment/gitdd88c20
pro version: compojoom.com/component/ars/repository/d...mment-pro/gitdd88c20

The error should not appear anymore. And as a bonus you'll be able to test the new template option (to show the name & email fields per default).

Regards,
Daniel
The following user(s) said Thank You: Abdulwahab Alghamdi, Paul

PHP Fatal error after update joomla version 3.1.4 11 years 3 months ago #22019

  • Abdulwahab Alghamdi
  • Abdulwahab Alghamdi's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Joomla 3.1.5 just released
  • Page:
  • 1
Time to create page: 0.175 seconds