Jump to content

Export Timeout Issue


Dirty Butter

Recommended Posts

I'm using an unpublished build of 5.0.7, but of course CC is not working on the weekend. So, just in case someone can suggest a solution - it took me quite a few tries to get a Google export of about 3000 items all at once. This had not been happening previously. It kept timing out, going to a blank page. I have no difficulty exporting smaller amounts in sections. I didn't see any difference in the products.export.inc.php in sources between mine and the current 5.0.7, but that may not mean anything, as other files are different.

Any thoughts?

Link to comment
Share on other sites

Hi,

The one thing you should do is figure out what the error is. Whenever CC v5 goes to a blank page, that means that there is a PHP coding error or code failure. CC5 goes out of its way to hide these errors.

To see the error, get a copy of classes/debug.class.php from v5.0.5 and copy it into yout 5.0.7 folder. The files are exactly the same with the exception of one small block of code that allowed for these errors to be seen.

This block of code is missing from 5.0.7 file.

Edit this file and take the comment blocks out see below and save the file.


/*

  if (isset($_GET['SHOW_ALL'])) {

   //Remove to see errors

   ini_set('display_errors', true);

  }

*/

Once you've done that, add SHOW_ALL on the query string when you run the export and you will see all of the PHP errors. See what the error is, and fix it.

Good luck!

/Goober

Link to comment
Share on other sites

Thanks, Goober!! I'll give it a try and get back to you. But I need a little guidance about what I'm to do to get add SHOW_ALL on the "query string". Do you mean go up to the address bar and add SHOW_ALL to the end of the url?? I'm still very much a newbie - sorry for needing so much hand holding. Or do you mean run a query from the Query Database tab? If so, what's the query?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...