Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-12-11 09:49:27

gmorgan
Member
Registered: 2007-11-26
Posts: 42

Resize thumbnails options dissapeared

I think problems like to follow me around. For some reason the resizing of thumbnails options has now gone from within the create/edit images. This again is only happening on our windows server as opposed to my local mac. I’ve tried a few things but with little luck. I know its not a big deal but its tidier to have all the thumbnails the same size. Windows servers I dunno!

Last edited by gmorgan (2007-12-11 09:49:46)

Offline

#2 2007-12-12 02:29:58

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Resize thumbnails options dissapeared

Diagnostics results.

Offline

#3 2007-12-12 05:19:18

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: Resize thumbnails options dissapeared

gmorgan

Your Windows install is missing the GD libraries — AFAIK, you’ll need to install those before TxP can do the thumbnail resizes. Look carefully at your posted Windows diagnostics and you’ll see that it says “GD Image Library: unavailable”

Mary

The diagnostics from that server were posted in this thread recently.


Steve

Offline

#4 2007-12-12 11:00:36

gmorgan
Member
Registered: 2007-11-26
Posts: 42

Re: Resize thumbnails options dissapeared

Hi, I’ve already uncommented the gd2 extension. Looking at my error logs on the server I’m getting the below errors. I’m pretty new at all this so I’m not entirely sure what I have to do. Please help!!!

PHP Warning: PHP Startup: mbstring: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=1\nPHP compiled with module API=20060613, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
PHP Warning: PHP Startup: gd: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=1\nPHP compiled with module API=20060613, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
PHP Warning: PHP Startup: imap: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=1\nPHP compiled with module API=20060613, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
PHP Warning: PHP Startup: ldap: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=1\nPHP compiled with module API=20060613, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0

Offline

#5 2007-12-12 11:30:26

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: Resize thumbnails options dissapeared

gmorgan

I’m not familiar with this, so please wait for a second opinion; but from those messages it sounds like the Php installation isn’t too old (built June 2006) but the modules mbstring, gd, imap and ldap are much older (built Sept 2005) and therefore not compatible.

I’m thinking you might need to re-install php on that box.


Steve

Offline

#6 2007-12-12 11:32:16

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: Resize thumbnails options dissapeared

Can you still use your txp installation? If not then comment out the gd2 module again.


Steve

Offline

#7 2007-12-12 11:41:55

gmorgan
Member
Registered: 2007-11-26
Posts: 42

Re: Resize thumbnails options dissapeared

Do you mean reinstall txp? Funny thing when we installed php some weird messages popped up but it installed ok

Offline

#8 2007-12-12 12:33:55

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: Resize thumbnails options dissapeared

I’m talking about php, not txp.

Funny thing when we installed php some weird messages popped up but it installed ok

Firstly That doesn’t sound too good. There’s definately something fishy going on with that php install and it might explain why you need a 32Meg memory limit too. What were those ‘weird’ messages about?

Secondly Are you absolutely sure that the textpattern diagnostics from your Windows install (which you posted here) match the machine and domain for which you just posted the error logs (posted here)? If so then something is out of whack and php needs to be re-installed.

Here’s why: if your posted textpattern diagnostics are correct, they say that it’s running on php version 5.2.5. Now 5.2.5 is the latest version (only released on 2007-11-08.) Yet your error message says that the api was compiled on 2006-06-13 which is not possible for a 5.2.5 api — unless they’ve invented a time machine or you have a dodgy build of php.

Thirdly Where did you get the copy of php that you installed on that machine? Was it a fresh download from php.net — and did you verify the md5 hash before installing?


Steve

Offline

#9 2007-12-12 12:47:39

gmorgan
Member
Registered: 2007-11-26
Posts: 42

Re: Resize thumbnails options dissapeared

I got the php installer from php.net, I never veriified the md 5 though. I cant remember 100% what the error messeges were but I’m sure it referred to something about the mbstring. I wish we never had a windows server but thats what we have sadly!

Offline

#10 2007-12-12 13:00:30

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: Resize thumbnails options dissapeared

gmorgan

sorry I can’t be of any more assistance on this one. My last offering however: if it’s not a live server, strip off the current php installation, grab a fresh (and verified) php installer from php.net and try again.


Steve

Offline

#11 2007-12-12 15:17:55

gmorgan
Member
Registered: 2007-11-26
Posts: 42

Re: Resize thumbnails options dissapeared

Dude your a genious. I’ve fixed it. looks like when the guy came up and showed me how to install php he downloaded the windows msi but when he installed it it was missing all the extensions as well as a few other dll’s so he copied a folder from his install which must have been older and thats where the problems begun. I’ve now copied the win32 files into the php folder and all is weel. It still needs 36m to render but hey. I’m find you learn more if you do it yourself. I’m so appreciated of you help dude.

Offline

#12 2007-12-12 15:30:32

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: Resize thumbnails options dissapeared

Sounds better. Glad that helped.


Steve

Offline

Board footer

Powered by FluxBB