0
Welcome Guest! Login
0 items Join Now

PHP Fatal errors found in server logs

  • PHP Fatal errors found in server logs

    Posted 11 years 9 months ago
    • The following PHP Fatal errors relating to gantry were discovered in our server logs

      [Thu Jul 18 20:43:47 2013] [warn] [client SomeIP] mod_fcgid: stderr: PHP Fatal error: Class 'JModuleHelper' not found in ../libraries/gantry/core/renderers/gantrymodulesrenderer.class.php on line 60
      [Fri Jul 19 01:48:33 2013] [warn] [client someIP] mod_fcgid: stderr: PHP Fatal error: Class 'JModuleHelper' not found in ../libraries/gantry/core/renderers/gantrymodulesrenderer.class.php on line 60

      Gantry 4.1.12
      PHP Version 5.3.18
      WebServer to PHP Interface cgi-fcgi
      Joomla! 2.5.11
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: PHP Fatal errors found in server logs

    Posted 11 years 9 months ago
    • Have you made sure that those files actually exists on the server?

      One more thing, the base directory needs to be correct as well.

      But my guess is that something has not been installed correctly or something might be out of date.
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG
  • Re: PHP Fatal errors found in server logs

    Posted 11 years 9 months ago
    • Yes the file ../libraries/gantry/core/renderers/gantrymodulesrenderer.class.php does exist on the server

      the referenced line 60 in the error has the following code
      $modules = JModuleHelper::getModules($position);

      I'm not following your reference to correcting the base directory. I did remove all of the server related information in the error leaving only the directory information following the httpdocs directory.

      I'm up to date using Gantry 4.1.12 and joomla 2.5.11. I'll try reinstalling, but I doubt it will change anything since I have records of this error going back to Jan 19.
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: PHP Fatal errors found in server logs

    Posted 11 years 9 months ago
    • I think you already posted in this thread but...

      If you check: www.rockettheme.com/forum/index.php?f=39...pic&start=15#p945554 then it looks like it's a Joomla bug?

      If i find any fix i will post it here :)
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG
  • Re: PHP Fatal errors found in server logs

    Posted 11 years 9 months ago
    • I forgot about that thread (I guess it's easy to forget what happened 6 months ago), I look forward to seeing any fixes you find.

      I'll keep an eye out for joomla fixes as well (I have heard of upgrading to php5.4+ as a fix, but that is not an option for me)
  • Re: PHP Fatal errors found in server logs

    Posted 11 years 9 months ago
  • Re: PHP Fatal errors found in server logs

    Posted 11 years 7 months ago
    • I have tested the jimport fix for this error. So far my dev site is working as expected and I have not been able to trigger the Class 'JModuleHelper' error.

      I believe additional testing is needed, but after testing I think this fix should be implemented in the Gantry core.
    • Kat05's Avatar
    • Kat05
    • Preeminent Rocketeer
    • Posts: 25898
    • Thanks: 334

    Re: PHP Fatal errors found in server logs

    Posted 11 years 7 months ago
    • hi there,

      thank you for your post. :)

      i am actually still trying to find a way to recreate this error locally on a test site.
      if you have some steps that would help me to do so, that would be great.

      thanks, kat :)
    • Kat05 / QA Lead & Support / Germany
  • Re: PHP Fatal errors found in server logs

    Posted 11 years 7 months ago
    • I wish I had some more direction to give you, I currently don't know what was causing the "Class 'JModuleHelper' not found" error. (Since your having a hard time reproducing the error maybe it's a configuration specific error?)

      The only thing I can say is the error was consistently showing up in the error logs a few times a day to a few times a week. After implementing the change I no longer see the error.

      As I alluded to earlier, this error could be isolated to some server configurations, It has been suggested that this error only shows up on servers which are running PHP version 5.3 or older (my host is running php 5.3.18 with fgci).
  • Re: PHP Fatal errors found in server logs

    Posted 11 years 3 weeks ago
    • This topic could be merged with the topic "Fatal error Class 'JModuleHelper' not found"

Time to create page: 0.085 seconds