Git Product home page Git Product logo

Comments (5)

frumbert avatar frumbert commented on July 23, 2024

What version of Wordpress, Moodle, PHP, server, plugin build, and so on are you using? Are there any php errors according to your server logs on either the wordpress or moodle server?

from wp2moodle-moodle.

mikeross6233m avatar mikeross6233m commented on July 23, 2024

I'm using wordpress 4.3.1, moodle 2.9.3, php 5.6.4 and I'm using latest plugin build from github

I dont know where to check the server logs but I think there are no server errors.

Do you think that it is a permission issue??

from wp2moodle-moodle.

mikeross6233m avatar mikeross6233m commented on July 23, 2024

I checked the server logs and I got this

[Sun Nov 29 15:50:07.563115 2015] [:error] [pid 15351] [client 127.0.0.1:57276] core\event\user_loggedin Object\n(\n [data:protected] => Array\n (\n [eventname] => \core\event\user_loggedin\n [component] => core\n [action] => loggedin\n [target] => user\n [objecttable] => user\n [objectid] => 2\n [crud] => r\n [edulevel] => 0\n [contextid] => 1\n [contextlevel] => 10\n [contextinstanceid] => 0\n [userid] => 2\n [courseid] => 0\n [relateduserid] => \n [anonymous] => 0\n [other] => Array\n (\n [username] => admin\n )\n\n [timecreated] => 1448792407\n )\n\n [logextra:protected] => \n [context:protected] => context_system Object\n (\n [_id:protected] => 1\n [_contextlevel:protected] => 10\n [_instanceid:protected] => 0\n [_path:protected] => /1\n [_depth:protected] => 1\n )\n\n [triggered:core\event\base:private] => 1\n [dispatched:core\event\base:private] => \n [restored:core\event\base:private] => \n [recordsnapshots:core\event\base:private] => Array\n (\n )\n\n)\n, referer: http://localhost/moodle/?
[Sun Nov 29 15:50:07.563231 2015] [:error] [pid 15351] [client 127.0.0.1:57276] 2, referer: http://localhost/moodle/?
[Sun Nov 29 16:01:24.806120 2015] [:error] [pid 17934] [client 127.0.0.1:57480] PHP Fatal error: Call to undefined function mcrypt_get_iv_size() in /var/www/html/wordpress2/wp-content/plugins/wp2moodle/wp2m.php on line 120, referer: http://localhost/wordpress2/?page_id=7

from wp2moodle-moodle.

scara avatar scara commented on July 23, 2024

PHP Fatal error: Call to undefined function mcrypt_get_iv_size() means that the server hosting your instance is missing the PHP mcrypt library (package).

HTH,
Matteo

from wp2moodle-moodle.

frumbert avatar frumbert commented on July 23, 2024

Added a test in the (wordpress) plugin that notifies the user if mcrypt is not enabled.

from wp2moodle-moodle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.