Advertisement:

Author Topic: Warning: fsockopen() [function.fsockopen]: unable to connect to rest.akismet.co  (Read 853 times)

aboseraj

  • Newbie
  • *
  • Posts: 1
Hi
when i try to add new item
this error is apper
what is the solution

Warning: fsockopen() [function.fsockopen]: unable to connect to rest.akismet.com:80 (Network is unreachable) in /home/public_html/os/oc-includes/Akismet.class.php on line 343

Fatal error: Uncaught exception 'Exception' with message 'Error connecting to host: rest.akismet.com Error number: 101 Error message: Network is unreachable' in /home/public_html/os/oc-includes/Akismet.class.php:346 Stack trace: #0 /home/public_html/os/oc-includes/Akismet.class.php(144): SocketWriteRead->send() #1 /home/public_html/os/oc-includes/Akismet.class.php(129): Akismet->sendRequest('key=5b412cdb746...', 'rest.akismet.co...', '/1.1/verify-key') #2 /home/public_html/os/oc-admin/controller/settings/spamnbots.php(38): Akismet->isKeyValid() #3 /home/public_html/os/oc-admin/settings.php(79): CAdminSettingsSpamnBots->doModel() #4 /home/public_html/os/oc-admin/index.php(76): CAdminSettings->doModel() #5 {main} thrown in /home/public_html/os/oc-includes/Akismet.class.php on line 346