vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Cron job: Prune forums (https://vborg.vbsupport.ru/showthread.php?t=48827)

jamoss 04-11-2003 03:47 PM

Thanks, Ryan!

You can run the script manually from the browser to see if it's working for you, but note that you will not receive any output in the browser. When it's done, it will either just stop running with a blank screen or say "No Data".

Jennifer.

ImportPassion 04-13-2003 09:44 PM

just a note, foe some reason my global.php had this.
PHP Code:

if ($bbuserinfo[userid]==and $checkpwd) { 

instead of this
PHP Code:

if ($bbuserinfo[userid]==&& $checkpwd) { 

I have 2.2.9. So if you have trouble finding that line, this may be why.

Derek

ryancooper 04-20-2003 12:53 PM

Quote:

04-12-03 at 04:47 AM jamoss said this in Post #11
Thanks, Ryan!

You can run the script manually from the browser to see if it's working for you, but note that you will not receive any output in the browser. When it's done, it will either just stop running with a blank screen or say "No Data".

Jennifer.


Well it works but I get a database error:

Database error in vBulletin Control Panel 2.3.0:

Invalid SQL: DELETE FROM searchindex WHERE wordid IN (0) AND postid=
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

mysql error number: 1064

Date: Sunday 20th of April 2003 08:51:59 AM
Script: http://www.talkdisney.com/forums/for...cron_prune.php
Referer:

could this be because i emptied my searchindex to save space?

ImportPassion 05-22-2003 10:06 AM

any idea why I get this when trying to run this on command line

[root@srv1 forums]# php -q /home/virtual/site1/fst/var/www/html/forums/admin/cron_prune.php

Warning: main(./config.php) [http://www.php.net/function.main]: failed to create stream: No such file or directory in /home/virtual/site1/fst/var/www/html/forums/admin/global.php on line 96

yet if I go direct to the admin dir and run the script w/o the whole path but with just the file, it works no prob.

D

jamoss 05-22-2003 02:00 PM

look in global.php and see what it's trying to do on line 96.

tpearl5 07-04-2003 05:51 AM

Just what I needed! Thanks! I think there's a lot of people that are looking for something like this but didn't type in the right search terms to find it. Works great in combination with the newsgroup hack for deleting old threads that can take up extra space. :)


All times are GMT. The time now is 03:23 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02021 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete