Title: blog draft errors and weird un-userfriendliness Post by: techwizard on April 06, 2014, 08:29:02 PM ok so first the wall of errors, then i'll put the user friendly issues in a reply. these happen when i hit "save article", but it still saves it fine:
Code: Strict Standards: Non-static method HTMLPurifier_ConfigSchema::define() should not be called statically in /home/rfgene2/public_html/PHP/classes/htmlpurifier/HTMLPurifier/DoctypeRegistry.php on line 11 edit: there's literally like 50+ more errors of exactly the same nature but i got a 500 internal server error when i tried to post them all at once Title: Re: blog draft errors and weird un-userfriendliness Post by: techwizard on April 06, 2014, 08:32:12 PM now for the user friendly issues:
- the drafts should really be easier to find, either a link along with the rest of the blog menu links or in a separate table under edit instead of a link above the list of published blogs. - why do the draft previews show under a randomly picked user's blog instead of my own? Title: Re: blog draft errors and weird un-userfriendliness Post by: Shadow Kisuragi on April 06, 2014, 08:49:57 PM The last answer I can give immediately:
Those drafts are showing up due to the data loss we had back in January 2013. Those are old blogs that we never recovered. Title: Re: blog draft errors and weird un-userfriendliness Post by: theGrue on April 06, 2014, 08:51:34 PM Looks like we're running a very old version of an external component called HTMLPurifier, which probably doesn't get along nicely with the new version of PHP on our server. I'll have to try to track down everywhere we use it and see how easy it'd be to update to the current version, or if any of the other devs have some more familiarity with it they're welcome to as well.
Title: Re: blog draft errors and weird un-userfriendliness Post by: Shadow Kisuragi on April 06, 2014, 08:54:42 PM Oh crap, that's right... we updated PHP. There are going to be A LOT MORE components that broke, since the standard for PHP changed between the update. I still need to figure out what's broken due to that, but there are going to be a few collection tool items that won't play nice. I had a list of them going, but I can't find it now.
Title: Re: blog draft errors and weird un-userfriendliness Post by: techwizard on April 07, 2014, 12:42:53 AM The last answer I can give immediately: Those drafts are showing up due to the data loss we had back in January 2013. Those are old blogs that we never recovered. it wasn't actually the other user's drafts though, it was my own writing showing as posted by me, but previewed on the blog page of someone else. Title: Re: blog draft errors and weird un-userfriendliness Post by: Shadow Kisuragi on April 07, 2014, 07:35:28 AM That's what I'm talking about - sorry. The IDs in the preview are screwed up, and are showing other blogs.
Title: Re: blog draft errors and weird un-userfriendliness Post by: Izret101 on April 07, 2014, 08:50:23 AM I previewed a draft i had saved and every time i checked it i got to see Tondogs blog.
Tech never did confirm if it was the same for him though. Title: Re: blog draft errors and weird un-userfriendliness Post by: Shadow Kisuragi on April 07, 2014, 09:02:07 AM Whenever I preview a staff blog, it's a different blog. It's just the blog that's stored at that ID - when you publish, it publishes yours in its place.
Title: Re: blog draft errors and weird un-userfriendliness Post by: NES_Rules on April 07, 2014, 05:59:46 PM - why do the draft previews show under a randomly picked user's blog instead of my own? I may be thinking of something different, but I think this has been the case since day 1 of the blogs. Its just the way Dave was able to work in the ability to preview a blog. I think it has to do with it needing a number ID, but since you're not publishing yet, it can't give you a new one yet, so it throws out a random one for the preview and then updates with a new one when its published. - the drafts should really be easier to find, either a link along with the rest of the blog menu links or in a separate table under edit instead of a link above the list of published blogs. Title: Re: blog draft errors and weird un-userfriendliness Post by: techwizard on April 11, 2014, 12:57:51 AM on the home page this time not blogs but similar looking errors:
http://i.imgur.com/BtXzrnt.png Title: Re: blog draft errors and weird un-userfriendliness Post by: Shadow Kisuragi on April 11, 2014, 05:39:36 AM Yeah, that's a permissions issue for everybody. Not harming much atm.
Title: Re: blog draft errors and weird un-userfriendliness Post by: techwizard on April 12, 2014, 08:22:19 PM looks like it's working normally now!
i was still able to login with the full login page anyway so it wasn't that big a deal but just a slight nuisance Title: Re: blog draft errors and weird un-userfriendliness Post by: Zagnorch P. Welinskivich II, Esq. on April 13, 2014, 12:01:11 AM Greetings,
ok so first the wall of errors, then i'll put the user friendly issues in a reply. these happen when i hit "save article", but it still saves it fine: Code: Strict Standards: Non-static method HTMLPurifier_ConfigSchema::define() should not be called statically in /home/rfgene2/public_html/PHP/classes/htmlpurifier/HTMLPurifier/DoctypeRegistry.php on line 11 edit: there's literally like 50+ more errors of exactly the same nature but i got a 500 internal server error when i tried to post them all at once I received the wall of errors when I attempted to save-and-publish a blog earlier tonight. I then scrolled down, and all the text in the News Body field had disappeared. I re-entered the blog text, I tried to just Save, but the same wall of errors appeared, and the News Body text box was blank again. I haven't had any trouble with preview post, though. Title: Re: blog draft errors and weird un-userfriendliness Post by: NES_Rules on April 26, 2014, 09:43:27 PM This isn't a big deal, but it may be related, but having an apostrophe in the tags section of a new blog entry gives a "The validation of the submitted fields have failed. The description field can be alpha-numeric and also can contain spaces and most forms of punctuation. The publish date field must be of the format YYYY-MM-DD. Make sure that these fields contain the valid characters in them and then resubmit the form " error. I don't know if this has always been the case or not though, I don't usually use apostrophes in the tag section.
Title: Re: blog draft errors and weird un-userfriendliness Post by: Shadow Kisuragi on April 27, 2014, 11:21:33 AM tech, it probably worked if you didn't use any special characters. htmlpurifier's failing because of a default change from an ISO standard to a UTF-8 standard with the PHP upgrade. If it fails to parse, it'll leave the field empty. :'(
NES_Rules, that's always been the case unfortunately. Title: Re: blog draft errors and weird un-userfriendliness Post by: JCavet on May 23, 2014, 02:17:06 AM I am getting the same PHP error when trying to upload the top/side images to my blog. Is there a specific size requirement or limit to those images? It won't take any of them, gives me a PHP error wall and defaults back to basics.
Just FYI, in case you needed to know what all seems to be affected. Title: Re: blog draft errors and weird un-userfriendliness Post by: Shadow Kisuragi on May 23, 2014, 10:39:02 AM Please post the errors that you're seeing, along with the filename of the images. I can take a look at our error log hopefully later tonight if you can't post the information, but it would help to identify if there's a problem there.
|