Forum Replies Created

Viewing 15 replies - 46 through 60 (of 132 total)
  • Thread Starter mlapl1

    (@mlapl1)

    Hello again. I have disabled the extensions and upgraded to PHP 7.4.16. The problem continues. As I said, I have tested this on two different sites but same physical server.

    I have a picture of the progression screen showing an example of two rows generated but there is no simple way to attach it here.

    Thank you
    Andrew

    Thread Starter mlapl1

    (@mlapl1)

    Hello Elias

    Thank you for your prompt response.

    Yes of course. I am sorry. I should have included this in the first message.
    WP 5.7.1
    MySQL: MariaDB 10.3.28
    PHP 7.3.27
    Cluevo 1.6.2
    CLUEVO LMS Extension: Google Documents as modules 1.6.0
    CLUEVO LMS Extension: Video Tutorial Manager for YouTube (and other oEmbed providers) 1.6.0
    I get the following warning message about these last two extensions: One or more of your CLUEVO extensions are either not compatible or have not been tested with the currently installed CLUEVO LMS version. Please deactivate or update these extensions if you run into any issues.

    Please note that I did NOT disable these extensions as they are Cluevo extensions. I will disable them and try again – maybe there is an issue there. They appear to be the latest extensions available.

    All of my plugins and themes are up to date as is WP.
    There are no site health issues that I can identify – some recommendations for security and a recommendation to upgrade to PHP 7.4 (I will do that in a moment).

    Thank you so much for your assistance.
    Andrew

    Thread Starter mlapl1

    (@mlapl1)

    Thank you Peter. You are so kind. Actually I am using it in what I hope will be a language learning website. Because of the way the learning tools are constructed and WP and the learning management system I am using are constructed I am not able to pull students’ scores and other information easily out of the WP database and display them. WP Data Access goes a long way toward solving that problem especially with its ability to incorporate sql queries and also javascript (I think- I have not looked in detail). I will happily review the information that you sent me on variables. I know it will be really helpful.

    Best to you
    Andrew

    Thread Starter mlapl1

    (@mlapl1)

    Thank you so much Peter. That’s exactly what I was looking for. Are there any more $$ variables available from inside WP Data Access?

    Cheersw
    Andrew

    Thread Starter mlapl1

    (@mlapl1)

    Hello Ben

    I did go through all of the plugins and there was a problem with one called something like one-click starter templates or something like that. I removed it and all is ok now. I should have done this before alerting you but it seemed to be a problem specific to the kadence plugin (but was not).

    Thanks again for your prompt response
    Andrew

    Thread Starter mlapl1

    (@mlapl1)

    Hello Oliver

    I sent you an email at the address on your personal website
    Cheers
    Andrew

    Thread Starter mlapl1

    (@mlapl1)

    The admin role already had all the roles included… 🙁

    Thread Starter mlapl1

    (@mlapl1)

    Hello Oliver

    Just went through a ‘troubleshooting’ exercise. No good results.
    For what it’s worth, I am using PHP7.3.19 and MariaDB10.3
    I will try the user role plugin again.

    Cheers
    Andrew

    Thread Starter mlapl1

    (@mlapl1)

    Hello Oliver
    Well… I found the httpd logs – no php errors that I can see… I think I know what that would look like. I may try disabling some/all of the plugins and see if that makes a difference.

    On a different note, what I would really like is the ability for the students to access all or part of the stored information. Is this possible? Is there maybe a shortcode that can be embedded in a page??? Otherwise, maybe a different front-end for the data may be needed.

    Thanks once again – I will keep you informed.
    Andrew

    Thread Starter mlapl1

    (@mlapl1)

    Hello Oliver
    I am running a VPS so will have access to the logs – it’s a new install so I am not familiar with where the logs are. I guess I will discover it. Thank you for your suggestions. Yes I forgot about phpinfo. Will look now. I did install user role editor but I have not yet tried to change things. I guess I would have to change the admin role but, as you say, admin should access all.

    Thank you and back to you soon.
    Andrw

    Thread Starter mlapl1

    (@mlapl1)

    Hello Oliver,

    Sorry did not see your name last time. I understand the rules etc. I just don’t understand where and how to use them, that is how to insert them into the operations. I will try to find the relevant logs. That should help as you say. Otherwise, I can just read the database itself directly through some kind of frontend in order to do something with it.

    Thanks again for your help
    Andrew

    Thread Starter mlapl1

    (@mlapl1)

    Hello Otacke

    Thanks for your response. I have read the readme file again but confess to feeling a bit lost (see below for the bits I dod not understand).

    For what it’s worth, I can see the plugin’s settings. I have not yet looked at the PHP error log etc. I will do that soon. But can you please explain briefly the following?

    Thank you very much
    Andrew

    ### Capabilities
    Some capabilities can be set for WordPress user roles in order to specify who
    should be allowed to do what:

    – _manage_h5pxapikatchu_options_: Capability to change the plugin’s options
    – _view_h5pxapikatchu_results_: Capability to view results of content types that have been created by current user and that were stored by H5PxAPIkachu
    – _view_others_h5pxapikatchu_results_: Capability to view results of all content types that were stored by H5PxAPIkachu
    – _download_h5pxapikatchu_results_: Capability to download the results stored by H5PxAPIkachu and accessible to current user
    – _delete_h5pxapikatchu_results_: Capability to delete ALL data stored by H5PxAPIkachu

    ### Hooks and filters
    H5PxAPIkachu provides some hooks and filters that developers can use to customize the behavior or to use H5PxAPIkachu as the basis of their own plugin.

    #### Hooks
    – _h5pxapikatchu_on_activation_: Triggered on activation of H5PxAPIkachu
    – _h5pxapikatchu_on_deactivation_: Triggered on deactivation of H5PxAPIkachu
    – _h5pxapikatchu_on_uninstall_: Triggered on uninstall of H5PxAPIkachu
    – _h5pxapikatchu_insert_data_: Triggered when data are supposed to be inserted into the database
    – _h5pxapikatchu_insert_data_pre_database_: Triggered right before data will be inserted into the database
    – _h5pxapikatchu_delete_data_: Triggered when data are supposed to be deleted from the database

    #### Filters
    – _h5pxapikatchu_insert_data_actor_: Allows to filter/retrieve the xAPI actor object when it is supposed to be inserted into the database
    – _h5pxapikatchu_insert_data_verb_: Allows to filter/retrieve the xAPI verb object when it is supposed to be inserted into the database
    – _h5pxapikatchu_insert_data_object_: Allows to filter/retrieve the xAPI object object when it is supposed to be inserted into the database
    – _h5pxapikatchu_insert_data_result_: Allows to filter/retrieve the xAPI result object when it is supposed to be inserted into the database
    – _h5pxapikatchu_insert_data_xapi_: Allows to filter/retrieve the complete xAPI statement string when it is supposed to be inserted into the database

    Thread Starter mlapl1

    (@mlapl1)

    Thank you so much for the reply. Closing this thread is fine. I will send you a link and admin access by email.

    Best
    Andrew

    Thread Starter mlapl1

    (@mlapl1)

    Thank you @joyously and @bcworkz. I have investigated the API a bit but got a bit confused as I was not quite sure how to code it (at least the docs did not give me the information I thought I needed). I did not use wp_localize although I had heard about it.
    I solved it in the end by connecting from JS to a php file that ran wp_get_current_user function and then reading the response into JS variables. It’s not very elegant or very fast but it works pretty well. I will keep looking for a better solution like the ones you suggested.

    Thanks once again
    Andrew

    Thread Starter mlapl1

    (@mlapl1)

    Thank you so much @macmanx . I keep forgetting about plugin conflicts in wp. I will try your solution.

Viewing 15 replies - 46 through 60 (of 132 total)