Jump to content

elis_hughes

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by elis_hughes

  1. iceman85, I was stuck with the balance not available image because of the way the block checks if your IP address is internal or not - it compares the first 2 parts, e.g. 10.0 , where we have 2 different subnets because of multiple locations. If your client(s) IP address is on a different subnet to your Moodle server, this could be the issue you're having as well. I resolved it by editing [moodle_directory]/blocks/papercut/block_papercut.php and editing the line that reads $internal = address_in_subnet(getremoteaddr(), $serverip[0].'.'.$serverip[1]); to read $internal = address_in_subnet(getremoteaddr(), $serverip[0]); so that it only checks the very first part of the IP address - which in my case was 10 for both the server and client.
×
×
  • Create New...