Hi all.
I have a script that is causing the BBs to crash (freebsd version) when it runs and I have tried a few things to get it working but can't. Can anyoe see what is wrong with this?
top =format(bbs.text(377),"",user.age,user.gender,user.birthdate
,user.name,user.phone,user.computer,user.connection);
bbs.email(bbs.node_val_user,null
,top
,"New user introduction");
top =format(bbs.text(377),"",user.age,user.gender,user.birthdate
,user.name,user.phone,user.computer,user.connection);
top of the text. Any ideas why it doesn't work when I try to populate the string 377 with the users data would be appreciated!
Re: JS error
By: Merlin to All on Wed Dec 20 2006 02:47 pm
top =format(bbs.text(377),"",user.age,user.gender,user.birthdate
,user.name,user.phone,user.computer,user.connection);
top of the text. Any ideas why it doesn't work when I try to populate the string 377 with the users data would be appreciated!
Yeah, you need to pass a string for strings and a number for numbers in the last release version.
ie: String, num, num, string, string, string, string, string
you're passing:
string, num, string, string, string, string, string, string
Try changing user.gender to ascii(user.gender)
This has been fixed for 3.14
you're passing:
string, num, string, string, string, string, string, string
Try changing user.gender to ascii(user.gender)
This has been fixed for 3.14
you're passing:
string, num, string, string, string, string, string, string
Try changing user.gender to ascii(user.gender)
This has been fixed for 3.14
Hi. Thanks. I'll give that a try in a minute, although I am using 3.14 on FreeBSD!
Hi. Thanks. I'll give that a try in a minute, although I am using 3.14
on FreeBSD!
In which case we have a different issue... try adding the params one at a time until it causes the crash... I'll try reproducing on my system.
Re: JS error
By: Merlin to Deuce on Thu Dec 21 2006 05:22 pm
This has been fixed for 3.14
In which case we have a different issue... try adding the params one at a ti until it causes the crash... I'll try reproducing on my system.
| Sysop: | digital man |
|---|---|
| Location: | Riverside County, California |
| Users: | 1,189 |
| Nodes: | 17 (0 / 17) |
| Uptime: | 159:07:27 |
| Calls: | 509,803 |
| Calls today: | 8 |
| Files: | 254,982 |
| U/L today: |
1 files (188K bytes) |
| D/L today: |
5,965 files (1,271M bytes) |
| Messages: | 471,886 |
| Posted today: | 3 |