Creating a theme options page

I checked out the code that you posted and didn’t find any issues. I then copied it into my theme’s functions.php, it worked for me. Both text areas appear, and data can be saved.