CakePHP Routing

By setting 'prefix' => 'admin' you are telling CakePHP that you want to use a prefix of admin for that route; basically meaning you want to use controller actions and views that have names prefixed with admin_. This part you are already aware of, and things will probably work fine with just this.

When creating routes though, any array keys passed into the second argument that aren’t recognised by CakePHP (ie. not your usual controller, action, plugin, prefix stuff) are set as named parameters during requests matching that route.

Continue reading

Damaged or corrupted. STATUS: 0xc000000f

1. Insert the Windows Vista installation disc into the disc drive, and then start the computer.
2. Press a key when the message indicating “Press any key to boot from CD or DVD “. appears.
3. Select a language, a time and currency, and a keyboard or input method, and then click Next.
4. Click Repair your computer.
5. In the System Recovery Options dialog box, choose the drive of your Windows installation and click Next
6. In the Command Prompt window, type: “sfc /scannow” then press enter.