Testing it out
Starting Apache
Go back to the XAMPP Control Panel from Step 1 and start Apache.
Opening the site
Follow this link. You should see the Scratch home page.
If you get "OMG. Scratch could not connect to memcached", make sure php_memcache is enabled in php.ini and that memcached is running.
Removing the "Strict Standards" error
Open C:\XAMPP\HTDOCS\scratchr\cake\bootstrap.php in a text editor.
Right after "if (!defined('PHP5')) { define ('PHP5', (phpversion() >= 5)); }", add this:
error_reporting(E_ERROR);
Reload the page. The error should be gone, but we're still not done yet!
Fixing profile pictures
Sign up for an account and then log in.
Instead of the default pfp, you'll see "scratch code".
If you try to set your pfp to something else, you'll get an error.
To fix this, rename app\webroot\static\rename2icons\ to icons\.
Everything should now work, except the 404 image.
Adding the 404 image
Download the image from here and save it as app\webroot\img\404.png
Setting yourself as admin
Open CMD under C:\XAMPP\MYSQL\BIN\ and run this command:
UPDATE users SET role = 'admin' WHERE username = 'yourusername';
You have to replace yourusername by your username.
Log out then log back in and you should now be an admin!
You can now enjoy the admin-specific stuff, such as http://localhost/administration/
Congratulations! You are done!
If you want to manipulate the database further, open http://localhost/phpmyadmin/ and avoid breaking anyhing!
To upload projects, go to http://localhost/services/share_project
Everything included in stock ScratchR + the 404 image should now work.
If you want anything that's not included in ScratchR, the guides for them will come later.
Scratch On!