change msg file type
change msg file type
hello,
if the msg file type was changed from .html to say .php would it make the pages dynamic?
if the msg file type was changed from .html to say .php would it make the pages dynamic?
[b][color=red][url=http://ilumu.com]UK Website Design Specialists - ILUMU.COM[/url][/color][/b]
It should, give it a try.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
i've tried changing html tp php in settings,
but instead of linking to the message, the title directs to a pop-upm, which when open reads "A file permissions error has occurred. Please check the permissions on the script and the directory it is in and try again."
i have followed all permissions instructions, and it works fine for html
but instead of linking to the message, the title directs to a pop-upm, which when open reads "A file permissions error has occurred. Please check the permissions on the script and the directory it is in and try again."
i have followed all permissions instructions, and it works fine for html
[b][color=red][url=http://ilumu.com]UK Website Design Specialists - ILUMU.COM[/url][/color][/b]
It's possible your host doesn't allow PHP scripts in a folder with chmod 777?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
hmmm, it's very strange because it works perfectly with html, but i only get the function errors when changed to php. i'm pretty sure it's not a host problem, as they pretty much allow everything, so any other thoughts? thanks!
[b][color=red][url=http://ilumu.com]UK Website Design Specialists - ILUMU.COM[/url][/color][/b]
Can you copy/paste the exact error(s) you get (or post a link to a test php file), might give us a better idea of what's going on.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
it works fine there, until i CHMod count.txt and threads.txt (from 644) to 666 the msg folder to 777 as required, then i get the same problem as before... so it does seem like my host
i'm guessing everything would work if i left CHMod as 644, but would that be inadvisable, due to vunerabilities?
is there another extension i could try which might work? asp, shtml?
i'm guessing everything would work if i left CHMod as 644, but would that be inadvisable, due to vunerabilities?
is there another extension i could try which might work? asp, shtml?
Last edited by icepack on Mon Apr 21, 2008 5:12 pm, edited 1 time in total.
[b][color=red][url=http://ilumu.com]UK Website Design Specialists - ILUMU.COM[/url][/color][/b]
shtml should work fine under 777. However, if it works fine when you have files on 644 and msg folder on 755 you can just leave it like that, it won't make it any more vulnerable.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
Yes, but not quite like PHP.
http://en.wikipedia.org/wiki/Server_Side_Includes
http://www.google.com/search?hl=en&q=ssi+tutorial
http://www.google.com/search?hl=en&q=shtml+tutorial

http://en.wikipedia.org/wiki/Server_Side_Includes
http://www.google.com/search?hl=en&q=ssi+tutorial
http://www.google.com/search?hl=en&q=shtml+tutorial

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


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
sorry klemen, more bad news...
i've noticed my mboard is not automatically deleting the msg when the limit set was reached. i have tried to delete it myself by using the red cross, but i get the following error:
Warning: unlink(msg/273.shtml) [function.unlink]: No such file or directory in .....
Can't delete this post, access denied or post doesn't exist!
i think the reason behind is because i recently changed the extension from .html to .shtml, and the old msg should all be .html, but it thinks they are .shtml
i've noticed my mboard is not automatically deleting the msg when the limit set was reached. i have tried to delete it myself by using the red cross, but i get the following error:
Warning: unlink(msg/273.shtml) [function.unlink]: No such file or directory in .....
Can't delete this post, access denied or post doesn't exist!
i think the reason behind is because i recently changed the extension from .html to .shtml, and the old msg should all be .html, but it thinks they are .shtml
[b][color=red][url=http://ilumu.com]UK Website Design Specialists - ILUMU.COM[/url][/color][/b]
Yes, unfortunately that happens if you change message type in the middle of posts (and MBoard has no database with old name stored). Try changing extension back to html, delete old posts, then change back to shtml.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
hi klemen,
i had a feeling that was the issue. would this work:
delete all old html files manually (i.e. relevant thread and msg files) via ftp software, so that onlt shtml files are left. then if the new limit was reached (e.g. 50) would it then automatically delete them as before.
i had a feeling that was the issue. would this work:
delete all old html files manually (i.e. relevant thread and msg files) via ftp software, so that onlt shtml files are left. then if the new limit was reached (e.g. 50) would it then automatically delete them as before.
[b][color=red][url=http://ilumu.com]UK Website Design Specialists - ILUMU.COM[/url][/color][/b]
That would work, but you'd have links to non-existent files still in your threads.txt file.
You can try two things instead:
1. rename all .html files to .shtml in your msg folder and inside threads.txt change all .html to .shtml then try manually deleting files (open post and click the red X button)
- or -
2. as suggested before try changing extension back to html (in settings.php), delete old posts using the red X, then change back to shtml in settings.php.
You can try two things instead:
1. rename all .html files to .shtml in your msg folder and inside threads.txt change all .html to .shtml then try manually deleting files (open post and click the red X button)
- or -
2. as suggested before try changing extension back to html (in settings.php), delete old posts using the red X, then change back to shtml in settings.php.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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