When trying to add some content new a pane in Panels in Drupal 5 you may get this message.
In my case it was caused by the Secure Pages module. To fix this add the following line to your Secure Pages configuration under Ignore pages:
Please do not link any images directly. Attribution most welcome. - Site hosted by Linode (best VPS host I have found)