Keyword

White screen during import of J2.5.4 content

  • Web-JIVE
  • Web-JIVE's Avatar Topic Author
  • Offline
  • New Member
More
12 years 4 months ago #66597 by Web-JIVE
When I try to import J2.5.4 content using K2, I get the following error:

Fatal error: Class 'JSimpleXML' not found in /home/urotoday/public_html/dev/administrator/components/com_k2/models/items.php on line 737

Any ideas on how to fix this?

Trying to import 50K articles...

Please Log in or Create an account to join the conversation.

More
12 years 4 months ago #66598 by Rodrigo Ramos
Replied by Rodrigo Ramos on topic Re: White screen during import of J2.5.4 content
I do not know what is happening (and will try to look into it when I get home).

Just to confirm: are you using the latest version of K2?

Please Log in or Create an account to join the conversation.

  • Web-JIVE
  • Web-JIVE's Avatar Topic Author
  • Offline
  • New Member
More
12 years 4 months ago #66599 by Web-JIVE
Yes, downloaded it today from the getk2.org site :)

Please Log in or Create an account to join the conversation.

  • Web-JIVE
  • Web-JIVE's Avatar Topic Author
  • Offline
  • New Member
More
12 years 4 months ago #66600 by Web-JIVE
Tried re-installing, no luck.. So far, K2 @fail

Please Log in or Create an account to join the conversation.

  • Web-JIVE
  • Web-JIVE's Avatar Topic Author
  • Offline
  • New Member
More
12 years 4 months ago #66601 by Web-JIVE
Found a solution on RedComponent website of all places...

Edit /administrator/components/com_k2/models/items.php on line 737

change from: $xml = new JSimpleXML;
to: $xml = JFactory::getXMLParser('Simple');

Make sure your PHP configuration has plenty of memory. I had to raise it to 384mb just to get the import working.

Please Log in or Create an account to join the conversation.

  • Web-JIVE
  • Web-JIVE's Avatar Topic Author
  • Offline
  • New Member
More
12 years 4 months ago #66602 by Web-JIVE
OK, for 50k articles, you will reach a max_execution_time limit. So, you will need access to your PHP.ini file to increase that time.

Please Log in or Create an account to join the conversation.

  • Web-JIVE
  • Web-JIVE's Avatar Topic Author
  • Offline
  • New Member
More
12 years 4 months ago #66603 by Web-JIVE
Looks like the K2 import script cannot handle large sites. The import eventually came back with a 500 error after about 5 minutes of running.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum