Support » Plugin: HTML Import 2 » HTML Conversion

  • pageantry

    (@pageantry)


    We have been attempting to convert a site, pageantrymagazine.com, into a WordPress theme for supposed ease-of-use for our non-technical team who do not code, but need need to update a page or add a page quickly if a newsworthy event presents itself.The site is quite extensive (since 1999) and has several languages. The install parameters were followed extensively, all formats listed, etc. We have attempted numerous imports and after several hours receive a fatal memory error. We have spent over three days with our host provider also attempting to import files, even going as far as choosing small directories, increasing memory, providing another server with full space for testing, etc. Same crash challenge. One of the errors is as listed:
    Warning: Attempt to assign property of non-object in /home/pagean10/public_html/dir/wp-content/plugins/import-html-pages/html-importer.php on line 641

    Warning: Attempt to assign property of non-object in /home/pagean10/public_html/dir/wp-content/plugins/import-html-pages/html-importer.php on line 641

    Warning: Attempt to assign property of non-object in /home/pagean10/public_html/dir/wp-content/plugins/import-html-pages/html-importer.php on line 641

    Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 378472553 bytes) in /home/pagean10/public_html/dir/wp-content/plugins/import-html-pages/html-importer.php on line 257

    They feel the memory in the importer may not be large enough. As stated, the site is large with over 6500 pages.

    The conversion plug-in we have been attempting to use is HTML Import 2.

    Any help greatly appreciated.

    • This topic was modified 3 years ago by pageantry.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Wow… the developer doesn’t respond to direct messages for over two months and suggest that we post on a “board”. No response, how apropos.

    Hello fellow Floridian!

    First I want to say I really understand your frustration and I am going to try and help you because this is a community and I have been helped here many times and I want to pay that back through helping you. However, let’s be honest attempts to shame the developer of a fantastic FREE!!! plugin or run down the community here for not responding on your schedule will usually get the same results as you have had up to this point. Everything has constraints and free technical support has the constraint of being delivered when someone finds some free time and out of the goodness of their heart decides to help someone else. If you need help on your schedule hire a developer(like the author of the plugin) to fix things for you. I apologize for the lecture but I was really put off by the tone of your last post.

    Second, don’t lose hope! The hard thing about hard things is just that. I have used this plugin to import over 10,000 pages and it worked fine with some tweaks to my server(PHP) and site(wp-config) configuration. It took me what felt like a hundred thousand tries to get it right though. So what you are trying to accomplish can most likely be done.

    How much memory is allotted to PHP? It appears from the error message to be ~512MB. Have you tried setting the limit to say 1024MB? That is the value that worked for me. I also needed to add a couple of defines to my WordPress config file:

    define( ‘WP_MEMORY_LIMIT’, ‘1024M’ );
    define( ‘WP_MAX_MEMORY_LIMIT’, ‘1024M’ );

    I ran WordPress with no plugins, other than the importer, activated so that reduced the memory load too.

    I also had to increase the execution timeout and a couple of other setting that do not come to mind right now but let’s start with the memory issue and work from there.

    If increasing resources doesn’t help then enable verbose PHP error reporting and turn on debug in WordPress and report back with the errors and maybe we can get you moving forward. The whois that told me you were in Florida also tells me you are using InMotion Hosting and that probably means you are on a shared server which may not allow you to utilize so much of the server’s resources without choking and timing you out so if that is the case you will probably need to change your hosting plan.

    I just noticed another post about this so I am going to link to this answer in that post.

    Let me know how I can help,

    Terry Arthur

    Thank you for the response Terry. Yes, it can seem a little harsh when the boss gets involved. whether it’s free or not when he is paying the in-house developers to address his concerns. We are on a dedicated server so that should not be a concern. When the host company tried to run the imort over a few days, increasing memory etc, the same challenge occurred, not to say they were doing anything that we weren’t.

    We like the fact that you were able to import over 10k pages as ours is approximately 8k. We know that pour former in-house person is coming in this week and we will address your suggestions and keep you posted. Fingers crossed.

    All apologies on the tonality of the previously frustrated post…first ever post Fingers crossed for tomorrow. If you wish, we can also speak directly when he arrives for any questions as we will probably have a back.forth with the hosting company.

    Just because it is a dedicated server doesn’t mean it has the available resources you need to accomplish the import or that it is configured correctly to utilize them even if they are available.

    Have you tried importing just one page? Are you using a Windows server? Once you have a meeting with your developer if you can provide more detailed information about the resources available to the server, the site and plugin config, plugins installed and activated during the import, screen errors, error logs, steps to reproduce the error etc. we will get to the bottom of this much sooner.

    I will have to politely decline the call but I am happy to help for free via these forums as my schedule permits so that anyone that comes along later with a similar issue can benefit from this thread.

    Let me know how I can help,

    Terry Arthur

    No problem. We’ll post once we begin the process again, hopefully tomorrow (TH).

    Increased the memory as suggested as well as the timer. New error

    Warning: Attempt to assign property of non-object in /home/pagean10/public_html/dir/wp-content/plugins/import-html-pages/html-importer.php on line 641

    Fatal error: Out of memory (allocated 498073600) (tried to allocate 378472553 bytes) in /home/pagean10/public_html/dir/wp-content/plugins/import-html-pages/html-importer.php on line 257

    It’s the same error, you still don’t have enough memory allocated. Unless you do what I, or anyone for that matter, ask there isn’t much I can do to help. Here’s the ask again:

    “Have you tried importing just one page? Are you using a Windows server? Once you have a meeting with your developer if you can provide more detailed information about the resources available to the server, the site and plugin config, plugins installed and activated during the import, screen errors, error logs, steps to reproduce the error etc. we will get to the bottom of this much sooner.”

    We did increase the memory and max mem… Do you mean increasing more that 1024M?

    I think it’s a good idea to try only one or a few pages at a time. We’ll try that as well.

    Unfortunately, the one page attempt brought the same error re: memory. The developer per se, is my former art director, who has been trying to help us in this conversion, who updated the website as needed and it is his reply above. No plugins, except HTML Import 2 are activated during the process. It is not a windows server and is based on linux redhat. After speaking with IMH, we increased memory from 1024 to 2048 and the ini time fro 60-100. I’ll post once we get the results.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘HTML Conversion’ is closed to new replies.