Can't edit data sheets atm

A historical forum for issues reported in the suggestions and bugs forum that have been subsequently fixed or resolved.
Post Reply
Marc van Arc
Expert
Posts: 5038
Joined: 19 Dec 2004, 14:38
My articles: 20
My images: 61
My catfish: 9
Spotted: 35
Location 2: Eindhoven, The Netherlands

Can't edit data sheets atm

Post 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 (?)
User avatar
Jools
Expert
Posts: 16277
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 941
My catfish: 237
My cats species list: 87 (i:235, k:1)
My BLogs: 7 (i:10, p:167)
My Wishlist: 23
Spotted: 450
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: Can't edit data sheets atm

Post 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
Marc van Arc
Expert
Posts: 5038
Joined: 19 Dec 2004, 14:38
My articles: 20
My images: 61
My catfish: 9
Spotted: 35
Location 2: Eindhoven, The Netherlands

Re: Can't edit data sheets atm

Post by Marc van Arc »

Jools wrote:Fixed now.
Confirmed. Thanks.
Post Reply

Return to “All Resolved Issues”