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 (?)
Can't edit data sheets atm
-
- 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
- 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
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
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
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.
-
- 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
Confirmed. Thanks.Jools wrote:Fixed now.