Troubleshooting
From Sohowiki
This is place for all miscellaneous tips and solutions gleamed from various customer inquiries and support incidents.
How do I find out my server hostname and IP Address?
Create a .php script that looks like this, upload it to your site, and pull it up in your browser.
<? # Get IP by global var or reverse dns lookup (if global var not set) if ( $_SERVER['SERVER_ADDR'] != "" ) { $my_ip_address = $_SERVER['SERVER_ADDR']; } elseif ( gethostbyname(php_uname(n)) != "" ) { $my_ip_address = gethostbyname(php_uname(n)); } echo "My hostname: [".php_uname(n)."]<br>"; echo "My IP address: [".$my_ip_address."]"; ?>
Server config conflicts to check for
- Make sure mysql is NOT running in "strict" mode.
- This can prevent insert statements from working properly -- a problem typically evidenced by not being able to log-in to a newly-installed copy of Pro Edition (you'll keep getting the "invalid username/password" error)