| View previous topic :: View next topic |
| Author |
Message |
webbaldo
Joined: 09 Jul 2007 Posts: 2
|
Posted: Mon Jul 09, 2007 3:47 pm Post subject: BUG FIX: Pics uploaded but not displaying or emailing? |
|
|
Hi there, Ii run apache 2.0.55 and php4.3.1 on win 2k3
Testing your mms server
When I send an mms to my server, it uploads the pic and subject txt file to the root of the mms folder itself, rather than the media folder. Secondly, the index.php page just says No MMS media files present.
Please send an MMS message., even if i manually copy the mms jpgs into the media folder.
Am I just being a spanner and missing something out? |
|
| Back to top |
|
 |
Humpa Site Admin

Joined: 06 Nov 2005 Posts: 10258
|
Posted: Mon Jul 09, 2007 4:09 pm Post subject: |
|
|
I'm not familar with windows servers.
Try reversing the / to a \ (or vice versa) in the config file for $path_to_media |
|
| Back to top |
|
 |
webbaldo
Joined: 09 Jul 2007 Posts: 2
|
Posted: Tue Jul 10, 2007 5:00 am Post subject: |
|
|
hi thanks for the quick reply.
Ive tried that but sadly it doesnt work. Ill keep trying though, I have alot of windows based server stuff which i cant really swap to linux.
Ill keep trying |
|
| Back to top |
|
 |
Humpa Site Admin

Joined: 06 Nov 2005 Posts: 10258
|
Posted: Tue Jul 10, 2007 8:40 am Post subject: |
|
|
Can I see?
I know people use it on a windows server, but I no longer recall if they had to do anything special. |
|
| Back to top |
|
 |
ikurtram
Joined: 14 Jul 2007 Posts: 2
|
Posted: Sat Jul 14, 2007 9:44 pm Post subject: |
|
|
I downloaded and installed Humpa's mms server on my website today. I encountered a similar issue. Images were being uploaded to the website. But the emailing was not working.
I tried to debug it and found a small bug in config.php. I fixed it and everything started to work fine.
The bug:
in config.php, there is a line
| Code: |
| $my_code = "some code" |
it should be changed to
| Code: |
| $my_key = "some code"; |
note the 2 changes:
1. my_code was changed to my_key.
2. Semicolon was added at the end of the line.
I found this when I was testing mail_test.php.
I'm sure others have already pointed out this bug. Humpa, can you please fix this bug or add a sticky describing the bug so that those who are not used to PHP dont get lost in the bug.
Thanks
--
iKurtRam |
|
| Back to top |
|
 |
Humpa Site Admin

Joined: 06 Nov 2005 Posts: 10258
|
Posted: Sat Jul 14, 2007 10:02 pm Post subject: |
|
|
iKurtRam, nice find!!!!!!!!!!!!!
Sorry about that - quite sloppy of me.
I was wondering why my pics from my LG 9900 weren't working anymore - I thought it had something to do with the V02 firmware. But it was simply that I replaced my php mailer class files and I had that special my_code or my_key thing in them, but not in my old config file I was still using. And as soon as I saw your post, it made me think of that.
Anyway, I fixed those two bugs you found, and I uploaded the corrected files.
Thank you so much.
... and I stickied this thread. |
|
| Back to top |
|
 |
ikurtram
Joined: 14 Jul 2007 Posts: 2
|
Posted: Sat Jul 14, 2007 10:33 pm Post subject: |
|
|
Glad I can be of help.
By the way, thanks a lot for putting together your mms pic server script. It is exactly what I was looking for. Appreciate your hard work on the script. Also, keep up your good job on maintaining this forum and answering all our questions. Props . _________________ --
iKurtRam |
|
| Back to top |
|
 |
rodstree
Joined: 03 Feb 2008 Posts: 3
|
Posted: Mon Feb 04, 2008 7:23 pm Post subject: |
|
|
Hi Mike or however you prefer to be addressed
Thanks for activating my account. I have your script installed at www.davis-domain.com/Humpa_MMS and have an LG vx8300 phone. Messages are relayed to email addresses and stored on the server - enough to make it a very nice service. The problems are that the phone always reports a failure and no pictures show on the index page - only file names and error icons. I can select a file and then click where the large picture should be and the photo shows up in another window. I have no objection to your visiting the site if you want.
My web site is the one provided with a domain registeration from GoDaddy. Tech Support tells me that PHP version 5.x is installed and the part of the GD liberary that doesn't require perl is also installed.
Have I told you what my problem is and can I fix it without upgrading my web site hosting plan?
Thanks for whatever diagnosis you have time to provide.
Rod |
|
| Back to top |
|
 |
Humpa Site Admin

Joined: 06 Nov 2005 Posts: 10258
|
Posted: Mon Feb 04, 2008 7:35 pm Post subject: |
|
|
The thumbnails are displayed using a php script called phpThumb
What it does is resizes the original image to a thumbnail on the fly, and saves a cache of it so that it doesn't have to resize on the fly the next time.
phpThumb is pretty handy because you just pass it the parameters right in the url (like the width of the thumbnail you want displayed, and the location of the image file).
The problem lies with sites that put banners up - godaddy is trying to put a banner on every call to phpThumb.php script, which isn't really a page at all but an image rendering script.
Even if you try to just render one image, you can see that godaddy's banner breaks it:
http://www.davis-domain.com/Humpa_MMS/phpThumb.php?src=media/20080204142140.jpg&w=100
Maybe they can turn off the banner feature for the phpThumb.php script - it is not an unpopular script - they can google it and see. I didn't write it, I just use it. |
|
| Back to top |
|
 |
|