PDA

View Full Version : Importing Product time-out question


BabyNameAddict
03-07-2006, 06:05 PM
I read on the other thread that you say it can take lots of time to import the product. I have 3,000 members. It's been about 3 hours and it still says "Importing Product." However, I've also been away from my machine, and noticed I had to log-in to the Admin CP again when I went to open the Forum Manager in a new window.

So how long should it take for 3,000 members. And if I close the window (where it's supposedly importing) can I re-import the product again without it messing things up?

Thanks in advance.

After 6 hours, I shut off the screen, and tried it again. I have been keeping the AdminCP active, but it's already been 1.5 hours.

CMX_CMGSCCC
03-08-2006, 03:55 AM
It should not take that long, it took me about 1-2 minutes for 200,000 users in my test forum.

It should not be taking that long.

Maybe I could get access to ur forums and see if I can figure out the issue?

If so, send me the details via PM.

-CMX

BabyNameAddict
03-08-2006, 01:21 PM
Thank you for your reply.

I was using Firefox, and I think that was why. When I tried importing it in Explorer, I could see it was doing something, as the scrollbar got smaller and smaller. I thought that was enough to keep the Admin CP active, but apparently not. So an hour was not enough.

I tried it again this morning, and after 10 minutes or so the yellow :'s stop, and it's just blank, but still making the scrollbar smaller. However, I did access another element in the AdminCP (hoping to keep it "active") so I wonder if this might have "interrupted" the process.

So I will try it one last time in Explorer, but without accessing any other element in the AdminCP (in another window). If it doesn't install within a few minutes, I will contact you.

Thanks! :squareeyed:

CMX_CMGSCCC
03-08-2006, 01:44 PM
It should have printed the messages on the screen about what it was currently doing as I have flushed the cache out with the printing, but I never tried the update from firefox, maybe the flush doesnt work properly with firefox, but that shouldnt cause it to not work. Soon as it finishes importing the product, it should auto redirect fine.

And great, let me know how it goes in IE.

-CMX

BabyNameAddict
03-08-2006, 03:03 PM
I had the old eStore, which must have been updated in the last day or two, which is why it wasn't working.

I've gotten it as far as "cleaning up the settings" and it just sat there (after 20 minutes). So I closed the window and tried it again. Same thing, is just sitting there.

I am going to try one more thing before giving up :nervous:

CMX_CMGSCCC
03-08-2006, 03:37 PM
Here's the code..


// always unset the old vbBux / vbPlaza version number
vbplaza_printf("<p>Cleaning up the settings ... ");
unset($vbulletin->options['vbbuxplaza_version_number']);

// rebuild the vbplaza datastore
require_once(DIR . '/includes/functions_vbplaza.php');
vbplaza_update_datastore(true, '', '');

// rebuild the bitfields
require_once(DIR . '/includes/class_bitfield_builder.php');
vB_Bitfield_Builder::save($db);
build_forum_permissions();
vbplaza_printf("Finished.</p><p><b>ALL DATABASE UPDATES COMPLETE!</b></p>\n");


The only possible way I could see it failing is it you did not upload includes/functions_vbplaza.php, as the rest of the code is to fix bitfields.

I'll add code to the next version to verify that functions_vbplaza.php is included!

-CMX

BabyNameAddict
03-08-2006, 04:52 PM
I rebooted and tried it again and it still got stuck at "cleaing up settings." I did upload includes/functions_vbplaza.php (just checked to be sure).

Thanks for the code - but where do I put it?

Thanks :nervous:

CMX_CMGSCCC
03-08-2006, 06:04 PM
If it got that far, it should be installed fully minus "rebuild datastore" and "rebuild bitfields".

Both of which you can run in the Admin CP, so remove the bits of code above from the product XML file and it should finish installing properly.

-CMX

BabyNameAddict
03-08-2006, 07:42 PM
Thank you for your reply.

I looked everywhere in the Admin CP and don't see anywhere that I can run "rebuild datastore" and "rebuild bitfields."

As for removing the bits of code, do you mean all three sections you posted, or just the last two sections? So I remove that and import it again? I can do this, I am just not sure about how/where to run the "rebuild datastore" and "rebuild bitfields."

MorrisMcD
03-08-2006, 07:45 PM
I had the same issues you had initially.. But I got impatient after like 20 min.. lol

I rebooted my server and reimported it (it worked) and I have been running for 15 hours or so smoothly.. Never did anything else... /shrug

CMX_CMGSCCC
03-08-2006, 08:52 PM
I mean remove every line of code from the above post from the product XML for vbplaza. Then import the script, it should finish, once it finishes, refresh the Admin CP.

Then you will see vbPlaza Maintenance... inside there is Rebuild Bitfields as well as Rebuild Datastore.

-CMX

BabyNameAddict
03-08-2006, 09:04 PM
Woah, now that was fast! Installed in like 4 seconds :nervous:

I haven't been able to ge the vbPlaza Maintenance to show (I logged out, closed my window, restarted my machine, etc.). However, under vBulletin Options I see both vbBux Settings and vbPlaza Settings. I couldn't find Rebuild Bitfields or Rebuild Datastore in either one of these. I also checked in other Admin CP sections to be sure it wasn't put somewhere else, and I couldn't find it anywhere.

I will do the template edits now and see if it will work anyways :squareeyed:

CMX_CMGSCCC
03-08-2006, 09:21 PM
There should be 5 options.. Like in the attached image..

If you do not have them try to goto this URL (change yoursite.com to yoursite)

http://www.yoursite.com/forumspath/admincp/index.php?do=buildbitfields

-CMX

BabyNameAddict
03-08-2006, 09:27 PM
Template edits went smoothly. I can see "Edit vbPlaza Options" in my User CP, but when I click on it it says:

/forums/vbplaza.php was not found on this server.

So I put it over there....and then it just gave me a blank page instead of an error.

But of course I was unable to run Rebuild Bitfields and Rebuild Datastore which is probably why.

When I went to the link you gave me, it says:

Not Found

The requested URL /forumspath/admincp/index.php was not found on this server

:ermm:

CMX_CMGSCCC
03-08-2006, 09:51 PM
Did you upload all of the files?

Also change the forumspath to your forums path..

Basically goto your Admin CP and then add onto the URL index.php?do=buildbitfields

-CMX

BabyNameAddict
03-08-2006, 10:02 PM
Yes, I uploaded all of the files.

Great, that link worked! :nervous:

I still can't see the menus shown in the atatchment. And when I click on vbPlaza in my UserCP it still brings me to a blank page.

I had copied the entire vbbux folder to my /forums directory. Just now I copied the UPLOADS folder directly into the /forums directory. That didn't appear to make a difference. I am still getting the blank page when I try to access any of the vbPlaza links (either in my UserCP or on the bar on the top of my board).

:ermm:

To clarify, I only downloaded the vbplaza.zip.

ADDED 3/9:

I've tried refreshing, logging out, restarting my machine, and here's where I'm at:

I have updated all of the templates.
I have imported the .xml
I can see the plugins on the plugins page
I can see vbPlaza and vbBux Settings in vbBulletin Options
I can see "Edit vbPlaza Options" under my UserCP and on the navbar
I have the entired vbBux folder in my /forums directory. I also have vbplaza.php in /forums because of the error I got the first time I clicked on "Edit vbPlaza Options" in my UserCP (it said /forums/vbplaza.php not found). However, when I moved it there, now I get a blank page.

Any suggestions?

:cry: