Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-05-04 01:24:25

roycifer
New Member
Registered: 2006-05-03
Posts: 2

import from b2: not all entries imported

hello,
i attempted to import content from my existing b2-based site into a fresh install of textpattern; however only the latest 484 of the 1794 entries were imported. additionally, comments were not imported.

i took the following steps to do the import:
—mysql backup via cpanel of my b2 database from current site
—imported b2 backup into my new site via cpanel
—performed textpattern import via textpattern admin
—textpattern admin ends import at a blank page (/textpattern/index.php)

ive tried this twice and both times only 484 entries were imported. any ideas why all 1794 entries (plus comments) are not being completely imported?

i am new to textpattern as of today and am eager to evaluate! :)

thanks,
royce

Offline

#2 2006-05-04 07:45:25

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: import from b2: not all entries imported

It’s possible that the script is timing out if the server is too slow. Are you getting a confirmation screen? Do you see the Textpattern-logo/footer on the confirmation-page? If not, then the cript is probably timing out, because execution time is taking too long.

In that case a solution might be (if it’s not disabled), to set a longer execution time. Look at textpattern/include/txp_import.php and the line
ini_set('max_execution_time', 300 + intval($ini_time) );

Change the 300 (seconds) to something (a lot) larger, maybe 1500.

Offline

#3 2006-05-04 19:31:27

roycifer
New Member
Registered: 2006-05-03
Posts: 2

Re: import from b2: not all entries imported

im not getting any confirmation screen. the script stops at a blank page.

i tried increasing the time to 1500 but only 378 entries were imported. then i tried increasing the time to 5000 and only 404 were imported. strange.

any other possible suggestions? thanks!

Offline

Board footer

Powered by FluxBB