ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


multiple records


  • 2004-04-13 13:53:38

    multiple records

    haven't found a reference to this problem:

    when adding content to a course, and click to save changes, multiple records are added to the content table. i appear to be in a loop, and duplicate records are added until i interrupt.

    running on windows 2003 server

  • 2004-04-13 15:06:27

    multiple records

    do you have a URL where we could duplicate the problem?

    we'll need an instructor account.

    use the contact page to send us the details via email privately: http://atutor.ca/contact.php

    .joel

  • 2004-04-13 17:35:16

    multiple records

    I'm running into pretty much the same problem, but on Windows 2000 Server. Adding content to a course causes the web server to "terminate unexpectedly."
    When you look back at the course, there are 20+ copies of the content you just added.

    Using ATutor 1.3.3

  • 2004-04-13 18:20:21

    Which webserver/php/mysql

    I see the problem. It's a new one for us. Have you tried a fresh download and install? It could be a file was corrupted while downloading.

    Also see the Help us Help You thread listed at the top of this forum, for a list of other things you can describe that might help us track down the problem.

  • 2004-04-14 03:14:59

    Answers to Help us Help You

    1. ATutor 1.3.3 Fresh Install
    2. Microsoft Windows Server 2000 5.00.2195 Service Pack 4
    3. IIS 5.0
    4. PHP 4.3.5 and MySQL 3.23.58
    5. Internet Explorer 6
    6. I have root access

    I tried redownloading and installing again. Unfortunately, this did not help.

  • 2004-04-14 08:33:12

    IIS Problems

    This could be an IIS problem. I suggest you try Apache. Try installing EasyPHP and running ATutor with the Apache Web server it installs;

    http://www.easyphp.org/

  • 2004-04-14 09:13:09

    re:IIS Problems

    That would be a rather extreme solution that I am unable to implement at this time.

    Any other suggestions? Ideas about how IIS might be affecting this that I could explore?

  • 2004-04-14 13:17:26

    IIS Problems

    It would be hard to find a solution at this time because we do not have access to an IIS machine we could do thorough testing on.

    At this moment going with Apache might be the better solution. Until we have the resources to test/develop on an IIS machine, IIS support will continue to be 'experimental'.

    We will try to look at this issue again before the next release.

  • 2004-04-14 13:56:15

    re: IIS Problems

    OK, I anxiously await. If it helps when you get the chance to look at it, out of curiosity, I tried to edit existing content. When I try to save the changes, browser times out with CGI error:

    The specified CGI application misbehaved by not returning a complete set of HTTP headers.

    Don't know if this will help. I am downloding easyphp and will give it a try

    Thanks

    PS really impressed with what I have seen so far. strong desire to get this working.

  • 2004-11-08 12:47:22

    the same problem

    upgrading to 1.4.2 if we try to create a new page we get 28 (always 28!) new pages with the same content.

    elaerning.med.unifi.it/atutor/info.php

    try this alternative if it should not work since we are redirecting the dns

    http://150.217.101.11:8080/atutor/info.php

    of course we are on IIS and we cannot, so far, install apache

    any suggestion is welcome

  • 2005-02-08 08:29:30

    Still seeing this !!

    Has this been resolved yet ? I am still getting the same problem of multiple content being created. Strange thing is I have a 'test' server that is almost identical and I don't get the problem on that one.

    1st Machine (no problems) Win 2K, IIS 5, PHP 4.3.3, MySQL 4.0.20, Atutor 1.4.2, Browser IE and Firefox both work.

    2nd Machine (problems) Win2K, IIS 5, PHP 4.3.3, MySQL 4.0.23, Atutor 1.4.2 & 1.4.3, Browser IE & Firefox.

    On the second machine the site seems to be fully working other than this problem. If I edit exisiting content it works fine it is only when creating new content I get a problem. IE comes back with a Document can't be displayed error and Firefox throws up a document contains no data error.

    Hope this is fixed soon as it is a really cool system otherwise.

    Cheers

    Neil :(

  • 2005-09-22 04:22:20

    still finding it

    iam still having this probleme ...........i don't know why?? there must be a code or a configuration to solve it

  • 2005-09-22 04:22:41

    still finding it

    iam still having this probleme ...........i don't know why?? there must be a code or a configuration to solve it

  • 2005-09-22 04:23:15

    still finding it

    iam still having this probleme ...........i don't know why?? there must be a code or a configuration to solve it

  • 2005-09-22 10:05:05

    what problem

    What problem is that?

    Details please? We can not help otherwise.

  • 2005-09-25 14:30:06

    the details

    The proleme simply is that at adding new content when the web server is iis the atutor saves multiple record of this content (reaches 20 times) and don't know why???

  • 2005-09-26 14:00:51

    Upgrade

    Well, I can still only guess. I will guess you are using an older version of ATutor. Maybe 1.4.3, in which such a problem was previously reported. There are a couple threads on the topic if you search, but the problem was never solved. Something in the server environment was at fault.

    Upgrade to the current version of ATutor.

    As I said, there is not much we can do if you haven't provided any information about your system. ATutor runs on dozens of system and configurations of those system, each which has its own quirks. At the very least we have to know what version of ATutor you are referring to.

  • 2005-10-01 15:04:53

    using atutor 1.5

    my atutor version is 1.5
    my web server is IIS 5
    my php is 4
    my MySQL is 4.1
    the probleme is : still having multiple records when adding a new content

  • 2005-10-01 20:51:22

    IIS or Apache

    Switch to Apache. It's a much better webserver.

    Various problems have been reported by IIS users,

    PHP version has to be more than 4.2.0

  • 2005-10-02 04:02:49

    many thanks

    i can't use apache because i have a complete site on my server made by ASP so i will have to by a hosting ........and about PHP i already use 4.3 (don't worry);)

    many thanks for your interest in my probleme ........we have made some developpping in ATutor and will show you it in in time.........thanks

  • 2005-10-02 08:57:33

    Both IIS and Apache

    You can run both IIS and Apache. Give Apache a different port to run on in httpd.conf

  • 2005-11-17 22:05:14

    Same Problem

    I am running the latest stable version of ATutor,
    PHP 4.3.9. IIS.

    Getting the same problem where mulitple pages are added every time and I get the error message:
    CGI Error
    The specified CGI application misbehaved by not returning a complete set of HTTP headers.

    Please tell me there is a solution other than investing new hosting solution on Apache.

  • 2005-11-18 08:41:51

    IIS woes

    IIS support for PHP is not very reliable. This is really something Microsoft and the PHP people need to deal with. Unfortunately, our focus, being an open source shop, is supporting open source implementations, which in most cases involves using Apache as the webserver.

    If someone were to fund some IIS workaround development, we "might" be able to deal with some of the shortfalls of IIS/PHP integration by creating workarounds.

    Try using something like EasyPHP, which can be downloaded from the atutor.ca ATutor download page. It is relatively easy to install. As mentioned above, you can continue to run IIS and Apache on the same system, by assigning one of them a port other than the default 80, say 8080.

  • 2005-11-21 15:14:02

    Switched to Apache

    Ok, so I took the advise above and bought some linux hosting with apache.

    I no longer get multiple records but I do get an error message when adding content which is:

    Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/httpd/vhosts/caisscolestraining.com/httpdocs/include/classes/ContentManager.class.php on line 147

    Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/caisscolestraining.com/httpdocs/include/classes/ContentManager.class.php:147) in /home/httpd/vhosts/caisscolestraining.com/httpdocs/include/lib/editor_tab_functions.inc.php on line 161

    The content is actually there when I check later but I can't stop this error.

    I have tried re-installing.

    Things to describe:
    operating system - Linux Red Hat
    version of ATutor - 1.5.1
    versions of php - 4.3.2
    version of mysq l - MySQL 3.23.0+ or 4.0.16+
    webserver & version - Apache/2.0.46
    changes to default settings - nil
    web browser being used - IE

    Any assistance would be greatly appreciated.

    Andrew.

  • 2006-06-06 17:37:12

    Multiple Records CGI Error on IIS

    Relates to:

    Windows Server 2003
    IIS 6.0
    PHP 4.3.3
    MySQL 4.1.12a-max

    Problems:
    * When a form is processed that redirects to itself the following CGI error occurs

    CGI Error
    The specified CGI application misbehaved by not returning a complete set of HTTP headers.

    * Many duplicate pages are added when new content is created.

    Correction:
    $msg->addFeedback('SECTIONS_SAVED');
    //Change the redirect line below to include the basename function
    //header('Location: '.$_SERVER['PHP_SELF']);
    header('Location: '.basename($_SERVER['PHP_SELF']));
    exit;

    Result:
    Ive changed this line in the following files and eliminated the CGI errors they were causing on my system:
    ..\ATutor\include\lib\editor_tab_functions.inc.php
    ..\ATutor\admin\config_edit.php
    ..\ATutor\tools\modules.php
    ..\ATutor\tools\side_menu.php

  • 2006-06-06 18:24:04

    Re: Multiple Records CGI Error on IIS

    Thx a lot.

    Are you speaking of ATutor version 1.5.2?

    We'll try your patch, and if it works out ok, we'll get it into the coming release. I'm sure all the IIS users will be happy ;-)

    http://www.atutor.ca/atutor/mantis/view.php?id=2492

    Has this affected how the tools work at all, compared to how they work on the demo site, for example? How are things working elsewhere in your installation? One thing we haven't been able to do a lot of, is testing with IIS6.

    If you wouldn't mind, you could help out by testing ATutor 1.5.3 beta (or RC) if you have some time.

    http://atutor.ca/atutor/download.php

  • 2006-06-07 12:21:48

    Re: Multiple Records CGI Error on IIS

    Yes - The ATutor version where I tested the header('Location: '.basename($_SERVER['PHP_SELF'])); patch is 1.5.3

    I noticed this morning that it also corrects the same IIS CGI Error in ATutor 1.4.3. To check the patch in this version I made the change in the ...ATutor/include/lib/editor_tab_functions.inc.php file on line 153.

    Note: My list of files where I applied the patch so far is not a complete list of where it may be applicable. I'm just patching as I go along.

  • 2006-06-07 13:37:40

    Re: Multiple Records CGI Error on IIS

    Correction: I tested the patch on ATutor 1.5.2 and recently on 1.4.3

  • 2011-01-04 20:26:27

    Re: Multiple Records CGI Error on IIS

    hi, I know this thread is old, but I was having a similar issue with CGI errors on IIS6 and followed DavidHyde's suggestion of inserting the basename()

    At the momement I am not able to use Apache so I changed the following files:

    mods\_core\users\default_preferences.php
    admin\config_edit.php
    mods\_standard\tests\questions.php
    mods\_standard\social\index_admin.php
    mods\_standard\student_tools\instructor_index.php
    mods\_standard\tile_search\admin\module_setup.php
    mods\_standard\course_email\course_email.php
    mods\_core\users\master_list.php
    mods\_core\themes\index.php
    mods\_core\properties\access.php
    mods\_core\modules\default_mods.php
    mods\_core\modules\index.php
    mods\_core\courses\admin\default_mods.php
    mods\_core\backups\classes\backup.class.php
    inbox\sent_messages.php
    documentation\index\index.php
    documentation\developer\modules.html
    admin\error_logging_bundle.php
    admin\error_logging_details.php

    I have not tested all of them yet but the ones I have are working well.
    Thanks