You have an extra endif;
put a semicolon if front of the endif that is after the line
;end pagestream3
e.g. the last four lines should look like:
Assign Fonts: "Pagestream3:Softlogik/Fonts" ADD
endif
;end pagestream3
;endif
Now save and reboot
If it works, you can delete the
;endif
line you just edited.