hellkvist.org Forum Index hellkvist.org
Discussions about the free software on hellkvist.org
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PHP < 4.2

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    hellkvist.org Forum Index -> MMS Diary
View previous topic :: View next topic  
Author Message
martijnw



Joined: 20 Jan 2004
Posts: 1

PostPosted: Tue Jan 20, 2004 5:50 pm    Post subject: PHP < 4.2 Reply with quote

Hi,

I've been testing MMS Diary with my SonyEricsson T610 and a server running PHP 4.3 incl. GDLib and everything works fine Very Happy

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
View user's profile Send private message
Peffis
Site Admin


Joined: 09 Sep 2003
Posts: 324
Location: Sweden

PostPosted: Thu Jan 22, 2004 2:09 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
martijn
Guest





PostPosted: Thu Jan 22, 2004 5:29 pm    Post subject: Great! It works for me now! Reply with quote

Thanks alot for the solution!
Back to top
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    hellkvist.org Forum Index -> MMS Diary All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group