![]() |
Quote:
You have a problem! I pull, process and load 70 groups in 5 minutes! When it was on a shared virtual server it used to take up to 15 minutes. Even when pulling history with batch limit set to 150 it only takes 10-20 minutes! That's over 10,000 posts. What version of Perl are you using? |
fastforward,
Perl is 5.005_03. I've watched the server pull newsgroups stuff through and it pulls the articles very quickly, the problem seems to be when it reaches "Checking for Orphans" and "Loading x Replies" stage. I've followed details on optimising MySQL from various threads in these forums but doesn't seem to help very much. It isn't a shared server, it is a cobalt raq 4i with 512 RAM. |
Since trying to apply this hack our forums have been down with the following error:
Parse error: parse error in /home/sites/site3/web/forums/admin/functions.php on line 1729 Fatal error: Call to undefined function: vbsetcookie() in /home/sites/site3/web/forums/admin/sessions.php on line 198 I followed the directions exactly as specified in the INSTALL.TXT file. Modified the required files and then manually uploaded them to the server. Any ideas on the problem? A prompt solution would be much appreciated since our boards are down at this moment. :eek: |
first- replace functions.php with the backup you made to get forums working again.
then look inside functions.php the error might be beginning here: function vbsetcookie ... basically you have done something wrong in fuctions.php, missed of a closing bracket would be my guess |
I uploaded the original functions.php and indeed the forum started working again. I then proceeded to go through the process of modifying the functions.php file again double and triple checking eachtime that the changes I made were absolutely correct. However, when I uploaded the file again the error I posted above immediately reappeared.
Maybe someone could attach a copy of their working modified functions.php file so I can take a look? |
i havn't done it yet so can't help.
You are using the correct version of vb for the hack, release candidate 1. I could not tell from your forums as the version number is not there. |
Quote:
Quote:
It currently reads Code:
find_emails($from, sub { my($e,$orig) = @_; $email = $e->format; } ); Let me know what happens. |
Quote:
|
I've checked the instructions and it works for me. Not what you wanted to hear but it does :)
You might want to re-check the two edits in the deletethread() and deletepost() functions. The edits replace the closing brace with another line of code AND a closing brace. Make sure you don't have two closing braces in there. |
Thanks your solution worked for me. :D I created a new category forum called "usenet". Created the groups I wished to display on our VB. Ran the perl script, it connected fine, reported downloading all the messages fine, and disconnected fine. However, when I view our forum homepage the newsgroups are not showing up at all.
Should the newsgroup automatically appear under the chosen category when it's created in admin? Any ideas? |
All times are GMT. The time now is 12:29 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|