![]() |
PHP Code:
|
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.] |
I tried to use: /usr/bin/php -q /path/to/htdocs/newsfeed.cgi
It seems to execute the file now, but I get a parse error... --------- <br> <b>Parse error</b>: parse error in <b>/home/********/********/******/newsfeed.cgi</b> on line <b>73</b><br> --------- Line 72, 73, 74: } else { $replytext = "replies \\?; ---------- Thanks for your help. |
Why did you change this from newsfeed.php to newsfeed.cgi? Does your PHP parse CGI files?
|
I changed it because of what PPN said..
Quote:
Quote:
*shrug* <- feeling sad, finally get cron to do something.. now this error(hehe) Thanks for your fast reply.. ;) |
Ah, ok. I didn't see that. Doesn't your server have lynx installed?
|
Yes it does, but when I use it.. (lynx - dump or lynx)
I get this error: Your terminal lacks the ability to clear the screen or position the cursor. :( |
Quote:
PPN - Good work :) |
I have tried:
-------------------------------------------------------------------------------- root /home/********/*******l/******/newsfeed.php error: /bin/sh: root: command not found ------------------------------------------------------------------------------- I have no clue why but I tried: GET http://forums.yourhostsucks.com/newsfeed.php Error: <br> <b>Parse error</b>: parse error in <b>/home/yourhost/public_html/forums/newsfeed.php</b> on line <b>72</b><br> ------------------------------------------------------------------------------- /usr/bin/php -q /home/******/*********/*******/newsfeed.cgi Error: <br> <b>Parse error</b>: parse error in <b>/home/********/********/******/newsfeed.cgi</b> on line <b>73</b><br> Note: it is line 73 because I added #!/usr/bin/php at the top. --------------------------------------------------------------------------------- I tried a couple others with no luck as well.. :) EX: GET http://forums.yourhostsucks.com/newsfeed.php > /dev/null Tried to use nice, etc.. Any Ideas? :) Thanks! |
[QUOTE]Originally posted by YourHostSucks
I have tried: -------------------------------------------------------------------------------- root /home/********/*******l/******/newsfeed.php error: /bin/sh: root: command not found |
All times are GMT. The time now is 02:01 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:
|