Res facta quae tamen fingi potuit (
pauamma) wrote in
dw_dev_training2011-11-21 05:27 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[site community profile]](https://www.dreamwidth.org/img/comm_staff.png)
Entry tags:
Question thread #3
It's time for another question thread!
The rules:
- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer.
The rules:
- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer.
no subject
perl /dreamhack/home/8174-ninetydegrees/dw/etc/config-local.pl
(which actually runs the file -- should be no harm done!)
no subject
Can't locate object method "account" via package "type" (perhaps you forgot to load "type"?) at /dreamhack/home/8174-ninetydegrees/dw/etc/config-local.pl line 99.
Line 99 is where the shop configuration starts and I don't think I've ever changed it but here's what it says:
%SHOP = (
key => [ $USD, months, account type, cost in points ],
prem6 => [ 20, 6, 'premium', 200 ],
prem12 => [ 40, 12, 'premium', 400 ],
paid1 => [ 3, 1, 'paid', 30 ],
paid2 => [ 5, 2, 'paid', 50 ],
paid6 => [ 13, 6, 'paid', 130 ],
paid12 => [ 25, 12, 'paid', 250 ],
seed => [ 200, 99, 'seed', 2000 ],
points => [],
);
no subject
We really should have a bug open for this; I vaguely recall we used to have one but we couldn't figure out how to trigger the problem (heh), and I can't seem to find it now...
Anyway, comment that out and things should work okay!
no subject
no subject