Page 1 of 1

Can't edit data sheets atm

Posted: 13 Dec 2008, 23:38
by Marc van Arc
When pushing the edit (data sheet) button, I get this:

Parse error: syntax error, unexpected '=', expecting ')' in /home/.heathcote/webcat/planetcatfish.com/forum/cache/tpl_planetcatfish_data_sub.html.php on line 1

Hopefully something minor (?)

Re: Can't edit data sheets atm

Posted: 14 Dec 2008, 12:01
by Jools
A little thing, but it has taken 2.5 hours to find the missing = sign!

A thing I find hard with the language Planet (and the forum) is written in is that a = b means something different from a == b. The former sets a to the value of b, the latter tests if a is equal to the value of b. This is the opposite way around from the first programming languages I learned.

In the data submission template I had used an = instead of an ==, in the forum engine per v3.0.4, this was treated the same and an = - essentially the template "interpreter" overlooked my mistake and carried on as it "knew what I meant". However, in v3.0.4 it is now fussy and exact - hence the data submission template failed.

Fixed now.

Jools

Re: Can't edit data sheets atm

Posted: 14 Dec 2008, 12:29
by Marc van Arc
Jools wrote:Fixed now.
Confirmed. Thanks.