News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Cannot Upload Avatars

Started by dtm.exe, March 04, 2005, 08:00:49 PM

Previous topic - Next topic

dtm.exe

HAHA.  I forgot about them too.  BUT...as an administrator, I STILL can't upload my avatar.  I would check my permissions to allow the uploading of files, but administrators have all permissions enabled :-\  Now THAT blosw my mind...

-Dan The Man

sportman3333333

Thats strange, you should wait until someone else get here. I gotta sleep. I dont know anything further.

dtm.exe

OK, thanks for all your help.

-Dan The Man

dtm.exe

OK, I've figured it out.  It's automatically refusing by avatars that I upload that are larger than 100x100 pixels EVEN THOUGH I have the GD Module thing enabled.  Does anone know how to fix that?

-Dan The Man

[Unknown]

GD may not be working properly on your server, or it may be a bug.  Can you post a phpinfo?

What is phpinfo.php?

-[Unknown]

dtm.exe

Here it is.

www.oi-forums.com/phpinfo.php

-Dan The Man

[Unknown]

Quote from: OIDanTheManIO on March 23, 2005, 07:00:32 PM
Here it is.

www.oi-forums.com/phpinfo.php

-Dan The Man

That server does not have GD installed.  You or your host will need to enable it in php.ini.

-[Unknown]

dtm.exe

Quote from: [Unknown] on March 23, 2005, 08:52:27 PM
Quote from: OIDanTheManIO on March 23, 2005, 07:00:32 PM
Here it is.

www.oi-forums.com/phpinfo.php

-Dan The Man

That server does not have GD installed.  You or your host will need to enable it in php.ini.

-[Unknown]

Can you give me what to find in replace in PHP.ini please?

-Dan The Man

[Unknown]

;extension=php_gd.dll

Or it might be:

;extension=php_gd2.dll

Remove the semicolon, save, restart Apache.

-[Unknown]

dtm.exe

Quote from: [Unknown] on March 24, 2005, 11:54:18 PM
;extension=php_gd.dll

Or it might be:

;extension=php_gd2.dll

Remove the semicolon, save, restart Apache.

-[Unknown]

Will this work with PHP 4.3.9?

-Dan The Man

[Unknown]

Yes, I use GD on my Windows development server.  It's the only way to enable it, except by compiling it in manually.

-[Unknown]

dtm.exe

QuoteUnknown(): Unable to load dynamic library './php_gd2.dll' - The specified module could not be found.

That's the error I get when I restart Apache.

-Dan The Man

[Unknown]

You need to set the extensions_dir properly, it's earlier on in the file.  Make sure it's an absolute path to the extensions directory.

-[Unknown]

dtm.exe

OK, what now?  I'm kind of lost.  Can you please tell me what to find and replace if C:\PHP is my PHP directory?

-Dan The Man

dtm.exe

extension_dir = "./"

What do I have to replace that with if my PHP directory is C:\PHP?

-Dan The Man

[Unknown]

extension_dir = "C:/PHP/extensions/"

-[Unknown]

dtm.exe

I do that, restart Apache, and I still get that same error.  I checked C:\PHP and there is no extensions directory listed.  Maybe that has something to do with it?

-Dan The Man

[Unknown]

Well, then, you need to download them from php.net....

http://www.php.net/downloads.php

Make sure to get the zip version.  For more information:

http://unknown.network32.net/tutorial.basic-server

-[Unknown]

dtm.exe

Isn't there a way to just add the extensions manually?  I know that PHP and mySQL and phpMyAdmin are VERY sensative and I don't to risk losing data or my website being down because of a PHP upgrade.

-Dan The Man

Advertisement: