Jump to content
MakeWebGames

Recommended Posts

Posted

I'm having an issue with captcha images not showing, after a move from one server to another with the same hosting company, and the hosting company is saying i need a developer to look at the code.  Last time I had this issue it ended up being a permissions issue, but the host company is saying they checked and it is not the problem this time.  Willing to pay for services.  Thanks in advance 

Posted

is there any error?

if no try to see the link to the captcha image (like right click and open image in new tab) that will most likly give an error if theres any thing

Posted
8 hours ago, cgrimes985 said:

I'm having an issue with captcha images not showing, after a move from one server to another with the same hosting company, and the hosting company is saying i need a developer to look at the code.  Last time I had this issue it ended up being a permissions issue, but the host company is saying they checked and it is not the problem this time.  Willing to pay for services.  Thanks in advance 

I had this issue on Godaddy they had GD imaging turned off

Posted
On 3/8/2022 at 1:32 PM, ags_cs4 said:

is there any error?

if no try to see the link to the captcha image (like right click and open image in new tab) that will most likly give an error if theres any thing

image.png.b7d78156757ded87e48a890ecad90344.png

when i right click on the image and select open in new tab i get this:  

404 Not Found


The requested URL /valid8/captcha_1800.php?bgcolor=70039 was not found on this server.
The file has either been moved or deleted, or you entered the wrong URL or document name.
Look at the URL. If a word looks misspelled, then correct it and try it again.
If you clicked a link on the site that brought you here, please report the broken link to admin.
Return to: XXXXXXXXX 

 

the host company said something about the file not being created?:  This is from the hosting company:  

"Alright, so after reading over the ticket notes, and taking the time to understand what's going on here, I believe that our main issue is that the captcha_XXXX.php files simply aren't being generated as they should be.

Now I'm not a developer, and I want to make that crystal clear up front, however from what I'm seeing in how this site works, it seems that this cron job is supposed to make a curl request (with a specific code) every 15 minutes that's then supposed to generate a new file called captcha_XXXX.php (based on the current time):

I did check the permissions and ownerships on the relevant files as mentioned from the last messages you included (since it seems that was the problem before), however those all look fine, and this doesn't appear to be a file permissions or ownership issue this time around.

you'll need to consult your developer to figure out why those captcha_XXXX.php files aren't being generated, as troubleshooting code falls outside the scope of what we're able to support.
 

Again, thanks in advance.

Posted
3 hours ago, Uridium said:

your issue is your capture URL of >> valid8/captcha_700.php?bgcolor=94449 needs to be changed to

valid8/captcha.php?bgcolor=94449

 

So change valid8.php and find  mention of captcha_700.php and change to captcha.php and you should be good to go

 

so when i look in valid8.php  i dont see anything mentioning captcha_700 ?   am i misunderstanding something? 

i see these lines that contain "captcha"  

$_SESSION['captcha']="".$right."";
$bg="".mt_rand(5000,9999)."9";

print "<center><h3>User Validation</h3><hr />
<br/>Please enter the 5 digit number shown  in the picture below<br/>
If you can't make out the numbers, hit refresh to get a new picture.<br/>
<img src='valid8/captcha_".$vtime.".php?bgcolor=$bg' /><br/>
Posted

this part is the image

<img src='valid8/captcha_".$vtime.".php?bgcolor=$bg' /><br/>

The $vtime for some reason is trying to find a php file with random numbers which i cant see how that would work

Can you send me the valid8.php file

 

Posted
7 minutes ago, Uridium said:

this part is the image

<img src='valid8/captcha_".$vtime.".php?bgcolor=$bg' /><br/>

The $vtime for some reason is trying to find a php file with random numbers which i cant see how that would work

Can you send me the valid8.php file

 

sent in a private message

Thank you kindly for your help Uridium.  What you had me do fixed the issue and it is working.  Again, i thank you.  

Crystal

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...