ATutor

Learning Management Tools







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


File manager problem


  • 2006-01-28 15:52:24

    File manager problem

    If you are asking for help, provide lots of detail so problems can be reproduced.
    I am a newbie but have been using aTutor for courses and usually have no significant problems. This upgrade is causing problems so please be patient with a newbie.
    Following are present issues:
    I just upgraded from 1.5 to 1.5.2 --there is no way to get to the File manager to upload image, etc from the content page when you are editing. File manager is there but no browse to upload or anything---also when go to manage section, browse is ther, i can upload but I am getting the message below.

    Thanks for any help!!


    Things to describe:
    operating system -FreeBSD 4.11-STABLE
    version of ATutor -upgrade from 1.5 to 1.5.2
    versions of php -PHP 4.4.1
    version of mysq l -mysql Ver 14.7 Distrib 4.1.11
    webserver & version -

    copies of error messages -(/home/i1stopbi/public_html/ezmember/elearncenter/content/2/delegate/images/b4-office.gif): failed to open stream: Permission denied in /home/i1stopbi/public_html/elearncenter/tools/filemanager/upload.php on line 104

    Warning: move_uploaded_file(): Unable to move '/var/tmp/phpByuzoJ' to '/home/i1stopbi/public_html/ezmember/elearncenter/content/2/delegate/images/b4-office.gif' in /home/i1stopbi/public_html/elearncenter/tools/filemanager/upload.php on line 104

    Warning: Cannot modify header information - headers already sent by (output started at /home/i1stopbi/public_html/elearncenter/tools/filemanager/upload.php:104) in /home/i1stopbi/public_html/elearncenter/include/header.inc.php on line 17


    changes to default settings -
    web browser being used -explorer
    and anything else relevant -
    message receiving
    Warning: move_uploaded_file

  • 2006-01-30 08:51:33

    Re: File manager problem

    We will look into why the upload feature is missing in the popup file manager. For now open the filemanager on the Manage screen in a new window while you are editing content.

    Make sure the permissions on the upgraded content directory are set to be writable

    chmod -R 777 content
    or
    chmod a+rwx content

    The errors you are recieving generally happen when a source file has been opened/edited and Windows line breaks have been introduced. You may need to replace the file listed with fresh copies from the repository, or reinstall.


    http://atutorsvn.atrc.utoronto.ca/repos/atutor/tags/atutor_1_5_2/docs/

  • 2006-01-30 12:39:46

    Re: File manager problem

    I opened it in a new window and the same thing happened.

    This was an upgrade so I did not have to change anything or open any of the files to upgrade.

    ALSO when I go to CHAT there is only a blank screen.
    NOTHING there.


    Should I reload particular files or the whole thing again. Please be specific as I am a newbie. I've had very little problems in the past with aTutor and really like it because it is so newbie friendly.


    Thanks

    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    operating system -
    version of ATutor -
    versions of php -
    version of mysq l -
    webserver & version -
    copies of error messages -
    changes to default settings -
    web browser being used -
    and anything else relevant -

  • 2006-01-30 18:43:11

    Re: File manager problem

    I'm guessing you tried opening the file manager in a new window from the Content Editor screen. You need to open it in a new window from the "Manage" screen. See the Tab at the top middle of the ATutor screen.

    Because the chat is showing problem, as well as files not uploading, it suggested the permissions, as described above, have not been set right on the content directory.

    There's lot of help if you search google with "UNIX permissions HowTo",

    Also try setting AT_FORCE_GET_FILE from TRUE to FALSE, or visa versa, in include/config.inc.php

    If setting AT_FORCE_GET_FILE or adjusting the permissions don't work, depending how well you know your way around a UNIX environment, you may better off reverting back to the old installation using the backups you took before the upgrade, and try upgrading again.

    Is your system using an Apache webserver?

  • 2006-02-02 11:01:46

    Re: File manager problem

    I have done a complete new upgrade install. All directories are chmod properly. The Chat still gives only a blank screen.

    The file manager now works from the manage section in a new window.

    File manager does not work in the content area. As a matter of fact the whole section that gives you the option of browse for a file from your computer and downloading is missing on this file manager screen.

    Thank You


    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    operating system -
    version of ATutor -
    versions of php -
    version of mysq l -
    webserver & version -
    copies of error messages -
    changes to default settings -
    web browser being used -
    and anything else relevant -

  • 2006-02-02 11:22:53

    Re: File manager problem

    Please confirm that you have tried what has already been suggested above, describing what happened with each suggestion.

    Please "carefully" read what was posted above. You shouldn't be asking questions that have already been answered. Re: the file manager upload

    And answer the questions we've asked.

    Instead of say chmoded properly, list the permssions you set. There's no way for us to confirm that what you think may be correct, is actually correct.

  • 2006-02-02 12:52:57

    Re: File manager problem

    Below were previous suggestions
    I'm guessing you tried opening the file manager in a new window from the Content Editor screen. You need to open it in a new window from the "Manage" screen. See the Tab at the top middle of the ATutor screen.

    This did not work--got the same error message as i listed in first communication

    ----------------------------------

    Also try setting AT_FORCE_GET_FILE from TRUE to FALSE, or visa versa, in include/config.inc.php
    This did not work CHAt screen still blank
    ---------------------------
    Make sure the permissions on the upgraded content directory are set to be writable
    chmod -R 777 content
    they were previously chmoded to 777 as the upgrade instructions indicated to chmod them during the installation which I did.

    ______----------

    I did the following
    you may better off reverting back to the old installation using the backups you took before the upgrade, and try upgrading again.
    This resulted in the file manager now working when opening from manage in a new screen. There is stil no upload section in the content area--just thought you might want to know a new installation did not resolve this.

    In relation to the CHAT issue
    which in reference to this suggestion
    Because the chat is showing problem, as well as files not uploading, it suggested the permissions, as described above, have not been set right on the content directory.


    all directories are chmod
    chmod -R 777as indicated above in content directory which includes import, chat, backups

    This did not resolve the issue with CHAT-still a blank screen

    webserver listed below

    Thank You









    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    operating system -
    version of ATutor -
    versions of php -
    version of mysq l -
    webserver & version -apache/1.3.33
    copies of error messages -
    changes to default settings -
    web browser being used -
    and anything else relevant -

  • 2006-02-03 09:05:00

    Re: File manager problem

    I do not see anything that would explain the chat problem.

    Be sure safemode is turned off.

    Are you able to create backups, create new files with the file manager Create a New File tool?

  • 2006-02-04 18:47:17

    Re: File manager problem

    please instruct on how to ensure safe mode is turned off. I am not a programmer. I am a user but can follow directions well.

    I am able to create new file with the file manager Create new file tool.

    In doing a backup, I recived the following message--
    Warning: fopen(/home/i1stopbi/public_html/ezmember/elearncenter/content/backups/2/25f43e266cecd9a3b96823e92dd1e4eb.zip): failed to open stream: Permission denied in /home/i1stopbi/public_html/elearncenter/include/classes/Backup/Backup.class.php on line 126

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/i1stopbi/public_html/elearncenter/include/classes/Backup/Backup.class.php on line 127

    Warning: Cannot modify header information - headers already sent by (output started at /home/i1stopbi/public_html/elearncenter/include/classes/Backup/Backup.class.php:126) in /home/i1stopbi/public_html/elearncenter/tools/backup/create.php on line 31


    I checked the content file again it is chmod to 777 the backup directory in the content directory is chmod to 777

    Thanks


    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    operating system -
    version of ATutor -
    versions of php -
    version of mysq l -
    webserver & version -
    copies of error messages -
    changes to default settings -
    web browser being used -
    and anything else relevant -

  • 2006-02-06 08:34:43

    Re: File manager problem

    Create an info.php file that hase the following lines, then open it in your browser and look for the safemode line.

    [php]

    phpinfo();

    [/php]

    If safemode remains on, any writing to the server will be blocked.

  • 2006-02-07 15:12:31

    Re: File manager problem

    Thank you for your help. I created the file and below is what is indicated in the safe mode area.

    safe_mode Off Off
    safe_mode_exec_dir no value no value
    safe_mode_gid Off Off
    safe_mode_include_dir no value no value

    Should I go back to the old versionof Atutor. I was not having these problems with version 2.5 and I hesitate to continue to work on development if I cannot even backup the courses I am presently working on.




    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    operating system -
    version of ATutor -
    versions of php -
    version of mysq l -
    webserver & version -
    copies of error messages -
    changes to default settings -
    web browser being used -
    and anything else relevant -

  • 2006-02-13 09:23:23

    Re: File manager problem

    I can't see anything to suggest a problem. It is likely somthing specific to the server you have ATutor running on.

    Revert back to the old version for now.