0
Welcome Guest! Login
0 items Join Now

SOLVED PHP Fatal Errors

  • SOLVED PHP Fatal Errors

    Posted 11 years 3 months ago
    • Hi,
      I have read through endless forum posts still not being able to find a solution to my problems so I thought I would post as a new topic and hopefully someone will be able to help.

      I am continually getting two errors which are causing my site to crash.

      They are:
      PHP Fatal error: Class 'JFactory' not found in /home/XXXXXX/public_html/libraries/joomla/session/storage/database.php on line 71

      and

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

      Running the latest version of all RT extensions (manually updated) as well as latest version of Joomla 2.5.14 and have tried updating the database.php with a fresh copy but still not working.

      If anyone has any suggestions / or has a fix that would be greatly appreciated. I'm now all out of ideas.

      Note: I must mention - the site does work - but dies after clicking through about 3 - 4 pages...

      TIA.
    • Last Edit: 11 years 3 months ago by Lightbox Interactive Design.
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: SOLVED PHP Fatal Errors

    Posted 11 years 3 months ago
    • Try to change the way your sessions are saved from database to a file. Also, check if your user account has right permissions on session save path folder. This is for the first error

      How did you configure those articles you are showing with RokSprocket or galleries and images that you use with RokGallery?
    • Check my services at: Mihha-Vision
  • Re: SOLVED PHP Fatal Errors

    Posted 11 years 3 months ago
    • Hi Igor,
      Thank your quick response.

      1. I have had a quick look around (Google) do you have a link with more info regarding how to change sessions from database to a file. ( Is there more involved than just setting a writable "sessions" dir and changing the config file?

      2. The content is written in "custom html" modules, some using Roksprocket setup using tabs. I was using images in a gallery for certain pages with RokGallery. But I have now completely removed the RokGallery module and still getting the errors.

      The theme I am using is Lumiere.

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

    Re: SOLVED PHP Fatal Errors

    Posted 11 years 3 months ago
    • 1. there shouldn't be anything else beside those things you listed

      2. try to disable RokSprocket module one by one until you find the one that is producing those errors. Also, I know you already wrote it but can you please confirm that you have version 2.02 of RokSprocket? Can you also try to reinstall the module once again?
    • Check my services at: Mihha-Vision
  • Re: SOLVED PHP Fatal Errors

    Posted 11 years 3 months ago
    • Ok I have been going through the RokSproket modules turning them off one by one.. but as the problem is intermittent it is hard to tell which one is causing a problem (if any at all) ?

      I force the site to crash - I disable a roksprocket module then the site loads... but Its not any particular module.. :/

      I can confirm I have 2.02 version of RokSproket installed (manually) over the top.
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: SOLVED PHP Fatal Errors

    Posted 11 years 3 months ago
    • Please post a URL to your site so we can look for you. Without a link to page where the problem is on your site it is quite hard for us to provide the best solution due to so many variables. We try to provide file names and line numbers for code changes and if changes have already been made then our advice may be incorrect.
    • Check my services at: Mihha-Vision
  • Re: SOLVED PHP Fatal Errors

    Posted 11 years 3 months ago
    • Hi Igor,
      I have sent you a PM.
      Thanks again.
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: SOLVED PHP Fatal Errors

    Posted 11 years 3 months ago
    • Where exactly can I see this issue? I checked your site and I am not seeing it anywhere 8)
    • Check my services at: Mihha-Vision
  • Re: SOLVED PHP Fatal Errors

    Posted 11 years 3 months ago
    • As mentioned you may need to flick between a few pages for this to happen. It happens in the front end as well as when making changes to the website in administrator mode.

      I can send you an error log if required.
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: SOLVED PHP Fatal Errors

    Posted 11 years 3 months ago
    • If it needs few flicks between pages for this to show up then this is a really good indication that you have caching issues 8)

      Did you try to disable ANY kind of caching you have enabled on your site?
    • Check my services at: Mihha-Vision

Time to create page: 0.056 seconds