Error with captcha on registration

Started by Cloudmaster, July 07, 2020, 01:20:35 PM

Previous topic - Next topic

Cloudmaster

Hi,

Version 2.0.17, though this problem existed in 2.0.16

Nobody can register on my forum any more due to the captcha image being a broken link.  Any ideas how to fix?  Here's the error it generates -

https://www.airseatac.net/forum/index.php?action=verificationcode;vid=register;rand=f36264f0c7d6836a54a97c7f962d465e
2: imagegif(): Unable to open temporary file
File: C:/FileStore/Website/forum/Sources/Subs-Graphics.php
Line: 1007

Thanks for looking

Arantor

The host needs to fix it; there's an issue with PHP not being able to make temporary files, which usually means /tmp is misconfigured.

Cloudmaster

I am the host!!  I just don't know what I'm supposed to be fixing

Arantor

You mean you're the server administrator?

Well, what's the temp folder configured in PHP's ini file? Does that have enough space?

vbgamer45

I have seen this on windows servers. Sometimes i switched to imagepng/jpg
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Arantor

Well, the server identifies itself as ManCave 1.0, with an X-Powered-By of Superman, so it's... probably less likely to be Windows.

vbgamer45

Was going based on the filepath above of C:/FileStore/Website/forum/Sources/ I would check your php temp path is writable.
You can check with this function it looks like to find out the path https://www.php.net/manual/en/function.sys-get-temp-dir.php
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Advertisement: