| View previous topic :: View next topic |
| Author |
Message |
PaulM Guest
|
Posted: Mon Oct 20, 2003 11:58 pm Post subject: MMS Diary 0.95 doesn't work! Try 0.93 instead. |
|
|
Well doesn't work for me anyway. See the postings in MMS Diary help.
I installed:
Peffisaur - worked first time.
MMS Diary 0.95 - Could NOT get working.
MMS Diary 0.93 - Worked first time.
I diffed the files in the Peffisaur and 0.95 release and the only different file was send.php, so seems to me there is a bug in send.php somewhere.....
Comments anyone? |
|
| Back to top |
|
 |
Peffis Site Admin
Joined: 09 Sep 2003 Posts: 324 Location: Sweden
|
Posted: Tue Oct 21, 2003 7:00 am Post subject: |
|
|
0.95 has worked for many people around the world and is working perfectly for me (which is perhaps not so strange considering I wrote it).
Check to see if you have the gd module as I said in the other thread. It is required in 0.95 but not in 0.93.
The exact symptoms you have has been seen when people install MMS Diary 0.95 without gd.
If you want to install gd you just find the appropriate rpm and install it, or if you are blessed with running Debian you simply type apt-get install php4-gd |
|
| Back to top |
|
 |
PaulM Guest
|
Posted: Thu Oct 23, 2003 9:21 pm Post subject: |
|
|
You are of course correct! I do not have GD compiled into php. Sorry for blaming your software when I should RTFM.
No problem for my development server to add GD to php, but unfortunately my web host does not have GD compiled in either.
Now, unless anyone has any bright ideas on 'including' a module type function to be called by the script, or installing the module locally a la Perl modules, then it is no GD for me.
My ISP is the cheap, cheerful, please don't ask us to do anything kind, so asking them nicely for GD is not an option. My alternatives are live without it and cope with 0.93, or take the support out of 0.95, or I'm wishing here - someone has found a way to "include" modules locally in php.
Ideas?
Regards,
Paul. |
|
| Back to top |
|
 |
Peffis Site Admin
Joined: 09 Sep 2003 Posts: 324 Location: Sweden
|
Posted: Fri Oct 24, 2003 12:04 pm Post subject: |
|
|
Hi again Paul,
What you can do is to download version 0.95 and just remove the following lines from config.php:
"image/gif" => array( "thumbnail_hook" ), // Make a thumbnail
"image/jpeg" => array( "thumbnail_hook" ), // Make a thumbnail
"image/png" => array( "thumbnail_hook" ), // Make a thumbnail
(just remove those lines and leave the lines surrounding them as they are)
Then it wont make any thumbnails for big pictures so the page might load slower for you when you view it but it will still work without GD because in MMS Diary thumbnail creation is the only reason why GD is needed (and to convert WBMP to GIF but nobody seem to use WBMP these days).
(just chopping off those lines should work - it would just mean that those hooks will not be applied thus GD is not needed anymore)
Have fun! |
|
| Back to top |
|
 |
Bolanski Guest
|
Posted: Fri Nov 14, 2003 5:25 pm Post subject: How do I check for GD on an external webserver? |
|
|
Hi!
How do I see if i have GD on a webserver that I dont own? Like the one I have my site on, its a external webhosting.
is it possible using phpinfo() or something like that?
/Andy |
|
| Back to top |
|
 |
Bolanski Guest
|
Posted: Fri Nov 14, 2003 5:28 pm Post subject: I think I found it |
|
|
Just found out howto do what i wanted using gd_info() in php should display some info.
/Andy |
|
| Back to top |
|
 |
Peffis Site Admin
Joined: 09 Sep 2003 Posts: 324 Location: Sweden
|
Posted: Fri Nov 14, 2003 6:04 pm Post subject: |
|
|
Yes, that should perhaps work but I think if you don't have gd installed you will just get a lot of "call to undefined function" when you use the gd functions. I think the gd_info will do the same.
phpinfo might list the loaded modules though but I don't remember. It lists so much info.
So the simplest way might be to just use a gd-function (like imagecreate(10,10) for instance) and see if it exists or if you get a call to undefined error message.
/Stefan |
|
| Back to top |
|
 |
|