You are viewing the PKP Support Forum | PKP Home Wiki

Cant access the site

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Cant access the site

Postby abhiram » Tue Nov 14, 2006 1:50 am

Hi Alec,

When one of my friend try to access the site http://www.jtropag.in , some errors occured. The errors are

Warning: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address in
/home/ejtropag/public_html/classes/core/Request.inc.php on line 252

Warning: Cannot modify header information - headers already sent by (output
started at /home/ejtropag/public_html/classes/core/Request.inc.php:252) in
/home/ejtropag/public_html/classes/template/TemplateManager.inc.php on line

but i can access the site without errors

Abhiram .H
Posts: 30
Joined: Thu Aug 03, 2006 7:31 am
Location: India

Postby asmecher » Tue Nov 14, 2006 2:49 am

Hi Abhiram,

The error message is harmless, and you can suppress it by configuring PHP to direct error messages to a log file (either using php.ini or using PHP's ini_set function). In a production system it's a potential security risk to leave PHP configured to display error messages.

Alternately (if you are using a shared system or otherwise don't have access to PHP's configuration) you can add a "@" symbol to the beginning of the line in question to suppress the message.

Alec Smecher
Open Journal Systems Team
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 1 guest