I am getting a blank page (or blank part of a page)
|
Blank pages can be caused by a number of things, and often occur just after installing, upgrading, or customizing your store. Any time you touch a PHP file, you must be sure to not introduce syntax problems, and you need to be sure that it uploaded correctly. 1. Did all your file-uploads work properly?Sometimes FTP programs experience a timeout when uploading large quantities of files (such as when installing or upgrading your site), or fail to fully upload some files, or leave them as just 0-bytes in size. Some programs like SmartFTP and CuteFTP are well-known to be problematic in this area. For Windows PCs, you'll find FileZilla is a free, fast, and reliable FTP program (but don't save your passwords with it!). On Mac, Transmit or CyberDuck are commonly acclaimed FTP tools.Best to re-upload and ensure that there are no errors, and that no files are left with 0 bytes. Failed uploads are the MOST COMMON CAUSE of all website problems. 2. Have you created any syntax errors in your customizations?A PHP syntax error will very often result in a blank screen, or a partially-blank screen. When this happens, there is often also an entry in the server's errorlog, which you can often view via your hosting control panel area. a) Turn on debug logging to store errors to a log file
b) Attempt to show errors on-screen.
Dealing with the Error MessagesThe "fatal" messages are the more important ones to deal with. "Notice" messages can be ignored in most cases. "Warnings" should draw some attention, but are not fatal.Also note that many error/warning messages will be a result of previous error/warning messages. Deal with them in the order they appear, and don't blame the later errors until the earlier ones are dealt with first. 3. Common customization errorsThe most common customization errors include:
Other Information If you are using Yahoo Hosting, you might want to enable their script logs: http://help.yahoo.com/l/us/yahoo/smallbusiness/webhosting/php/php-05.html
|
|||||||||||||||||
|
Related Articles
|
|||||||||||||||||



