0
Welcome Guest! Login
0 items Join Now

RokCommon causing PHP error and site crash

    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: RokCommon causing PHP error and site crash

    Posted 11 years 11 months ago
    • Something went wrong with your Joomla installation. You are receiving error message from Joomla core file. I would recommend you to download full joomla installation package to your local computer, unpack it, find file /libraries/joomla/session/storage/database.php and use it to replace the joomla core file on live server
    • Check my services at: Mihha-Vision
    • Brad's Avatar
    • Brad
    • Sr. Rocketeer
    • Posts: 101
    • Thanks: 0

    Re: RokCommon causing PHP error and site crash

    Posted 11 years 11 months ago
    • I did a full reinstall of joomla trying to fix it before. I recopied the database.php file to see if that helps. The site hasn't crashed yet so we'll see. The two files looked to be the same size.
    • Brad's Avatar
    • Brad
    • Sr. Rocketeer
    • Posts: 101
    • Thanks: 0

    Re: RokCommon causing PHP error and site crash

    Posted 11 years 11 months ago
    • It didn't work...the site is crashing again. I downloaded the database.php file from the server and it looks fine. The line referenced in the error is this:

      // Get the database connection object and verify its connected.
      $db = JFactory::getDbo();

      in /libraries/rokcommon here's the line referenced that's causing the error:

      // Check to see if there is a requiments file and run it.
      // Catch any exceptions and log them as errors.
      $requirements_file = rokcommon_cleanPath(ROKCOMMON_LIB_PATH . '/requirements.php');

      So far I've replaced the database file and uploaded a full install of joomla again. What else can I do?
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: RokCommon causing PHP error and site crash

    Posted 11 years 11 months ago
    • Can you tell me if you have PDO module for php installed and do you meet minimum requirements for RokGallery?
    • Check my services at: Mihha-Vision
    • Brad's Avatar
    • Brad
    • Sr. Rocketeer
    • Posts: 101
    • Thanks: 0

    Re: RokCommon causing PHP error and site crash

    Posted 11 years 11 months ago
    • Igor Mihaljko wrote:
      Can you tell me if you have PDO module for php installed and do you meet minimum requirements for RokGallery?

      Yes, php -m shows:

      PDO
      pdo_mysql
      pdo_sqlite

      GD2 is installed
      innodb is enabled
      PHP version is 5.3.3

      The server is running with suhosin.

      Errors remain the same:

      PHP Fatal error: Cannot call overloaded function for non-object in /public_html/libraries/rokcommon/include.php on line 25
      PHP Fatal error: Class 'JFactory' not found in /public_html/libraries/joomla/session/storage/database.php on line 71

      I reinstalled RokGallery and RokSprocket again, after uninstalling both.

      I appreciate the help. I've been beating my head against the wall on this for 5 days. Any help would be greatly appreciated.
    • Brad's Avatar
    • Brad
    • Sr. Rocketeer
    • Posts: 101
    • Thanks: 0

    Re: RokCommon causing PHP error and site crash

    Posted 11 years 11 months ago
    • Anyone have an idea what could be causing this?
  • Re: RokCommon causing PHP error and site crash

    Posted 11 years 10 months ago
    • Hi Guys I have a similar problem. See below:

      Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 82360 bytes) in /home/bnrref/public_html/libraries/rokcommon/RokCommon/ClassLoader/BasicLoader.php on line 22

      Fatal error: Class 'RokCommon_Utils_ArrayHelper' not found in /home/bnrref/public_html/libraries/rokcommon/RokCommon/ClassLoader/MapFinder.php on line 50

      Any ideas
  • Re: RokCommon causing PHP error and site crash

    Posted 11 years 10 months ago
    • Sorry just had my hosting company put up my allowance from 32 to 64 and it worked

      All fixed
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: RokCommon causing PHP error and site crash

    Posted 11 years 10 months ago
    • @Mike Blayden

      good. Next time, please open new thread with your initial question and don't hijack other member's threads. Thank you for understanding! 8)
    • Check my services at: Mihha-Vision
    • Brad's Avatar
    • Brad
    • Sr. Rocketeer
    • Posts: 101
    • Thanks: 0

    Re: RokCommon causing PHP error and site crash

    Posted 11 years 10 months ago
    • Igor Mihaljko wrote:
      @Mike Blayden

      good. Next time, please open new thread with your initial question and don't hijack other member's threads. Thank you for understanding! 8)

      Igor,

      We're still getting the error. One of my developers thinks it is the Baidu spider causing it and we're going to block it to see if that fixes it. Any ideas on your end?

Time to create page: 0.052 seconds