Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2009-01-03 20:04:54
- TVining
- New Member
- Registered: 2009-01-03
- Posts: 3
Trying to import Wordpress Content
….and I get this:
——————————————-
Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 22 in /home/MYSITE/public_html/TextPattern2/textpattern/include/import/import_wp.php on line 49
Warning: Invalid argument supplied for foreach() in /home/MYSITE/public_html/TextPattern2/textpattern/include/import/import_wp.php on line 51
Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 23 in /home/MYSITE/public_html/TextPattern2/textpattern/include/import/import_wp.php on line 49
Warning: Invalid argument supplied for foreach() in /home/MYSITE/public_html/TextPattern2/textpattern/include/import/import_wp.php on line 51
Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 24 in /home/MYSITE/public_html/TextPattern2/textpattern/include/import/import_wp.php on line 49
Warning: Invalid argument supplied for foreach() in /home/MYSITE/public_html/TextPattern2/textpattern/include/import/import_wp.php on line 51
Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 25 in /home/MYSITE/public_html/TextPattern2/textpattern/include/import/import_wp.php on line 49
Warning: Invalid argument supplied for foreach() in /home/MYSITE/public_html/TextPattern2/textpattern/include/import/import_wp.php on line 51
Fatal error: Out of memory (allocated 11796480) (tried to allocate 7 bytes) in /home/MYSITE/public_html/TextPattern2/textpattern/include/import/import_wp.php on line 254
——————————————————————-
Any Idea® what I can do?
Tony
Offline
Re: Trying to import Wordpress Content
Fatal error: Out of memory (allocated 11796480)
That is the problem. I’m guessing PHP scripts on your website are limited to using 16MB RAM. You’re probably trying to import so many articles that you’re hitting this memory limit. Try increasing it.
PHP documentation: memory_limit
Try adding ini_set('memory_limit', '32M');
to your /textpattern/config.php file.
Offline
#3 2009-01-04 02:39:59
- TVining
- New Member
- Registered: 2009-01-03
- Posts: 3
Re: Trying to import Wordpress Content
What about all the errors leading up to that point?
Offline
Re: Trying to import Wordpress Content
I’d first solve the error, then worry about the warnings (perhaps they are related)
Offline
#5 2009-01-04 17:58:55
- TVining
- New Member
- Registered: 2009-01-03
- Posts: 3
Re: Trying to import Wordpress Content
Same Results. moved it down to 16M, same results.
Offline
Re: Trying to import Wordpress Content
Don’t move it down, move it up… perhaps to 64MB. What is the error you get then while importing?… and how big is the wordpress database you’re trying to import?
Offline
Pages: 1