CakePHP 500 Internal Server Error
Software
- CakePHP
Server Environment (shared)
- Lynix
- Apache
- PHP
- MySQL
- Provider: RackSpaceCloud.com
Problem Description
- Upon installing CakePHP you receive the following error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Changing your hosts file on Windows Vista and others
During development and testing phases of the web development projects, one might need to direct a certain domain to a new IP address without making a global DNS change.
Enter the HOSTS file!
Simply add the following line to that file (using your own IP and DOMAIN)
192.168.0.1 www.yourdomain.com
and voila… the domain now points to the new server. Obviously this only affects your local machine.
Here are the locations of the HOSTS file on various operating systems:
- Windows 95/98/Me c:\windows\hosts
- Windows NT/2000/XP Pro c:\winnt\system32\drivers\etc\hosts
- Windows XP Home c:\windows\system32\drivers\etc\hosts
On Vista, it gets a bit tricky…
By default, if you try to modify your hosts file in Vista, it will not let you save it. It tells you that you don’t have permission. To successfully modify the hosts file, run notepad.exe as an administrator and open the file.
- Browse to Start -> All Programs -> Accessories
- Right click “Notepad” and select “Run as administrator”
- Click “Continue” on the UAC prompt
- Click File -> Open
- Browse to “C:\Windows\System32\Drivers\etc”
- Change the file filter drop down box from “Text Documents (*.txt)” to “All Files (*.*)”
- Select “hosts” and click “Open”
- Make the needed changes and close Notepad. Save when prompted.
GoDaddy SSL & FireFox: “Unable to verify the identity of…”
Recently we have moved some of our clients websites to a new server. We have properly configured SSL Certs according to the instructions from GoDaddy.com. During testing we have discovered that the secure portions of the sites were generating an error when accessed with FireFox. The popup error alerted users that the SSL certificates authenticity can not be verified…
Unable to verify the identity of DomainName.com as a trusted site
X-Cart Froogle (Google Products) Fix
Sofware
- X-Cart 4.1x
Problem Description
Google Products rejects the automatic Froogle file upload performed by X-Cart due to formatting issues.
WordPress “CGI Error” Fix
Software
- WordPress 2.3.3
Server Environment (shared)
- Windows 2003 Server
- IIS 6
- PHP 5.2.5 (CGI/FastCGI)
- MySQL
- Provider: Crystaltech.com
Problem Description
- The following CGI error appears after enabling “Date and name based” permalink structure:
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
WordPress “Upload.php Error” Fix
Software
- WordPress 2.3.3
Server Environment
- Windows 2003 Server
- IIS 6
- PHP 5.2.5
- MySQL 5.0.51a
Problem Description
- Symptom: Clicking on Manage > Uploads kicks users back to admin dashboard
- Cause: All of the links within the upload.php do not reference the file upload.php
» http://www.domain.com/wp-admin/?query=string&for=upload&is=here
WordPress “No input file specified” Fix
Software
- WordPress (unknown version)
Server Environment
- Windows 2003 Server
- IIS 6
- PHP 5.2.5
- MySQL 5.0.51a
Problem Description
- “No input file specified” error appears after enabling “Date and name based” permalink structure:
» http://www.domain.com/index.php/2008/03/20/sample-post/
Solution
- Set doc_root parameter in php.ini to doc_root = “”
- Restart IIS - type in IISRESET in command prompt


