-
Posts
22 -
Joined
-
Last visited
Content Type
Forums
News
20th
EduGeek EDIT Conference
Blogs
Everything posted by BarryWAaMC
-
You are definatly heading down the right track. We have been working at this for some time and have just about got it sorted. Firstly, I would recommend you look at ADmit Mac as an intergration tool instead of Apple's built in Active Directory. Secondly, The preferences ARE set on the Apple Server through Workgroup Manager. This is a little complicaited to explain here, but when you are in Workgroup Manager, you want the main area to be authenticating against the Open Directory so you can set up the permissions group. When it comes to adding a user from Active Directory, then a side panel will appear on the right of the Workgroup Manager. You will need to make sure this is authenticating to Active Directory and your AD users and groups should appear. When they do, drag over the ones you want to put into this OD group. There are several web sites that give step by step instructions on how to do this, including screen shots so have a search and see what you can find. If you have any specific questions, message me and I will see what I can do to help. Barry.
-
I'd just spotted that. Now looking for a colleage to kick me very hard!! Thanks and sorry for wasting your time. Barry.
-
Thanks all, OK I have added the Print instruction which returns: Array() I'm guessing this is not right! Here is the script of the form, which, if there is an error on, I'll kick myself very hard!!! // Form information echo ('You have '.$remaining.' options remaining. </pre><form name="selectoption" methord="POST" action="/dev/optprocess.php"> Please pick'); foreach($chors as $row2) { echo (''.$row2->subject.''); } echo (' </form><br>< I have attached the optprocess.php script as a text file. Because of the added lines, the error (notice) has changed to: Notice: Undefined index: uname in D:\Web Server\moodle\dev\optprocess.php on line 18 Thanks for your assistance with this. Barry. optprocess.txt
-
Hi, Info: PHP 5.2 Moodle 1.9.7 Apache 2 Windows Server 2003 Problem: I've created a form on a php page. The form 'posts' three variables, (uname, tutor & newoption), on to the next script. I have used the following code to recover the information: $uname = $_POST["uname"]; $tutor = $_POST["tutor"]; $subjectid = $_POST["newoption"]; However, I get an error message as follows for each of the variables listed above: Notice: Undefined index: uname in D:\Web Server\moodle\dev\optprocess.php on line 12 If you need to see anything else, please ask. I am quite new to PHP so any help would be much apprechiated. Cheers, Barry.
-
Thanks to everyone on here who offered me help with this. I have managed to work out how to do it. The code I needed was: foreach($opt as $row) { $optno = $row->subjectid; } Hope that helps someone else at some point. Barry
-
Well spotted Powdarrmonkey, I'm using a library supplied with a module for Moodle VLE. $opt=get_records_sql($sql1); If this is the cause of my problems, then I will take it up with the author of the module. Let me know if you want me to print the code of the 'get_records_sql'. Thanks.
-
Dan, If you don't mind playing with PHP, then Moodle VLE has two add-on modules which connect to CMIS, both of them are for different areas: Facility to Moodle - Connects students for authentication to Moodle and imports teaching groups. MIS - For looking up student ePortal information. I'm sure the coding of these two modules would help with finding the solution that you would like. Hope thats of help. Barry. Winton Arts and Media College
-
I changed it as you suggested, but got exactly the same error. Could it have something to do with the fact that the stdClass Object is returned within the array? I don't know, just guessing! Cheers for your help and ideas.
-
Thanks guys for your assistance. I did as was suggested above and got teh following error: Fatal error: Cannot use object of type stdClass as array Any thoughts? Thanks.
-
The array contains a field subjectid which will contain a number that will be cross referenced against a second database to find out which subject name goes against that number. When I run the page, it prints the array contents: Array ( [1] => stdClass Object ( [uname] => JHollands06 [tutor] => M LSt [subjectid] => 1 [year] => 2010 [optid] => 1 ) ) this shows me that the subjectid field on this record contains a number 1, but I get an error when I try and lookup that specific field in order to find out which number it contains.
-
Hi, The lookup returned an array automatically. I need access to several fields and to cross reference against another database for each record that gets returned. For this reason I need the array broken into each field so that I can run the cross reference and then post the result before going on to the next record in the results. I know how to do it in ASP, but not in PHP. Thanks.
-
Hi, I'm quite new to PHP and experiencing some issues. I understand programming in general as I have been using ASP for quite some time. I am trying to get a record from a database using an sql lookup (sql1). This then returns as an array which is fine, but I need to use part of the array for my next stage. My question is, does anyone know how to remove a fields value from the array? My code is: $opt=get_records_sql($sql1); //Diags for SQL content print_object($opt); $n = count($opt); if (empty($opt)) { echo 'No options selected'; } else { $optno = $opt["subjectid"]; // Diags of $optno echo ' $optno = '.$optno; As you can see, I tried to use this: $opt["subjectid"] as subjectid is the fieldname that I am trying to access and I was under the impression that this was correct for accessing an array, but I get the following error: Notice: Undefined index: subjectid Any thoughts would be much appreciated. Thanks, Barry.
-
Cheers Dan, I found the following in my php.ini file. [eAccelerator] extension=eaccelerator.dll eaccelerator.shm_size = "0" eaccelerator.cache_dir = "C:\Web Server\tmp" eaccelerator.enable = "1" eaccelerator.optimizer = "1" eaccelerator.debug = "0" eaccelerator.check_mtime = "0" eaccelerator.filter = "" eaccelerator.shm_max = "0" eaccelerator.shm_ttl = "0" eaccelerator.shm_prune_period = "0" eaccelerator.shm_only = "0" eaccelerator.compress = "1" eaccelerator.compress_level = "9" eaccelerator.keys = "shm_and_disk" eaccelerator.sessions = "shm_and_disk" eaccelerator.content = "shm_and_disk" ;eaccelerator.admin.name = ;eaccelerator.admin.password = I have added the ';' in front of each of the above lines. Saved the file. Stopped and restarted the Apache server and this has got rid of the Cache. Thanks for all your help. Barry.
-
My XAMPP install has 4 modules listed: Apache, mySQL, Filezilla and Mercury. Only Apache and mySQL are running. Thanks.
-
Moodle Cache is aready set to none and I can not find any reference to mod_expires. EDIT: I 'add' php pages to the Moodle directory. I'm trying to see if I can pass the active Moodle username to another Web Application. Cheers.
-
I've already flushed my PC's cache and tried other machines. Does Apache have a built in cache? Cheers.
-
Hi, I've come across a problem with php coding in Moodle. I'm not sure if this is a Moodle, PHP or Windows Server problem, so I apoligise if this post is in the wrong place. I installed Moodle on to my Windows 2003 Server using the Moodle 1.9 XAMPP installer. I am running Apache and mySQL from the XAMPP Control Panel. Whenever I create a php page and then access it within a browser, the page displays. (Often with an error as I'm new to PHP!) I access the php page and make a change to the code, including a visible text change. I the refresh the page in the browser, but this doesn't change, including the visable text. I make this a version number so that I know I am looking at the new page. If I save the altered file to a new name and then access that in the browser, I see the new version number in the text, but the old page still shows the old version number, even though the script of both pages is identical! As you can probably imagine, this is somewhat frustrating. I have shut down my PC, cleared Cache and even tried looking at the pages from different machines so this is something that is accuring server side. I have stopped and started the Apache server, but the problem persists. If anyone can shead some light on this 'very dark' problem, I would be very grateful!! Many thanks, Barry.
-
I have managed to upload an IMS Package to my IMS Repository. This package was uploaded using a science course. Another science teacher now needs to use the same IMS package for their course. How can they access the package without having to upload it again? It would appear that each course only has access to it's own storage area and no central library or repository. Is there any way of changing this? Thanks, Barry Smith ----------- Moodle 1.9 Windows Server 2003 Apache PHP 5.2 mySQL
-
Moodle : IMS Package Deployment
BarryWAaMC replied to BarryWAaMC's topic in Virtual Learning Platforms
CyberNerd, Thanks for the info. I'll look into it. I found the file size in moodle, but it's largest option was 16Mb. I'm hoping I can get around that! I have a direct LAN connection to the Moodle web server so I considered copying the IMS zip package over, but it still didn't deploy and I can't find a way to link to it when it is unzipped. I'll look at the lines you have suggested, but if you have a ny other thoughts, I would be greateful. Barry. -
Hi, I have been trying to set up Moodle for use instead of Fronter. A requirement is to be able to deploy IMS packages, but these packages are about 700Mb in size. I run the Moodle process for adding an IMS package and start the deployment process, but then the browser status bar says Done, but the window says that it is deploying, but no progress is being indecaited and when left for several hours, this doesn't change. Is there anything I need to do to the PHP configuration in order to deploy packages this large? Any other ideas that anyone may have would be most welcomed. Cheers, Barry.
-
Hi, I'm searching for an application that will manage which exe files students can open. I would profer to find a freeware package. I have tried using the GPO system from our Win 2003 server, but this only works with the hash number for the exe file in question. However, if they get a new release of the exe, the hash number changes. A colleage suggested Ranger, but this would be to expensive for the solution we are looking for. We require this as students are now bringing games into college on their pen drives. Any other ideas? Cheers, Barry. Winton Arts and Media College
-
Hi, I am trying to do exacly the same process. I need to add the student enrolment numbers to my students AD account. I have tried to use CSVDE, but it doesn't allow you to overwrite existing accounts. It will only import or export, it won't let you update. If anyone has come up with a solution to bulk editing ad accounts, I would be most interested in it. Thanks, Barry.
- 30 replies
-
- active directory
- bulk modify
-
(and 1 more)
Tagged with:
