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)
-   -   VBSyndicate Hack V1 (https://vborg.vbsupport.ru/showthread.php?t=28872)

Steve Machol 10-09-2001 05:38 PM

[QUOTE]Originally posted by smachol
Thanks but I'm still having the same problem. The latest_topics.js file is messed up. After running this, the first line always begins with:

ument.write

...instead of:

document.write

I'm going to check the code again.

[Edit: I checked but can't find any reason for this to happen. Again it's the first line only. All subsequent lines print out fine.]

Steve Machol 10-09-2001 05:46 PM

I temporarily 'fixed' the problem by putting a few spaces in front of 'document.write'

PHP Code:

  fputs($fp"   document.write(......... 

The first line prints out correctly now, while subsequent lines have several spaces in from of them. Nonetheless the resulting .js file seems to display correctly.

I'd still be intersted in knowing why this happened.

Scott MacVicar 10-09-2001 07:04 PM

This is an odd error =/

i got it to work fine on Mandrake and Win2k systems without any problems such as this. I was using PHP4.0.6 in both cases.

Steve Machol 10-09-2001 08:23 PM

Yeah I'm running PHP 4.06 too. Interestingly enough, it is formatted correctly when run from cron. It's only when I run the exact same command from the shell that it chops off the first three characters of the first line.

Very strange!

YourHostSucks 10-11-2001 01:23 AM

*bump* help please... I do not get why this will not work! ;(

Thanks,

Steve Machol 10-11-2001 01:58 AM

[QUOTE]Originally posted by YourHostSucks
*bump* help please... I do not get why this will not work! ;(

Thanks,

YourHostSucks 10-11-2001 02:20 AM

So i have to mail my host and have them set up every cron job? , Why do they give me the option in the control panel to add them if
I can not? *just wondering*.. would seem like I should be able to.

Sorry, I am just very confused..... :(

Steve Machol 10-11-2001 02:44 AM

I honestly don't know why you can't run a cron job. Perhaps this is a problem with your host. All I was pointing out is why you got the error when you ran the command:

root /home/********/*******l/******/newsfeed.php

YourHostSucks 10-11-2001 02:54 AM

Oooo got ya.. can not run the cron job (root) unless you have root access... :) Thanks*

The cron job is running just fine.. but I get those parse errors on line 72.... :(

Steve Machol 10-11-2001 03:10 AM

I wish I could help you. I'm running this with the 'lynx -dump' cron job and it's working great. Here's what I have:

Code:

*/10 * * * * lynx -dump http://*************/newsfeed.php > latest_topics.js


All times are GMT. The time now is 01:54 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
  • Page Generation 0.01245 seconds
  • Memory Usage 1,734KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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