tonygilgilpin
Forum Replies Created
-
Forum: Plugins
In reply to: [wp-h5p-xapi] unable to save data error 500This is the log file on the server
[Wed Sep 14 20:53:54.312099 2016] [authz_core:error] [pid 7919] [client 127.0.0. 1:57746] AH01630: client denied by server configuration: /home/74527-57776.cloud waysapps.com/nutntpy…gins/wp-h5p-xapi/process-xapi- statement.php, referer: https://wordpress-26838-57776-153971.cloudwaysapps.com/to pic/introduction-to-personal-tax/
[Wed Sep 14 21:40:53.135231 2016] [proxy_fcgi:error] [pid 13475] [client 127.0.0 .1:59540] AH01068: Got bogus version 46, referer: https://wordpress-26838-57776-1 53971.cloudwaysapps.com/wp-admin/update.php?action=upload-plugin
[Wed Sep 14 21:40:53.135278 2016] [proxy_fcgi:error] [pid 13475] (22)Invalid arg ument: [client 127.0.0.1:59540] AH01075: Error dispatching request to : (passing brigade to output filters), referer: https://wordpress-26838-57776-153971.cloudw aysapps.com/wp-admin/update.php?action=upload-pluginForum: Plugins
In reply to: [wp-h5p-xapi] unable to save data error 500Did you manage to find a solution ?
Forum: Plugins
In reply to: [All-in-One WP Migration and Backup] Export Stalling part way in the processMy host provides unlimited disk space
Forum: Plugins
In reply to: [JSON API User] Unknown controller 'user' using ionwordpresssays my PHP version is PHP Version 5.4.45
I have the same problem . I can see the data when i run the wp_query, but when i use the wpdatatable it says no data
<?php // Initializing the WordPress engine in a stanalone PHP file include('../wp-blog-header.php'); // Preparing a WP_query $the_query = new WP_Query( array( 'post_type' => 'groups', // We only want pages 'post_parent' => 0, // We only want children of a defined post ID 'post_count' => -1 // We do not want to limit the post count // We can define any additional arguments that we need - see Codex for the full list ) ); $return_array = array(); // Initializing the array that will be used for the table while( $the_query->have_posts() ){ // Fetch the post $the_query->the_post(); // Filling in the new array entry $return_array[] = array( 'Id' => get_the_id(), // Set the ID 'Title' => get_the_title(), // Set the title 'Content preview with link' => get_permalink().'||'.strip_tags( strip_shortcodes( substr( get_the_content(), 0, 200 ) ) ).'...' // Get first 200 chars of the content and replace the shortcodes and tags ); } // Now the array is prepared, we just need to serialize and output it echo serialize( $return_array ); ?>