cgrimes985 Posted March 8, 2022 Posted March 8, 2022 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 Quote
ags_cs4 Posted March 8, 2022 Posted March 8, 2022 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 Quote
Uridium Posted March 8, 2022 Posted March 8, 2022 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 Quote
cgrimes985 Posted March 10, 2022 Author Posted March 10, 2022 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 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. Quote
Uridium Posted March 10, 2022 Posted March 10, 2022 what is your site URL we could be going back and forth on this one all day trying to help Quote
Uridium Posted March 10, 2022 Posted March 10, 2022 (edited) 3 hours ago, cgrimes985 said: criminal-nations.com 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 Edited March 10, 2022 by Uridium added extra info Quote
cgrimes985 Posted March 10, 2022 Author Posted March 10, 2022 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/> Quote
Uridium Posted March 10, 2022 Posted March 10, 2022 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 Quote
cgrimes985 Posted March 10, 2022 Author Posted March 10, 2022 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 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.