Unable to edit data sheets

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

Unable to edit data sheets

Post by Marc van Arc »

When I tried to edit the new Batasio data sheets just now - synonyms and authors have become my thing more or less :wink: - I got a fatal error of some kind (sorry, forgot to copy it) resulting in the fact that I can't enter the sheets.
Perhaps a bug or no permission due to the new set up??
User avatar
MatsP
Posts: 21038
Joined: 06 Oct 2004, 13:58
My articles: 4
My images: 28
My cats species list: 117 (i:33, k:0)
My aquaria list: 10 (i:8)
My BLogs: 4 (i:0, p:164)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: Unable to edit data sheets

Post by MatsP »

Yup, got:
Error wrote:Fatal error: Call to undefined function phpbb_hash() in /home/planetca/public_html/catelog/data_sub.php on line 45
User avatar
Jools
Expert
Posts: 16247
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: Unable to edit data sheets

Post by Jools »

I know, it's broken. :-( Bascially the page used the forum authentication to grant access and it is horribly more complex than before. It may mean that I require to make the data_sub page part of the forum. It's now my priority thing to work on.

Jools
bronzefry
Posts: 2198
Joined: 31 Aug 2004, 16:01
I've donated: $100.00!
My articles: 6
My images: 12
My cats species list: 17 (i:0, k:0)
My aquaria list: 7 (i:7)
Spotted: 6
Location 1: Sharon, Massachusetts, US

Re: Unable to edit data sheets

Post by bronzefry »

Marc van Arc wrote:When I tried to edit the new Batasio data sheets just now - synonyms and authors have become my thing more or less :wink: - I got a fatal error of some kind (sorry, forgot to copy it) resulting in the fact that I can't enter the sheets.
Perhaps a bug or no permission due to the new set up??
You can edit the data sheets, Marc?
Amanda
User avatar
Jools
Expert
Posts: 16247
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: Unable to edit data sheets

Post by Jools »

Nobody can use the facility at present, I am working on it, I reckon I might have it done in a day or two but certainly by Saturday night.

I have the security authentication working (at least for mods, it might take a bit longer to get it to authenticate down to the cat-elog data team group level). What I now have to do is move all the code out of the old format and into the new forum format. That bit is pretty time consuming.


Jools
matsp-nonmod
Posts: 3
Joined: 04 Jan 2008, 16:57

Re: Unable to edit data sheets

Post by matsp-nonmod »

Ehm, no, no one can do that at the moment. You, Marc, Jools or anyone else are able to do it - because the login function is broken. [Technically, Jools can update the database by other means, but the "Edit this data sheet" doesn't work].

--
Mats
My signature I'm the same person as MatsP but this user isn't able to moderate things - this user is for test purposes only.
User avatar
Jools
Expert
Posts: 16247
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: Unable to edit data sheets

Post by Jools »

Progress continues getting this fixed. Unfortunately I made a mistake when testing the new forum, I thought the old data submission page would work with the new forum but it doesn't actually work in terms of allowing or refusing access to the correct users. This basically means I need to entirely rewrite the data submission page for the new forum. Well, almost entirely, I can re-use the database updating bits but as there are bugs in there to do with extra slashes appearing when they shouldn't I'm going to address that as well.

You can't actually do anything with this yet, but you can see progress as I work on it over the weekend by clicking on the edit data sheet link.

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: Unable to edit data sheets

Post by Marc van Arc »

Jools wrote:You can't actually do anything with this yet, but you can see progress as I work on it over the weekend by clicking on the edit data sheet link.
Yes, there's something happening. The "Fatal error" is gone and I now get "Data submission is restricted".
Keep up the good work and pls take your time.
User avatar
Jools
Expert
Posts: 16247
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: Unable to edit data sheets

Post by Jools »

Try that now? I've just finished getting it to successfully check if the user is a member of the "cat-elog data subs" group. It will allow edit of several fields it WILL NOT yet do anything with the database. You can however click on submit and it will put some output up on the screen only.

I would appreciate if you could confirm this works for you.

Jools
User avatar
Jools
Expert
Posts: 16247
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: Unable to edit data sheets

Post by Jools »

Some good news.

The data submission feature is open for business again! I have not yet added all the fields in, but the rest of it is all there. When all fields are in I will posted again and move this post into the "resolved" forum.

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: Unable to edit data sheets

Post by Marc van Arc »

I got this:

General Error
SQL ERROR [ mysqli ]

Unknown column 'synonym_status1' in 'field list' [1054]

An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.

I took it this field was already added?
User avatar
Jools
Expert
Posts: 16247
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: Unable to edit data sheets

Post by Jools »

Marc van Arc wrote:An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.

I took it this field was already added?
No, this was a bug in my new code. I have changed it now and so you should be able to add synonyms 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: Unable to edit data sheets

Post by Marc van Arc »

Got the same message again.
User avatar
Jools
Expert
Posts: 16247
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: Unable to edit data sheets

Post by Jools »

Marc van Arc wrote:Got the same message again.
Sorry, forgot to upload template as well as new code. I've tried it now (online as opposed to my test site) and it appears to work.

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: Unable to edit data sheets

Post by Marc van Arc »

Could this part be of any importance: 'synonym_author1' in 'field list' [1054]

As you already noticed, adding authors to valid species is no problem. I just did the Batasio dayi without problems.
I also just added 1 synonym without author. That went alright too.
But for some reason the system doesn't take authors in the synonyms box (yet). Just tried and got the above error message.
User avatar
Jools
Expert
Posts: 16247
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: Unable to edit data sheets

Post by Jools »

Marc van Arc wrote:Could this part be of any importance: 'synonym_author1' in 'field list' [1054]

As you already noticed, adding authors to valid species is no problem. I just did the Batasio dayi without problems.
I also just added 1 synonym without author. That went alright too.
But for some reason the system doesn't take authors in the synonyms box (yet). Just tried and got the above error message.
Yes, there was a problem with this field which has now been corrected.

Jools
bronzefry
Posts: 2198
Joined: 31 Aug 2004, 16:01
I've donated: $100.00!
My articles: 6
My images: 12
My cats species list: 17 (i:0, k:0)
My aquaria list: 7 (i:7)
Spotted: 6
Location 1: Sharon, Massachusetts, US

Re: Unable to edit data sheets

Post by bronzefry »

All set, Jools! :D
Thanks,
Amanda
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: Unable to edit data sheets

Post by Marc van Arc »

Yes, seems to work fine. Both synonyms of Batasio dayi are now complete.
Btw: I like the fact that the extra log in is no longer necessary.
User avatar
Jools
Expert
Posts: 16247
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: Unable to edit data sheets

Post by Jools »

Marc van Arc wrote:Yes, seems to work fine. Both synonyms of Batasio dayi are now complete.
There's a problem at my end, but it's not to do with the submission page or the way it was entered which is fine. Leave it with me to fix.
Marc van Arc wrote:Btw: I like the fact that the extra log in is no longer necessary.
One good thing of all this upgrading is it refocusses me on things that could be improved...

Jools
User avatar
Jools
Expert
Posts: 16247
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: Unable to edit data sheets

Post by Jools »

This is now complete.

Jools
Post Reply

Return to “All Resolved Issues”