Comments (5)
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.
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.
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.
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.
Added a test in the (wordpress) plugin that notifies the user if mcrypt is not enabled.
from wp2moodle-moodle.
Related Issues (20)
- Error writing to database HOT 1
- Login to Moodle HOT 1
- Security Issue: Moodle login page logs the user in without a password HOT 3
- WP4.1.1 and Moodle2.8.1 HOT 1
- Login and Session time-out problems. HOT 3
- student is not enrolled to course HOT 5
- unenroll on moodle HOT 2
- Cannot process the script HOT 4
- How do you determine activity numerical index number HOT 3
- Enrolment to course is not done. HOT 15
- Open a direct Link to a moodle activity HOT 1
- Where i put the wp2moodle short code in wordpress. HOT 2
- From wp2moodle user records will be insert into wordpress database or both moodle and wordpress? HOT 18
- wp2moodle woocomerce integration. HOT 1
- Deprecation warning for future PHP versions HOT 1
- Error writing to database - Error code: dmlwriteexception | Shared Host HOT 3
- Need to migrate admin settings from config.html to settings.php for Moodle 3.3+ compatibility
- Deleting first and last name in Moodle upon login + link-click through WordPress HOT 3
- Cohort Re-Authetication HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wp2moodle-moodle.