Author Topic: nBill module for 1.7 not working  (Read 445 times)

Offline biblefusion

  • Sr. Member
  • ****
  • Posts: 60
    • View Profile
nBill module for 1.7 not working
« on: 01/September/2011, 08:45:44 AM »
I am not sure what could be the problem, I get the following error when published and logged in:

Fatal error: Cannot access protected property JSite::$_clientId in /home/user/public_html/mydomain/administrator/components/com_nbill/framework/interop/nbill.interop.abstract.php on line 487

any ideas?

Peter

Offline netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,953
    • View Profile
Re: nBill module for 1.7 not working
« Reply #1 on: 01/September/2011, 08:57:10 AM »
Ok, that line of code was intended for Joom!Fish on Joomla 1.0 (or 1.5 legacy), but it seems as though a property with the same name has re-surfaced in Joomla 1.7 but it is protected. Please try amending the /administrator/components/com_nbill/framework/interop/nbill.interop.abstract.php file, line 487 and insert an @ symbol at the start of the line, so lines 485 to 488 look like this:

       if ($mainframe)
        {
            @$mainframe->_clientId = 0; //Fool Joom!Fish into thinking it is running in the front end
        }


You will need to do the same thing on line 527:

@$mainframe->_clientId = $hold_j_client_id;

Offline biblefusion

  • Sr. Member
  • ****
  • Posts: 60
    • View Profile
Re: nBill module for 1.7 not working
« Reply #2 on: 01/September/2011, 03:55:35 PM »
Hi Russel,

thanks for the feedback...I have made the changes to both line 487 and 527, but now there is a blank page...I am trying to get more information in this regard...

Offline netshine

  • Administrator
  • Hero Member
  • *****
  • Posts: 4,953
    • View Profile
Re: nBill module for 1.7 not working
« Reply #3 on: 02/September/2011, 08:06:48 AM »
Ok, I will need access to your Joomla administrator to look into it then - please submit a support ticket.

 

anything