You have defined $CFG->wwwroot incorrectly in your config.php file. You have included a '/' character at the end. Please remove it, or you will experience strange bugs like <a href='http://tracker.moodle.org/browse/MDL-11061'>MDL-11061</a>.