pavarnos
Forum Replies Created
-
Forum: Plugins
In reply to: [CoursePress Learning Management System] registration issues+1
Forum: Plugins
In reply to: [CoursePress Learning Management System] Instructor profile php errorthanks. that should work. will look forward to this fix in your next version or so?
Forum: Plugins
In reply to: [CoursePress Learning Management System] TinCan or SCORM support?Awesome. TinCan is the successor to scorm anyway. Hopefully most modern systems you’d want to connect to will be supporting TinCan already or very soon.
Forum: Plugins
In reply to: [CoursePress Learning Management System] Hide images if they are not providedThanks for the work around.
Your suggestion is good, but it forces everyone who uses your plugin to either provide an image or install another plugin and know a bit about CSS.
If you made a small change to you code eg
if (file_exists($theCourseImageFile)) { // your code for displaying the img tag for $theCourseImageFile }then you would solve the problem once for all users.
just an idea…
PS did you notice the other bug? The course outline is not displaying under the course heading. Your intro video on your side shows that the structure of the course (units and pages) will be displayed under the “Course Outline” title on the detail page.
thanks
Hi
See my other bug report: WP_DEBUG is on, E_ALL | E_STRICT for error reporting.
Screenshot images as requested.
http://imgur.com/bJwsFfk and http://imgur.com/PcgDCUb
thanks very much for your help
Forum: Plugins
In reply to: [CoursePress Learning Management System] Instructor profile php errorHi
Thanks for the quick response. I have disabled avatars. Seems to work OK without avatars on the summary screen.
I disagree with you that warnings can be ignored. Warnings highlight potential issues in your code. They fill up server log files. Quality PHP code runs clean and silent even with its warning level turned up to the maximum
http://programmers.stackexchange.com/questions/139860/what-is-best-practice-for-log-level-in-phpSo if you change your PHP settings to E_ALL | E_STRICT with display_errors on you will see the message and the stack trace. An the other message i mentioned in my earlier post.
The full trace is below. It is too long to fit in a screenshot because it is wrapping in the right column
Warning: DOMDocument::loadHTML(): Empty string supplied as input in /Users/stevep/Documents/overseas/isv/wordpress/wordpress 2/wp-content/plugins/coursepress/themes/coursepress/content-course-overview.php on line 105
Call Stack
# Time Memory Function Location
1 0.0010 232560 {main}( ) ../index.php:0
2 0.0013 235440 require( ‘/Users/stevep/Documents/overseas/isv/wordpress/wordpress 2/wp-blog-header.php’ ) ../index.php:17
3 0.5432 28751392 require_once( ‘/Users/stevep/Documents/overseas/isv/wordpress/wordpress 2/wp-includes/template-loader.php’ ) ../wp-blog-header.php:16
4 0.5649 29063928 include( ‘/Users/stevep/Documents/overseas/isv/wordpress/wordpress 2/wp-content/plugins/coursepress/themes/coursepress/single-course.php’ ) ../template-loader.php:74
5 0.6086 29189800 get_template_part( ) ../single-course.php:14
6 0.6086 29190720 locate_template( ) ../general-template.php:179
7 0.6087 29190928 load_template( ) ../template.php:477
8 0.6092 29245264 require( ‘/Users/stevep/Documents/overseas/isv/wordpress/wordpress 2/wp-content/plugins/coursepress/themes/coursepress/content-course-overview.php’ ) ../template.php:503
9 0.7367 29379272 loadHTML ( ) ../content-course-overview.php:105thanks for your help.
its an excellent plugin: way more usable than many other similar plugins i’ve looked at.Yep, did that.
How do I see what those characters are?
yep
suggested fix: remove lines 142-144
they do nothingswitch( $_POST[ 'action' ] ) { default: }