i have almost done but what is this ?

Is message board greying out your hair (at least what's left of it)? Let us help you here
Locked
jabalpurcity

i have almost done but what is this ?

Post 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..
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Guest

Post 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...
jabalpurcity

Post by jabalpurcity »

Is my support session completed ?
i am waiting for help.........
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Locked