PhotoPlog

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

Reply
Attention: Last reply in this thread was more than 18 Years ago
 
Thread Tools
  #1  
Old 02-15-2006, 11:39 PM
Apocalypse's Avatar
Apocalypse Apocalypse is offline
Green Plog
 
Join Date: Feb 2006
Location: California
Posts: 7
Gallery: 0
Comments: 0
Default Need help with another problem

Fatal error: Unknown function: imagetypes() in /home/u4/curlynerd/poweroftheprophecy.com/html/photoplog/functions.php on line 44

Help please?

Thanks
Reply With Quote
  #2  
Old 02-16-2006, 12:19 AM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

Check that you have the GD library installed correctly: http://www.boutell.com/gd/

In EasyPHP, go to configuration, PHP extensions, activate php_gd2, and then restart.
__________________
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 02-16-2006, 12:37 AM
Apocalypse's Avatar
Apocalypse Apocalypse is offline
Green Plog
 
Join Date: Feb 2006
Location: California
Posts: 7
Gallery: 0
Comments: 0
Default

How do I install GD? It's not installed.
Reply With Quote
  #4  
Old 02-16-2006, 12:55 AM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

Chances are that you already have GD, if you are using PHP 4.3 or above, so you'd just need to enable it. On a *nix system, configure PHP --with-gd and on a Win system, set extension to php_gd2.dll in the php.ini file.

More information can be found at http://www.boutell.com/gd/faq.html (look for the "How do I get GD to work with PHP" FAQ) and at http://www.php.net/manual/en/ref.image.php (look for the Installation section).
__________________
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
  #5  
Old 02-16-2006, 01:00 AM
Apocalypse's Avatar
Apocalypse Apocalypse is offline
Green Plog
 
Join Date: Feb 2006
Location: California
Posts: 7
Gallery: 0
Comments: 0
Default

I don't understand almost anything you just said. Lol. I looked through my database and php_gd2.dll isn't there. I don't think. I'm not quite sure, my webhost has this weird database thing. Sorry
Reply With Quote
  #6  
Old 02-16-2006, 01:05 AM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

'Tis okay, it wouldn't be in your database. Given that you are hosted, you probably aren't allowed to make the necessary modifications to enable GD, so just shoot an email to your host asking them to enable GD.
__________________
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
  #7  
Old 02-16-2006, 01:10 AM
Apocalypse's Avatar
Apocalypse Apocalypse is offline
Green Plog
 
Join Date: Feb 2006
Location: California
Posts: 7
Gallery: 0
Comments: 0
Default

Ok. Thank you.

But if it isn't installed, how would I go about installing it?
Reply With Quote
  #8  
Old 02-16-2006, 01:15 AM
Apocalypse's Avatar
Apocalypse Apocalypse is offline
Green Plog
 
Join Date: Feb 2006
Location: California
Posts: 7
Gallery: 0
Comments: 0
Default

Got it, nevermind
Reply With Quote
  #9  
Old 02-16-2006, 01:17 AM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

On *nix: http://www.php.net/manual/en/ref.image.php#43708
On Win: http://www.php.net/manual/en/ref.image.php#41481
__________________
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
  #10  
Old 02-22-2006, 03:24 PM
oradii oradii is offline
Green Plog
 
Join Date: Feb 2006
Posts: 2
Gallery: 0
Comments: 0
Default

Code:
Content visible to registered users only.
Morgan,

I've read through your instructions, as well as the stuff on boutell.com and php.net, my problem is that whenever php_gd2.dll is enabled, my site no longer works at all, almost like php gets broken.

as soon as I put a ; in front of extension=php_gd2.dll, the site works again no problems.

Any idea why this would be happening? I do not think it has anything to do with your hack, but I can't seem to find the answer anywhere else.
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


All times are GMT. The time now is 09:43 PM.


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