Jump to ContentJump to Navigation/Login
` ` ` ` ` `

[Register]

Occasional ATutor release updates


No Members Logged In

(12 guests in past 15 min.)

Access Understanding Web Accessibility to learn about accessibility, or Register to take the course for FREE.

Support Forums

ATutor Bug Reports

import course failed


You must be signed-in to post.

AuthorSubject
  Page: 1 | 2
maui1
Subject: import course failedQuote this post in your reply
Hi, very nice Learning CMS. I have a installed and working except I can't seem to import the How To Course from your site. I get the import progress bar and it goes from o to 1.3 mb twice then an error box opens saying accessing URL: mysite.org/ATutor/users/import.php failed. Any pointers what might be wrong.
Posted: 2003-05-25 22:44:20
greg

Avatar for greg
Subject: import course failedQuote this post in your reply
Have the permissions on the content directory be set to world writable, or owned by the web server user?

In your php.ini file has the post_max_size variable been adjusted from it's default 2mb? Set it to some larger number. We set ours to 8M.

If adjusting these doesn't work, send us a URL to a temporary phpinfo() page so we can see the configuarion of your server
Posted: 2003-05-26 09:00:03
maui1
Subject: Content dir set to 777Quote this post in your reply
That was the first thing I tried. I did set the content dir to 777 and the import dir within content to 777, but the numbered directories both in content and import were set to 700 and I was only able to change the dir labeled "1" to 777 the others would not change permissions. What are the numbered directories, do they correspond to courses?

RE: php.ini, while I have no access to this file, I have successfully uploaded files as big as 10 meg using the control panel and other scripts I have installed.

If you send me your email to frank@arcturus.org I will send you my phpinfo() page.
Posted: 2003-05-26 19:14:21
greg

Avatar for greg
Subject: Recursive permissionsQuote this post in your reply
Everything below the content directory has to be writable. use:
chmod -R 777 content

The numbered directories coorespond with course ID's
Posted: 2003-05-27 08:39:51
maui1
Subject: Manually set permission to 777Quote this post in your reply
I changed the content directory and all other directories under it to 777, but still no luck importing the ATutor How To course.

Also when I create a new course I've noticed that the new folders under content are created with a default permission of 700, I can of course change these manually to 777, but maybe I am missing some setting for them to be created with the proper permissions.

I sent Greg the URL to my phpinfo page by email to help diagnose the problem.

This particular installation is on a hosted system and I can't change any of the php.ini settings. If there are any adjustments needed, could they be handled with a .htaccess file?

Thanks for your help,
Posted: 2003-05-30 14:03:49
greg

Avatar for greg
Subject: Sound like PermissionsQuote this post in your reply
Upload works fine through the file manager, so it's not a "/tmp" directory problem or a permissions problem. Importing a tiny course does not work, so it is not likely a file size problem. Your other phpinfo settings seem alright.

It sounds like the Import script may be broken. Try a fresh install of ATutor to see if that corrects the problem. If that does not work, we'll need login access to your ATutor install directory to investigate futher.

greg

In reply to:
I changed the content directory and all other directories under it to 777, but still no luck importing the ATutor How To course.

Also when I create a new course I've noticed that the new folders u...

Posted: 2003-05-30 15:00:11
maui1
Subject: Already tried a second installQuote this post in your reply
Hi Greg, the ATutor I gave you instructor permissions for on my server was the second install I made of ATutor in a different directory with a different MySQL database. I unzipped both right on the server so if there is a broken import script it's part of the original zip file.

I will email you login directions for the server I have ATutor on.
Posted: 2003-05-30 22:37:44
greg

Avatar for greg
Subject: Firewall settings?Quote this post in your reply
The import script hasn't given us any trouble before, so I don't think it's the problem.

There seems to be a permissions issue on the server. It could be firewall related. When files are imported their permissions are changed from 755 to 644. My first guess is the server commands that run on the imported files, can't run. Ask your sysadmin to check into it.

While you're at it, you might ask to have the ownership of the content directories changed to nobody:nobody. (chown -R nobody:nobody content)

greg

In reply to:
Hi Greg, the ATutor I gave you instructor permissions for on my server was the second install I made of ATutor in a different directory with a different MySQL database. I unzipped both right on the ...

Posted: 2003-05-31 09:42:32
maui1
Subject: import problemQuote this post in your reply
I put in a trouble ticket to get the changes. My telnet to the server isn't working otherwise I would try it myself.

Will try to import a course after the changes are made.
Posted: 2003-06-01 00:17:00
guyran
Subject: Import failed of Howto 1.2Quote this post in your reply
Having tried several times and using different browsers, I can't get ATutor to import the HowTo course. I tried changing the owner to nobody:nogroup and chmoded the content directory and below to 777, but nothing seems to work.
The only clue seems to be given by opera which states that the server shut down the connection. This was using Opera from the same workstation as the server. Netscape says that the file contains no data, which is obviously not true, and Galeon says that I didn't choose any file to upload when I confirm the import operation. This also seems hardly plausible.
Would you have any other suggestions as I would like to start tranlating the HowTo course, but it's a bit inconvenient - and expensive to do it while working online.

Thx,
Guy
Posted: 2003-08-12 18:51:49
greg

Avatar for greg
Subject: Help us Help YouQuote this post in your reply
Can't help without more info. See:
www.atutor.ca/forums/view.php?fid=3;pid=150

The browser you use should not affect the import. It's likely a server setting that's the problem. I'm assuming your web server owner is nobody:nogroup. In most cases it is nobody:nobody.
Posted: 2003-08-13 08:48:55
guyran
Subject: Import failed of Howto 1.2Quote this post in your reply
I followed your suggestion and changed theApache server settings to use nobody:nogroup, which is the safe setting for permissions on a Debian system. Previously it was set to www-data. I have set all permissions on the ATutor branches to nobody:nogroup as well.

I re-tried the Import procedure and this time got a whole string of error messages. All the same; here is the first one:

Warning: stat failed for ../content/import/6/content (errno=13 - Permission denied) in /var/www/ATutor/include/classes/pclzip.lib.php on line 3917

Is it a problem with the mysql server or my settings for Apache? I don't have the knowledge to intervene in the php file mentioned, but I got a similar errno=13 response from my mysql server when I tried setting up phpmyadmin without the correct privileges. It works now after I corrected this.

My version of apache is 1.3.27 on Debian
My version of mysql is 11.16
My version of php4 is 4.2.3

Yours,
Guy
Posted: 2003-08-14 11:40:48
joel

Avatar for joel
Subject: importQuote this post in your reply
check to see if the ../content/import/6/content directory actually exists and what its permissions are set to. if it doesn't exist then that would explain that warning.

that directory should be created when the import course is decompressed.

which version of ATutor are you using? the latest version is 1.2.2. you should upgrade to 1.2.2 or try a fresh install then importing the HowTo course.

joel
Posted: 2003-08-14 15:48:38
karstyn
Subject: Error: PCLZIP_ERR_BAD_FORMATQuote this post in your reply
When trying to import thHowTo course I get the following message:
Error : PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature

I'm serving a brand new installation of ATutor 1.2 from Mandrake 9.1, but was doing the import from OSX 1.2. Trying to do the import from the server did not work at all - import dialog box stayed more then 30 hours before I closed it - course never imported. Both times I changed file permissions to 777 before the import.
Posted: 2003-09-11 12:55:39
greg

Avatar for greg
Subject: PCLZIP bugQuote this post in your reply
First try upgrading to 1.2.2.

We are aware of a bug in the PCLZIP library, and we are trying to deal with it. It should be fixed in the upcoming release. It only creates problem on some systems, and it looks like Mandrake is one of them. If you have a Redhat or a win2000 system, try installing ATutor there.

You have zlib compiled into php, right?

Which version of php are you using.

Try uploading a zip file (not the howto course) into the filemanager and unzipping from there and let us know what happens.
Posted: 2003-09-11 14:20:09
 Page: 1 | 2

You must be signed-in to post.