PhotoPlog

Go Back   PhotoPlog > PhotoPlog Lite > Troubleshooting & Problems
Screens Demo Purchase Download Register

Reply
Attention: Last reply in this thread was more than 16 Years ago
 
Thread Tools
  #1  
Old 04-08-2008, 01:19 PM
Xotli Xotli is offline
Green Plog
 
Join Date: Apr 2008
Posts: 2
Gallery: 0
Comments: 0
Default Our old friend imagetypes()

Okay, so I know this error typically means that GD is not installed correctly. But here's my question: if vB works with GD (e.g. for captcha), how can it not be installed correctly? I double checked that I'm not using ImageMagick for vB: it's definitely GD. I also checked the gallery/config.php file for extranneous whitespace, but there isn't any (not even a newline after the ?>, even).

I'm pretty sure it was working previously. This is a conversion we're doing, so it's not in actual use, but we had been testing it out, so it must have been working at some point. One possibility for when it got messed up was that I recently upgraded from 3.6.7 to 3.6.9. Not sure how that would impact it, but maybe.

I also was having problems with the captcha in vB (also after the upgrade), which I solved by turning on "safe upload mode". Again not sure if this is in any way relevant, but I thought I'd throw it out there.

Any thoughts?
Reply With Quote
  #2  
Old 04-08-2008, 05:11 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

vB 3.6.8 only checks for the GD imagetypes function when you go to the ACP -> Maintenance -> Rebuild Attachment Thumbnails, and only if you are not using ImageMagick. Similarly, vB 3.7.0 Beta 2 only checks for the GD imagetypes function when you go to the ACP -> Maintenance -> Rebuild Attachment Thumbnails/Rebuild Custom Avatar Thumbnails/Rebuild Avatar Thumbnails, and only if you are not using ImageMagick. The CAPTCHA image is something different.

The GD imagetypes function is part of GD so if you get a "undefined function imagetypes" or "unknown function imagetypes" message, the function cannot be found: something for your host to address. Also, PhotoPlog requires that safe mode be off to fully function. As you are now running PHP in safe mode, it is unlikely that you will be able to upload files.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #3  
Old 04-08-2008, 07:38 PM
Xotli Xotli is offline
Green Plog
 
Join Date: Apr 2008
Posts: 2
Gallery: 0
Comments: 0
Default

Code:
Content visible to registered users only.
Hmmm ... well, I tried that, but it says I haven't set any attachments to be thumbnailed. I think we've got attachmets turned off somehow, although that error message isn't exactly true, since if I go where it tells me, several of those categories have a "Yes" in the "Thumb" column.

The reason I thought the captcha was using GD is because of the vB setting that specifically asks me how to create reg images, which is set to "GD (True Type Fonts)".

Code:
Content visible to registered users only.
Oh ... when I was searching, I found a thread from someone who got that message and it turned out to be extra whitespace in his/her config.php, so I guess I was hoping that I might get lucky too. But this is all irrelevant, I suppose, because

Code:
Content visible to registered users only.
and I can't make the captcha work without safe mode (it says it can't create temporaray files). So I suppose I'm just hosed all around. <sigh>
Reply With Quote
  #4  
Old 04-08-2008, 10:59 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

The CAPTCHA image is using GD, but it doesn't test whether the GD imagetypes function is available, i.e., you shouldn't see "undefined function imagetypes" or "unknown function imagetypes" messages with the CAPTCHA image. IIRC with PHP 6 safe mode is a thing of the past, but there are enough hosts who still set safe mode to on that, if I have the time, I think I'm going to throw in a safe mode option relatively soon. Probable, but no promises.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
Reply

« Previous Thread | Next Thread »

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
is it possible to "send a picture to a friend" ? eden Pre-Sale Questions 5 09-09-2007 10:19 PM


All times are GMT. The time now is 07:00 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.