Quote:
Yesterday at 10:25 PM bandersen said this in Post #17
I am testing this... it worked!!! It's so cool....
My shared server enabled wap for me.
But I also got an error.... when displaying the threads (last.php):
Warning: Cannot modify header information - headers already sent by (output started at public_html/last.php:4) in /public_html/forums/upload/admin/functions.php on line 1581
Warning: Cannot modify header information - headers already sent by (output started at /public_html/last.php:4) in /public_html/forums/upload/admin/functions.php on line 1581
---
then the posts show like they should. I just get this "warning" in between. Thanks for the help!
edit: I changed the index.wml to wap wml and still the same errors. Must the server also change the name in the DirectoryIndex? hope not...
|
When do you get this error? After the Welcome card (in WAPyou have cards not pages...) or right when you get the display?
Also I notice that last.php is in your public_hml folder instead of your forums folder or so it seems.
What you need to do is to have last.php and index.wml in your forums folder.
Perhaps you may get a conflict with index.cgi file. In that case, place index.wml in a separate directory say wap below your main forums directory and edit index.wml line 15 where it says:
Code:
<card ontimer="last.php">
change to:
Code:
<card ontimer="../last.php">
last php must be always in the main directory of your forums i.e. where you have global.php.
Hope you get it working.