Script Timeout / Copyright Problem
Script Timeout / Copyright Problem
i'm running my webserver and my shoutcast station off my own computer. When i configure RTB to output to the default "catcher.php" when it's located in "/rtb/catcher.php" on my website, it says script timeout. When i put "catcher.php" in /cgi-bin/ it gives me an error saying there is a copyright problem in the script and it shuts down RTB immediately. You then have to remove the link from the .ini file to get RTB to start up again. Any suggestions as to how i get it to output to "catcher.php" without any problems? I DO have PHP on my server, i just installed it and it still doesn't work.
How about new problems that crawl out from behind the rock when the other problems are gone? It now says my script is updated, but all it's done is rearranged the text in the config.php and catcher.php files. There's been nothing added to the includes.php file. I'm using the PHPtriad setup, it's parsing the PHP properly, just not writing to includes.php . . . any suggestions for this one?
***
Copyright RadioToolBox.com another great application from Jay Krivanek
Fatal error: Call to undefined function: phpinclude() in c:\apache\htdocs\rtb\catcher.php on line 1
***
And what I mean by rearranging the text, is it makes it into 3 or 4 long lines instead of being neatly organized from top to bottom like it is when it's originaly unzipped
Copyright RadioToolBox.com another great application from Jay Krivanek
Fatal error: Call to undefined function: phpinclude() in c:\apache\htdocs\rtb\catcher.php on line 1
***
And what I mean by rearranging the text, is it makes it into 3 or 4 long lines instead of being neatly organized from top to bottom like it is when it's originaly unzipped
I'm using Win95SE, Apache, and I'm not using the FTP service. I copied new copies of the PHP scripts from the zip file and now it's copying blank variables to the includes.php file, and returning a bad password error to RTB. It's leaving the catcher.php intact, but still stretching out the include.php
This is getting really confusing. I hope it's worth it in the end
This is getting really confusing. I hope it's worth it in the end
- Jay
- Will work for food (Administrator)
- Posts: 3025
- Joined: Mon Jan 14, 2002 12:48 am
- Location: Next Door
- Contact:
hmm windows95 wow, haven't tested it there yet.
Does it give you any parse errors or fatal errors when you go to it in your browser?
is $mode set to flat_file?
I am currently rewriting this entire script as it's grown old and moldy and it does have some bugs. I will see if I can get this out to you in the next day or so.
It will have much better error handling built into to kind of help in these types of situations where Bad password is just not a descriptive enough error. Stay tuned.
Does it give you any parse errors or fatal errors when you go to it in your browser?
is $mode set to flat_file?
I am currently rewriting this entire script as it's grown old and moldy and it does have some bugs. I will see if I can get this out to you in the next day or so.
It will have much better error handling built into to kind of help in these types of situations where Bad password is just not a descriptive enough error. Stay tuned.
- Jay
Okay, i changed
phpinclude("config.php")
to
phpinclude($includes_path."config.php")
And I'm no longer getting the bad password error, but it took all the formatting out of catcher.php again and there's still just blank variables in includes.php because it hasn't output anything there since last night.
phpinclude("config.php")
to
phpinclude($includes_path."config.php")
And I'm no longer getting the bad password error, but it took all the formatting out of catcher.php again and there's still just blank variables in includes.php because it hasn't output anything there since last night.
Okay, i fixed it. There were some things I changed in the catcher.php script as follows.
I changed all the // coments to /* coments just in case it realligned the code for some reason.
to
and in config.php i changed
to
I hope that helps it worked for me. Also, if i get bored again, I may write you a script to output to SQL as well
I changed all the // coments to /* coments just in case it realligned the code for some reason.
Code: Select all
<?phpinclude($includes_path."config.php");
Code: Select all
<?php include("config.php");
Code: Select all
<?php$mode='flat_file';
Code: Select all
<?php $mode='flat_file';
I hope that helps it worked for me. Also, if i get bored again, I may write you a script to output to SQL as well