This is getting frustrating. I have keep getting the same error no matter what I do. I've been trying for weeks to get any of the bible files to upload. They have uncompress correctly so that is not the problem.

I tried to change php.ini to include a higher file limit size (I'm a newbie so i don't know if i did it right but I followed online direction even tried to edit .htaccess but nothing worked.)

System Info:
Apache version 1.3.41 (Unix)
PHP version 5.2.5
MySQL version 5.0.51a-community

CommentFileSizeAuthor
#2 bible-kjv-eng.bc_.small_.txt35.44 KBMikeLee_Birdy

Comments

niko2137’s picture

Category: bug » support

Need help with topic. Please

MikeLee_Birdy’s picture

StatusFileSize
new35.44 KB

Dear Niko:
Could you try smaller file, for example the attach file and see if this works?
MikeLee

ratz’s picture

I have the same problem. No solution still found?

ratz’s picture

Oh! I found.

You need to adjust max file size in php.ini or .htaccess. Default it is 2Mb

Terebinth’s picture

I had this problem on my local site till I adjusted the .htaccess by adding:

php_value post_max_size 67108864
php_value upload_max_filesize 67108864

Then all worked fine.

But now that I'm trying to import it to my live site, i'm getting the same error "The bible import failed, because the file could not be read." all over again.

I tried the smaller file and it uploaded beautifully... so i'm thinking i might have to increase the max file size in .htacess again... Weird... considering the .bc file is still the same size I imported on localhost...

MikeLee_Birdy’s picture

Dear Drup-rider:
To avoid these php-max-file-size problem, the lastest version has a new function called "Web Import". You may try this. If you can not found the bible version you want, please reply so that I can add more bible versions on it.
MikeLee

onepartscissors’s picture

I think i may have discovered a missing link in all this - if you increase the upload limits and it still doesn't work - try going to File Uploads in Admin, and adding the 'bc' file extension into the list of Default permitted file extensions, and then double check that the file upload limits are set there as well.

hope it helps someone!

MikeLee_Birdy’s picture

Dear Drup-rider:
I've recovery drupalbible site. And, I found a bug if you want to use web-import: Please modify lines 603 and 677 , change $bsn into $bid.
Hope this function will help your import.
MikeLee

Terebinth’s picture

Wowww....thanks a lot. It worked!!

Can't stop smiling. :) :)) :D

Thanks and Stay Blessed!

Kriss-dupe’s picture

Status: Active » Fixed

Some of you might have troubles with chars like { } within the bible files, wich sometimes is used for comments. I'm closing this old thread

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.