Closed AramZS closed 10 years ago
Looks like your logger is not recording the contents of the error message. Maybe at line 541 https://github.com/PressForward/pressforward/blob/2.1.x/includes/feed-items.php#L539 you could try doing this instead:
pf_log( $postAttempt->get_error_message() );
Might give enough info to debug further.
On 07/08/13 21:25, Aram Zucker-Scharff wrote:
No idea why. Will test on other systems as well. Thoughts?
Log report from digitalhumanitiesnow.org:
' [08-Jul-2013 22:25:56] Now beginning check and processing for entering items into the database. [08-Jul-2013 22:25:56] Attempting to add Vote for me for the MLA13 Delegate Assembly! to the database caused this error: [08-Jul-2013 22:25:56] Could not insert post into the database [08-Jul-2013 22:25:56] The following post caused the above error. [08-Jul-2013 22:25:56] Array ( [post_status] => publish [post_type] => pf_feed_item [post_title] => Vote for me for the MLA13 Delegate Assembly! [post_content] =>
votepusheen http://www.adelinekoh.org/wp-content/uploads/2013/07/votepusheen.gif
I’ve been nominated to run for the position of the Continuing and Distance Education Special Interest Delegate of the MLA Delegate Assembly. My candidate statement is below. If you would like to see the following implemented, please think about voting for me! Much appreciated.
Koh Delegate Candidate Statement
How do recent changes to the landscape of online education affect questions of global access, power and inequality? The widely publicized MOOC (Massively Open Online Courses) movement poses important challenges that the MLA needs to address. If elected, I will work in the MLA delegation to provide strategic guidance on MOOCs, and the ways in which they can be used to enhance and improve–rather than replace–current educational offerings. At the same time, I will bring to the forefront the critical role that liberal arts institutions and community colleges should play in this reshaping of higher education, as pedagogy has always been the center of their institutional missions.
My scholarly and online trajectory has been dedicated to exploring the ways in which the online environment can be used to address issues of global inequality in relation to race, class, gender and disability. This has ranged from my organization of the Rewriting Wikipedia Project http://dhpoco.org/rewriting-wikipedia/the-global-women-wikipedia-write-in/, an effort to reshape Wikipedia content from global and minority perspectives; a fully open, free and open access Postcolonial Digital Humanities Summer School in 2013 http://dhpoco.org/summerschool/ to engage the academic community in questions of global race, class and gender in the digital humanities; and my spearheading of an open Digital Humanities Liberal Arts Virtual Consortium, which will launch in Fall
- If elected, I will bring the same emphasis on challenging global inequality to the MLA agenda on higher education.
Image Credit: I Can Has CheezBurger http://icanhas.cheezburger.com/tag/voting
) [08-Jul-2013 22:25:56] Post will not go into the database. We will try again. [08-Jul-2013 22:25:56] String run through specified str_replace. [08-Jul-2013 22:25:56] String run through utf8_encode [08-Jul-2013 22:25:56] String returned. [08-Jul-2013 22:25:56] String run through specified str_replace. [08-Jul-2013 22:25:56] String run through utf8_encode [08-Jul-2013 22:25:56] String returned. [08-Jul-2013 22:25:56] Attempting to add Vote for me for the MLA13 Delegate Assembly! to the database caused this error: [08-Jul-2013 22:25:56] Could not insert post into the database [08-Jul-2013 22:25:56] The following post caused the above error. [08-Jul-2013 22:25:56] Array ( [post_status] => publish [post_type] => pf_feed_item [post_title] => Vote for me for the MLA13 Delegate Assembly! [post_content] =>
I&ve been nominated to run for the position of the Continuing and Distance Education Special Interest Delegate of the MLA Delegate Assembly. My candidate statement is below. If you would like to see the following implemented, please think about voting for me! Much appreciated. Koh Delegate Candidate Statement How do recent changes to the landscape of online education affect questions of global access, power and inequality? The widely publicized MOOC (Massively Open Online Courses) movement poses important challenges that the MLA needs to address. If elected, I will work in the MLA delegation to provide strategic guidance on MOOCs, and the ways in which they can be used to enhance and improve–rather than replace–current educational offerings. At the same time, I will bring to the forefront the critical role that liberal arts institutions and community colleges should play in this reshaping of higher education, as pedagogy has always been the center of their institutional missions. My scholarly and online trajectory has been dedicated to exploring the ways in which the online environment can be used to address issues of global inequality in relation to race, class, gender and disability. This has ranged from my organization of the Rewriting Wikipedia Project, an effort to reshape Wikipedia content from global and minority perspectives; a fully open, free and open access Postcolonial Digital Humanities Summer School in 2013 to engage the academic community in questions of global race, class and gender in the digital humanities; and my spearheading of an open Digital Humanities Liberal Arts Virtual Consortium, which will launch in Fall 2013. If elected, I will bring the same emphasis on challenging global inequality to the MLA agenda on higher education. Image Credit: I Can Has CheezBurger
)
[08-Jul-2013 22:25:56] End of wp_insert_post process. [08-Jul-2013 22:25:56] Attempting to add What would a SLAC DH Consortium Look Like? to the database caused this error: [08-Jul-2013 22:25:56] Could not insert post into the database [08-Jul-2013 22:25:56] The following post caused the above error. [08-Jul-2013 22:25:56] Array ( [post_status] => publish [post_type] => pf_feed_item [post_title] => What would a SLAC DH Consortium Look Like? [post_content] =>
teamwork kids http://livelearnleavealegacy.blogspot.com/2013/04/4913.html
The following was my proposal for the PhillyDH at Penn http://penn2013.phillydh.org/ conference in June 2013, and is cross-posted on their website http://penn2013.phillydh.org/2013/06/03/what-would-a-slac-dh-consortium-look-like/. Here is a link to the shared public Google doc for notes on that session http://penn2013.phillydh.org/.
I’d like to propose a workshop for brainstorming what a small liberal arts Digital Humanities Consortium would look like.Tri-Co Digital Humanities, hosted at Bryn Mawr, Swarthmore and Haverford http://tdh.brynmawr.edu/, is a great example. I want to extend this model to include small non-elite private colleges and places that focus generally on undergraduate education.
Issues we could talk about include:
What levels of interest in the digital humanities are there in our institutions? How is DH in our institutions different from DH as practiced at R1s, and what challenges do we face? How can we overcome these challenges together? How could we share resources and support? What would be the best way to start a collaborative framework? Are there opportunities for teaching across institutions? Would people be interested in contributing to multi-institutional projects? What are some best practices for working across different SLACs? How do we identify possible collaborators across institutions?
Image Credit http://livelearnleavealegacy.blogspot.com/2013/04/4913.html
) [08-Jul-2013 22:25:56] Post will not go into the database. We will try again. [08-Jul-2013 22:25:56] String run through specified str_replace. [08-Jul-2013 22:25:56] String run through utf8_encode [08-Jul-2013 22:25:56] String returned. [08-Jul-2013 22:25:56] String run through specified str_replace. [08-Jul-2013 22:25:56] String run through utf8_encode [08-Jul-2013 22:25:56] String returned. [08-Jul-2013 22:25:56] Attempting to add What would a SLAC DH Consortium Look Like? to the database caused this error: [08-Jul-2013 22:25:56] Could not insert post into the database [08-Jul-2013 22:25:56] The following post caused the above error. [08-Jul-2013 22:25:56] Array ( [post_status] => publish [post_type] => pf_feed_item [post_title] => What would a SLAC DH Consortium Look Like? [post_content] =>
The following was my proposal for the PhillyDH at Penn conference in June 2013, and is cross-posted on their website. Here is a link to the shared public Google doc for notes on that session. I&d like to propose a workshop for brainstorming what a small liberal arts Digital Humanities Consortium would look like. Tri-Co Digital Humanities, hosted at Bryn Mawr, Swarthmore and Haverford, is a great example. I want to extend this model to include small non-elite private colleges and places that focus generally on undergraduate education. Issues we could talk about include:
What levels of interest in the digital humanities are there in our institutions? How is DH in our institutions different from DH as practiced at R1s, and what challenges do we face? How can we overcome these challenges together? How could we share resources and support? What would be the best way to start a collaborative framework? Are there opportunities for teaching across institutions? Would people be interested in contributing to multi-institutional projects? What are some best practices for working across different SLACs? How do we identify possible collaborators across institutions?
Image Credit
)
[08-Jul-2013 22:25:56] End of wp_insert_post process. [08-Jul-2013 22:25:56] Attempting to add Postcolonial DH/DH Related Panels at #MLA14 to the database caused this error: [08-Jul-2013 22:25:56] Could not insert post into the database [08-Jul-2013 22:25:56] The following post caused the above error. [08-Jul-2013 22:25:56] Array ( [post_status] => publish [post_type] => pf_feed_item [post_title] => Postcolonial DH/DH Related Panels at #MLA14 [post_content] =>
Excited to be part of #MLA14, and by all the great topics I’m seeing. I started a collective google doc to publicize all panels related to the digital humanities, postcolonial, race, gender, ethnic, queer and disability studies at MLA14. Please add to the document here. https://docs.google.com/document/d/13IMUU407qmuoBpSnPkXmMt9pcL7-97rE5Ru196AW_Dk/edit?usp=sharing.
)
[08-Jul-2013 22:25:56] Post will not go into the database. We will try again. [08-Jul-2013 22:25:56] String run through specified str_replace. [08-Jul-2013 22:25:56] String run through utf8_encode [08-Jul-2013 22:25:56] String returned. [08-Jul-2013 22:25:56] String run through specified str_replace. [08-Jul-2013 22:25:56] String run through utf8_encode [08-Jul-2013 22:25:56] String returned. [08-Jul-2013 22:25:56] Attempting to add Postcolonial DH/DH Related Panels at #MLA14 to the database caused this error: [08-Jul-2013 22:25:56] Could not insert post into the database [08-Jul-2013 22:25:56] The following post caused the above error. [08-Jul-2013 22:25:56] Array ( [post_status] => publish [post_type] => pf_feed_item [post_title] => Postcolonial DH/DH Related Panels at #MLA14 [post_content] =>
Excited to be part of #MLA14, and by all the great topics I&m seeing. I started a collective google doc to publicize all panels related to the digital humanities, postcolonial, race, gender, ethnic, queer and disability studies at MLA14. Please add to the documenthere..
)
[08-Jul-2013 22:25:56] End of wp_insert_post process. [08-Jul-2013 22:25:56] Begin advance_feeds. '
— Reply to this email directly or view it on GitHub https://github.com/PressForward/pressforward/issues/120.
Just passing it to pf_log should be enough, I have it set up to call the error at - https://github.com/PressForward/pressforward/blob/2.1.x/includes/functions.php#L589
It returns the rather useless "Could not insert post into the database".
Right, my bad.
Do you think it could be some sort of character encoding issue? Does PF's sanitization process attempt to put everything into one encoding schema before inserting?
If it fails the initial insertion process, it runs it through a maximum sanitization process to strip everything out and try again. It looks like it fails even after that.
Right, my bad.
Do you think it could be some sort of character encoding issue? Does PF's sanitization process attempt to put everything into one encoding schema before inserting?
— Reply to this email directly or view it on GitHubhttps://github.com/PressForward/pressforward/issues/120#issuecomment-20832700 .
Edge case, labelled, added to a list to maintain in the wiki. https://github.com/PressForward/pressforward/wiki/Broken-feeds
Removing from the milestone for now.
Marking as #wontfix. Will combine broken feeds into a more focused issue to deal with in the future.
No idea why. Will test on other systems as well. Thoughts?
Log report from digitalhumanitiesnow.org: