jDiction Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

jDiction 2.2.0 released. http://jdiction.org/downloads

Author Topic: fatal error  (Read 7161 times)

sandy

  • Newbie
  • *
  • Posts: 6
    • View Profile
fatal error
« on: September 10, 2014, 07:29:13 pm »

Hi There,

I tried to isntall jDiction and than uninstall it again, but now I can not acces my site.
Not in front or at backend.
Only php error message that says:
Fatal error: Cannot access property started with '\0' in /customers/b/2/3/tattooseminars.be/httpd.www/libraries/joomla/registry/registry.php on line 439

Can you  help me?
Thanks,
sandy
Logged

sandy

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: fatal error
« Reply #1 on: September 10, 2014, 07:35:29 pm »

This is a part of the code from the file the fatal error mentions. I have put line 439 in bold:

   protected function bindData($parent, $data)
   {
      // Ensure the input data is an array.
      if (is_object($data))
      {
         $data = get_object_vars($data);
      }
      else
      {
         $data = (array) $data;
      }

      foreach ($data as $k => $v)
      {
         if ((is_array($v) && JArrayHelper::isAssociative($v)) || is_object($v))
         {
            $parent->$k = new stdClass;
            $this->bindData($parent->$k, $v);
         }
         else
         {
            $parent->$k = $v;
         }
      }
   }
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1668
    • View Profile
Re: fatal error
« Reply #2 on: September 10, 2014, 07:51:08 pm »

Good question this should not happen.

And I dont know the reason... maybe you couls check the configuration.php if there is the database driver selected.

The second is you could check the database table #__extensions if there is the jdiction plugin enabled
Logged
Joomla 3.9.x Release Lead
Vote at JED

sandy

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: fatal error
« Reply #3 on: September 10, 2014, 08:05:50 pm »

Thank you for your fast reply.

In my configuration.php file I've searched for everything that contains 'db' in it and the results are:
public $dbtype = 'mysqli';
public $db = 'tattooseminars_';
public $dbprefix = 'ohit5_';


checking database tables right now..
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1668
    • View Profile
Re: fatal error
« Reply #4 on: September 10, 2014, 08:11:07 pm »

open the configure.php and remove all spaces before <? And save again
Logged
Joomla 3.9.x Release Lead
Vote at JED

sandy

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: fatal error
« Reply #5 on: September 10, 2014, 08:11:35 pm »

in the extentions table there is nothing to be found containing '%jdiction%'
Logged

sandy

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: fatal error
« Reply #6 on: September 10, 2014, 08:13:00 pm »

open the configure.php and remove all spaces before <? And save again

there were no spaces in front of that.. see attachment
Logged

sandy

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: fatal error
« Reply #7 on: September 10, 2014, 08:14:50 pm »

When I wanted to remove jdiction, I just went to manage extentions, searched for everything that had 'jdiction' in its name, and removed them.
From there on nothing worked anymore.
maybe there was something deleted that should not have been? how can I find out what?
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1668
    • View Profile
Re: fatal error
« Reply #8 on: September 10, 2014, 11:29:02 pm »

If you send me ftp access i can look at it. Maybe phpmyadmin would be good too. Per pm..
Logged
Joomla 3.9.x Release Lead
Vote at JED

vucijibes

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: fatal error
« Reply #9 on: December 13, 2014, 03:58:13 pm »

I have same problem
Tried tu uninstall and get next error
Fatal error: Cannot access property started with '\0' in /home/volleytr/public_html/camp/libraries/framework/Joomla/Registry/Registry.php on line 506
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1668
    • View Profile
Re: fatal error
« Reply #10 on: December 13, 2014, 04:53:06 pm »

please copy the configuration.php to your local computer open it and resave it as utf8 without bom and upload it.
Logged
Joomla 3.9.x Release Lead
Vote at JED

vucijibes

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: fatal error
« Reply #11 on: December 13, 2014, 05:08:47 pm »

Working again!Thank you Harald!!!
Logged