I could reproduce the error when the "data/variables" file was empty.
Delete the "data/variables" file and upload a new variables file that only contains this (on one line and no carriage returns):
Remember to upload it as ASCII and chmod the file to 666.
I tried to delete "data/variables" and run init.cgi again, but that didn't recreate the file. So the above way seems to be the only way.