Quantcast
Channel: General developer forum
Browsing all 37667 articles
Browse latest View live

Re: strict standard errors after php upgrade

by Matteo Scaramuccia.  Hi Martin,for sure, it depends on the new setting about E_ALL - starting from 5.4.0 E_STRICT became part of E_ALL - : that's the reason why it should be excluded. Are you using...

View Article


Re: Add an activity with "turn editing off"

by Davo Smith.  The code for turning editing on all occurs from about line 137 of course/view.php ( https://github.com/moodle/moodle/blob/master/course/view.php#L137 ) For editing to always be on you...

View Article


회신: How to "Turn Editing on" is always on for courses page

by Jong-Dae Park.  1) turn editing always on course/view.php file - line number 177  if (has_capability('moodle/course:update', $context)) { $USER->editing = 1;  2) turn editing on when you enter...

View Article

Re: strict standard errors after php upgrade

by Martin Mastny.  Thanks for trying to solve my problem. My exact moodle version is 2.1.2+, php 5.4.7, debugging level set to NONE. M.

View Article

Re: Add an activity with "turn editing off"

by Jobs Rocky.  @Davo, Wow, that was as easy as pie! Thanks a lot Davo I really appreciate it. And you are right, there are a lot of icons, and once the editing is turned on. the Moodle will be slow to...

View Article


Re: strict standard errors after php upgrade

by Matteo Scaramuccia.  Hi Martin,2.3 is the first version supporting PHP 5.4 with no errors (MDL-31167) and your specific issue has been fixed with MDL-32094. That being said, I'm wondering why...

View Article

Re: strict standard errors after php upgrade

by Martin Mastny.  Helo Mattoo, the value for Loaded conf. file is: C:\xampp\php\php.ini Because I'm using it locally for development, error reporting is set to: 32767-local,30711-master ,which is...

View Article

Re: Accessing Question bank

by Tim Hunt.  There are not existing web services for accessing the question bank. There probably should be, but no one has needed them badly enough to implement them yet. So, if you want to add web...

View Article


Re: strict standard errors after php upgrade

by Matteo Scaramuccia.  Hi Martin,so Master Value is OK while Local Value KO: this explains why you're receiving PHP errors within the local configuration Moodle is running with. Please, try to set...

View Article


Re: strict standard errors after php upgrade

by Martin Mastny.  Thanks Matteo, but as I wrote a couple of messages earlier,I already have this set to NONE. I've also tried MINIMAL debugging level, Local value is still 32767. Any ideas? M. 

View Article

Image may be NSFW.
Clik here to view.

Re: strict standard errors after php upgrade

by Matteo Scaramuccia.  Hi Martin,that's strange: I've asked you twice just to be sure of that . Last resort, look at config-dist.php: // Force a debugging mode regardless the settings in the site...

View Article

Image may be NSFW.
Clik here to view.

Re: strict standard errors after php upgrade

by Martin Mastny.  Matteo, I know this might sound strange, but this didn't help. All the values of error reporting remain the same and errors still showing up. I guess I'll have to do a clean install...

View Article

code reviewing a downloaded plugin/mod

by Di Juwel.  Hi I've downloaded a mod for moodle 1.9this basically means to copy the mod folder into the "mods" folder and navigate to the "Notifications" page in the admin in the browserworks great I...

View Article


Image may be NSFW.
Clik here to view.

Re: code reviewing a downloaded plugin/mod

by Joseph Rézeau.  Hi Di, Unfortunately you do not say where you got that "mod" from. Since it's for moodle 1.9 I expect you downloaded it from the "old" modules and plugins database. The plugins in...

View Article

Re: code reviewing a downloaded plugin/mod

by Di Juwel.  thanks Joseph. yes I got it from the "Old modules and plugins" section.the real meanning of my question was: what should I look at when I closely examining the code as you suggeted.that...

View Article


Re: Creating a new Module from scratch

by Richard Kroon.  Sorry Davo I am not being clear. I understand those functions now, but I can't figure out how I was meant to learn about them through the docs on the site. For example...

View Article

Re: Creating a new Module from scratch

by Davo Smith.  The ->display() function is not included on the pages about renderers, as it has nothing to do with renderers - it is part of the forms library, as documented here:...

View Article


Re: code reviewing a downloaded plugin/mod

by Davo Smith.  This page (and the pages linked to it) give an overview of good practice in Moodle coding: http://docs.moodle.org/dev/Coding An alternative is to contact one of the official 'Moodle...

View Article

Re: Problems creating a new user

by Luis de Vasconcelos.  Yes, $user>id would contain your id. But it seems like you are inserting new records into the _user table outside of Moodle. If so then $user>id won't help you. What...

View Article

Block with username

by Dariusz R..  1. Is there a way to make a block e.g. 'Welcome [username]' where ich user will see its name instead of [username]? 2. Is there a way to send personalized bulk emails via moodle e.g....

View Article
Browsing all 37667 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>