| View previous topic :: View next topic |
| Author |
Message |
martijnw
Joined: 20 Jan 2004 Posts: 1
|
Posted: Tue Jan 20, 2004 5:50 pm Post subject: PHP < 4.2 |
|
|
Hi,
I've been testing MMS Diary with my SonyEricsson T610 and a server running PHP 4.3 incl. GDLib and everything works fine
However, my own server runs Debian (stable) with PHP 4.1.2 incl. GDLib and, as expected, mms diary does not work. I've been commenting-out some sections in the code, but my phone keeps returning 'message corrupted blah blah'. I read in the installation/faq that with a little tweaking the script could be adapted to older versions of PHP.
But I don't know where to go tweaking... Could anybody give me a hint where to search for the solution? (Because i'm too impatient to wait for the next stable version of Debian) |
|
| Back to top |
|
 |
Peffis Site Admin
Joined: 09 Sep 2003 Posts: 324 Location: Sweden
|
Posted: Thu Jan 22, 2004 2:09 am Post subject: |
|
|
Hi,
There are a few things with php 4.1. One thing for instance is that the mkdir command in send.php requires a second paramenter. So change that one into mkdir( $fname, 0775 ) or something like that.
Then there is some weirdness in home relative paths are are treated when executing external programs (such as the amr converter if you install that). That problem I have never bothered to look into though soyou might have to live without conversion.
A good aid in telling what goes wrong in your script is to use the poster script poster.php which is posted here at this forum by me several times.Search for poster.php here. With that you can post from your computer and see the output from the server.Much more helpful than the odd "network error"or similar that the phone outputs.
/S |
|
| Back to top |
|
 |
martijn Guest
|
Posted: Thu Jan 22, 2004 5:29 pm Post subject: Great! It works for me now! |
|
|
| Thanks alot for the solution! |
|
| Back to top |
|
 |
|