A. prt(tr) will just print a "tree table" to the screen. It doesn't change anything about the analysis setup. The point of doing "prt(tr)" is that you can then look at the node age column of this table to see exactly how old various nodes are. More on prt():
http://phylo.wikidot.com/example-biogeobears-scripts#prt
Of course, "tr" will have to be an APE tree object that you have already loaded. The standard method is:
library(ape)
tr = read.tree(file="Put_your_newick_filename_here")
B. However... the STOP ERROR you got also tells you the age of your root node. It says it is "33182.
5346672406". This suggests you have bigger problems!
This is because tree branch lengths are usually in millions of years, and since the Earth is only 4600 million years old, a tree age of 33182 my seems a bit high.
C. Always make sure you understand your basic phylogeny, how you got it, and whether or not it makes sense, before embarking on other analyses built on top of it.
I would recommend that you:
C1. Open your tree in FigTree, turn on the axis to see the timescale, and decide if your tree is looking like it should.
C2. I would recommend putting your tree in units of millions of years -- the BioGeoBEARS default parameters and min/max limits assume this kind of timescaling. You can multiply or divide all of the branchlengths in your tree like this:
C3. Read everything here:
Common BioGeoBEARS Mistakes To Avoid
D. Once you've got a dated phylogeny you are happy with, you can address the STOP ERROR you got.
Let's say your tree was actually 3.3 my old (ie, the root node has an age of 3.3 my), and you had 2 areas, A and B
Then, these files would give your STOP ERROR:
timeperiods.txt
...they make more sense if you read Ree & Smith (2008), Systematic Biology, first, since the example files are based on their example dataset, Hawaiian Psychotria.