Page 1 of 1

i have almost done but what is this ?

Posted: Thu Jun 23, 2005 6:55 pm
by jabalpurcity
Script URL: http://in.jabalpurcity.com/cgi-bin/mb/index.htm
Version of script: 1.21
Version of PHP: 4.x
Hosting company:
Have you searched THIS FORUM for your problem:
(if not please do before posting)
If so, what terms did you try: headers, information

Write your message below:

we i have a error message coming up on my page i have installed with utmost care my directory can be found at http://http://in.jabalpurcity.com/cgi-bin/mb/

and the board runs from index.htm.
i dont know how to describe it..
every thing else is working fine
Thanks in advance..

Posted: Thu Jun 23, 2005 8:49 pm
by Klemen
Hi,

You seem to have edited the script, this code is NOT included by default:
#!/usr/bin/php

It is probably located outside <?php ?> tags and breaks the code...

Please try by uploading the EXACT DOWNLOADED CODE, I do not provide support for changes YOU make to MBoard.

Regards

Posted: Thu Jun 23, 2005 9:11 pm
by Guest
Klemen Stirn wrote:Hi,

You seem to have edited the script, this code is NOT included by default:
#!/usr/bin/php

It is probably located outside <?php ?> tags and breaks the code...

Please try by uploading the EXACT DOWNLOADED CODE, I do not provide support for changes YOU make to MBoard.

Regards
I have edited only the top line as following...
first i have added your script as it is which gave this error....

Error Message: Exec format error
Error Number: 8

This message usually indicates there is a problem with the script itself. Often this indicates either that the #! line of the script is incorrect, or the script was uploaded in binary mode instead of ascii mode. Check to make sure that the script does not have control-M's at the end of every line. That will prevent it from executing. An easy fix that takes care of this most of the time is to put '#!/.../perl --' instead of '#!/.../perl' on the first line of the script. This is typically a problem if the script was edited or uploaded from a DOS/Windows/Macintosh station to a unix based server.

so i posted a #!/usr/bin/php -- at the top and scripts start working at the top


my webhost is www.memebot.com
i also like to know what should be the chmod value ofmboard.php i am not a computer expert just a little copy paster :D so dont know in detail...

Posted: Sat Jun 25, 2005 6:56 pm
by jabalpurcity
Is my support session completed ?
i am waiting for help.........

Posted: Sat Jun 25, 2005 7:33 pm
by Klemen
jabalpurcity wrote:Is my support session completed ?
i am waiting for help.........
MBoard is a FREE script and no support is guaranteed. I provide support on voluntary basis when I have time so please respect that and try to be patient, I do read all posts.

The problem is that the script has been edited and it sends out headers before it can send out Session headers. Paste the top 5 lines of your EDITED mboard.php script here, the error should be there.

Also try installing the script OUTSIDE your cgi-bin folder (the ORIGINAL code, without #!/usr/bin/php).

As for CHMOD - the readme.htm says you should CHMOD threads.txt and counts.txt to 666 (rw-rw-rw). No other files need CHMOD and shouldn't be CHMOD-ed.

Hope this helps.

Regards