0
Welcome Guest! Login
0 items Join Now

RokCommon causing PHP error and site crash

    • iqiniso's Avatar
    • iqiniso
    • Newbie
    • Posts: 3
    • Thanks: 0

    Re: RokCommon causing PHP error and site crash

    Posted 11 years 4 months ago
    • Was there ever a fix to this? Have started having the same issue.

      PHP Fatal error: Cannot call overloaded function for non-object in /var/www/vhosts/XXXXXXXX/httpdocs/libraries/rokcommon/include.php on line 24

      PHP Fatal error: Access to undeclared static property: JLoader::$classes in /var/www/vhosts/XXXXXXXX/httpdocs/libraries/loader.php on line 195

      running the latest versions of all software. updated all components to the latest version.

      Crashing the site, hanging apache and then crashing the server. Any assistance would be great! :cheesy:
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: RokCommon causing PHP error and site crash

    Posted 11 years 4 months ago
  • Re: RokCommon causing PHP error and site crash

    Posted 10 years 9 months ago
    • I am having the same problem as the OP. I am getting the following error:

      Fatal error: Cannot call overloaded function for non-object in .../html/libraries/rokcommon/include.php on line 24

      The problem (blank white front and back end) happens intermittently.

      I also have a couple other errors, not sure if they are related to the problem (they seem to be something else):
      PHP Fatal error: Call to protected method JApplicationSite::route() from context '' in .../html/index.php on line 46
      and
      PHP Catchable fatal error: Argument 1 passed to JApplicationCms::loadSession() must be an instance of JSession, array given, called in .../html/libraries/joomla/application/web.php on line 214 and defined in .../html/libraries/cms/application/cms.php on line 627

      The link that you posted Igor seems to be for a completely different problem, I read through several pages there and couldn't find a solution.

      I have manually updated everything on the site and I still have this problem. Has anyone been able to find a solution to this problem?

      Thank you for your help.

      --UPDATE--

      I tried everything I could to fix the problem. I decided to scrap the site (running joomla 3.1) and start over with a new install. I used rocketlauncher to install and this time used joomla 2.5. I am having the exact same problem again, exact same error. I contacted my host (nexcess) and have been going back and forth with them. They insist it is a problem with Rokcommon. I have updated everything. It seems to be a consistent problem with Rokcommon, or maybe just the template I am using (Chapelco). I need some assistance with this problem if I am every to consider using rockettheme again.
    • Last Edit: 10 years 9 months ago by nukernate. Reason: Update, things are still broken.
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: RokCommon causing PHP error and site crash

    Posted 10 years 8 months ago
    • Sorry for your troubles, would you please create a Super Admin login for me and place it in the SECURE part of your Reply
      This image is hidden for guests.
      Please log in or register to see it.
      , so that I can take a look.
    • The following users have thanked you: nukernate

  • Re: RokCommon causing PHP error and site crash

    Posted 10 years 8 months ago
    • Thanks for the reply DanG,

      A few days ago I found a solution to the problem, sort of.

      The site I was building was going down for typically two hours a day, it seemed completely random when it would go down and how long it would stay down. I got all sorts of errors that I detailed in the above question. I spent about a month reading forums, and trying everything I read, and communication with the company that was hosting the website (Nexcess) and Nexcess kept blaming rockettheme (specifically the rockcommon modules use of APC).

      The solution:
      I simply changed hosting companies. About 5 days ago I started hosting the site with SiteGround and it has been running perfectly since. I don't know if it was completely a problem with Nexcess, or maybe there really is something wrong with rockcommon and Nexcess was blocking it for security reasons (that was their claim). I do know that it has been working perfectly since I switched hosts though. The site that I have up and working now is the joomla 2.5.X and I only have about a third of the pre-installed modules still installed (I do still have rockcommon installed and it isn't causing a problem with the new host). I also tried copying the site over to a hosting account I have with 1&1 and it seemed to work fine there also, but I didn't leave it up there long enough to really test it. Hopefully that information helps someone else who may be having the same problem.
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: RokCommon causing PHP error and site crash

    Posted 10 years 8 months ago
    • nukernate wrote:
      The solution:
      I simply changed hosting companies
      Unfortunately this too often the solution :(
    • RandyM's Avatar
    • RandyM
    • Newbie
    • Posts: 5
    • Thanks: 0

    Re: RokCommon causing PHP error and site crash

    Posted 9 years 5 months ago
    • I'm currently getting this error


      Fatal error: Cannot call overloaded function for non-object in /home/
      /public_html/
      /libraries/rokcommon/include.php on line 24

      I had rokgallery installed prior and was working great. After I added a slideshow, I started getting this error.
      I have disabled rokcommon and the website functions perfect. As deleted the slideshow and enabled rokcommon and the problem continues.
      I have contacted my host godaddy. They were unable to determine the issue at hand.

      After more troubleshooting I attempted to disable Diametric and used a different theme, and the website has been stable. I then uninstalled the diametric and reinstalled diametric. They system has since been crashing. with the above error. I am unable to make sense of this. Please give me some advice of what I can do from here. Also I have attempted to import this to multiple domains, and on two different host accounts. The same issue occurs when enableling Diametric theme.


      Currently using -
      PHP 5.4.37
      MySQLi 5.5.41-cll-lve
      Also I have updated all extensions and am using the most current version of Joomla
    • Last Edit: 9 years 5 months ago by RandyM. Reason: Forgot to add information
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: RokCommon causing PHP error and site crash

    Posted 9 years 5 months ago
    • RandyM wrote:
      I'm currently getting this error


      Fatal error: Cannot call overloaded function for non-object in /home/
      /public_html/
      /libraries/rokcommon/include.php on line 24

      I had rokgallery installed prior and was working great. After I added a slideshow, I started getting this error.
      I have disabled rokcommon and the website functions perfect. As deleted the slideshow and enabled rokcommon and the problem continues.
      I have contacted my host godaddy. They were unable to determine the issue at hand.

      After more troubleshooting I attempted to disable Diametric and used a different theme, and the website has been stable. I then uninstalled the diametric and reinstalled diametric. They system has since been crashing. with the above error. I am unable to make sense of this. Please give me some advice of what I can do from here. Also I have attempted to import this to multiple domains, and on two different host accounts. The same issue occurs when enableling Diametric theme.


      Currently using -
      PHP 5.4.37
      MySQLi 5.5.41-cll-lve
      Also I have updated all extensions and am using the most current version of Joomla

      I can't replicate this issue on my local Diametric running J34. I would suggest you upgrade your PHP to 5.x.
      Failing that Would you please create a Super Admin login for me along with FTP access info and place it in the SECURE part of your Reply

      This image is hidden for guests.
      Please log in or register to see it.


      so that I can take a look.
    • EOGamer's Avatar
    • EOGamer
    • Newbie
    • Posts: 3
    • Thanks: 0

    Re: RokCommon causing PHP error and site crash

    Posted 8 years 2 months ago
    • Hello, I am having a similar problem when switching to the new theme. Not sure what is wrong, it uses gantry 4.x
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: RokCommon causing PHP error and site crash

    Posted 8 years 2 months ago
    • EOGamer wrote:
      Hello, I am having a similar problem when switching to the new theme. Not sure what is wrong, it uses gantry 4.x

      What new theme???

Time to create page: 0.067 seconds