Advertisement:

Author Topic: No Verification images  (Read 3656 times)

Offline Kreator

  • Jr. Member
  • **
  • Posts: 225
  • Gender: Male
    • Anim8orWorld on Facebook
    • Anim8orWorld
No Verification images
« on: September 05, 2011, 10:39:17 AM »
I wondered why nobody is registering on my Forum, the images for the Verification have mysteriously dissappeared, although You can still listen to them haha!!


Anybody know where these are stored??


 

Offline Angelina Belle

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,586
Re: No Verification images
« Reply #1 on: September 19, 2011, 02:47:31 PM »
In the short term, you could turn off CAPTCHA, but use verification questions.
In the meantime, I will try to get someone who understands this issue to look at your question.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Offline IchBin™

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,115
  • Gender: Male
  • I don't speak German.
Re: No Verification images
« Reply #2 on: September 19, 2011, 03:04:43 PM »
Need to see a link to your site. If you don't want it public, send it to me via PM.

The images are in the default theme directory in a folder called fonts. But often times mods installed can cause problems too.
IchBin™        TinyPortal
Coding Guidelines       

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,739
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: No Verification images
« Reply #3 on: September 20, 2011, 02:06:42 AM »
dotan8 seems to have a virus infection....
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: No Verification images
« Reply #4 on: September 20, 2011, 06:08:22 AM »
If it is animanon than remove the three tabs at the beginning of...maybe index.php?

You should have something like:
Code: [Select]
<?phpwhile you must have:
Code: [Select]
<?php


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,739
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: No Verification images
« Reply #5 on: September 20, 2011, 06:17:16 AM »
When I checked out those sites in the OPs sig - Animanon seemed to work just fine,
but dotan8 caused my AV to go crazy... So I'd guess there's something inserted in the dotan8 files, causing JS to misbehave on that site...
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: No Verification images
« Reply #6 on: September 20, 2011, 06:51:08 AM »
Well, I disabled the antivirus (and javascript) and dotan8 doesn't even have a forum as far as I can see...there was one a month ago according to google cache, but now is gone.

While going at http://www.animanon.com/Forum3/index.php?action=verificationcode the image is broken. That's why I suggest to check for those tabs, maybe he disabled the image verification since it was not working properly. ;)


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline Kreator

  • Jr. Member
  • **
  • Posts: 225
  • Gender: Male
    • Anim8orWorld on Facebook
    • Anim8orWorld
Re: No Verification images
« Reply #7 on: September 21, 2011, 08:40:49 AM »
Sorry Guys, There is no Forum on Dotan8 somebody has been messing with the html Files and the Site is parked, I have solved the verification Problem with Recapcha , don`t understand the          <?php bit    theres only one opening and a closing one at the end of the index.php file.

 

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,491
    • ApplianceJunk.com
Re: No Verification images
« Reply #8 on: September 21, 2011, 09:02:18 AM »
Had the same problem pop up in my forum yesterday and spent a lot of time finding the problem, but with the help of some other SMF members we got it. :)

http://www.simplemachines.org/community/index.php?topic=453072.msg3165413#msg3165413

The verification image seems to have stopped working over night when no changes had been made.

Offline Angelina Belle

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,586
Re: No Verification images
« Reply #9 on: September 21, 2011, 09:20:56 AM »
ApplianceJunk, Thanks for the link to your topic.
This was tough for ApplianceJunk, too.
But it seems like, overnight, a bunch of his files were affected by extra carriage returns after the ?>
This caused the problem.
I do not understand whether the files got changed overnight, or his server suddenly got picky about the extra carriage returns overnight.

In any case, he solved the problem by manually editting all the files in his favorite code-ready editor.
 
It sounds like you may be in the same boat.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,491
    • ApplianceJunk.com
Re: No Verification images
« Reply #10 on: September 21, 2011, 09:39:44 AM »
Quote
ApplianceJunk, Thanks for the link to your topic.

My pleasure...

I'm still trying to learn just why it happened.

The same spaces show up on my test site I run on a local server, yet the registration verification image shows up on the test site just fine.

Seems to me something changed on the server side over night, but when I contacted my host they said no changes had been made.

I may play around with a fresh install of 2.0.1 and watch for the extra spaces to show up as I install mods I use, just for the fun of it. :)

Edited to add: I realise too regardless of if any changes took place on the server side the space should not be there and I don't believe any changes on the server side caused the spaces.

Also note, it seemed the edit to the index.template.php took care of the registration verification image problem right away. I would edit that one first just to see and then repair the other files.


« Last Edit: September 21, 2011, 09:46:38 AM by ApplianceJunk »

Offline Angelina Belle

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,586
Re: No Verification images
« Reply #11 on: September 21, 2011, 09:45:30 AM »
The change could be as subtle as a single setting, I suppose. Or even a change in the user'your .htaccess file, or other setup-and-initialization files. Or setting changes you may have made from your control panel.

How they got there -- could have something to do with the extract-and-upload method used to install SMF in the first place.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,491
    • ApplianceJunk.com
Re: No Verification images
« Reply #12 on: September 21, 2011, 09:47:55 AM »
The change could be as subtle as a single setting, I suppose. Or even a change in the user'your .htaccess file, or other setup-and-initialization files. Or setting changes you may have made from your control panel.

How they got there -- could have something to do with the extract-and-upload method used to install SMF in the first place.

So I may never learn why? lol...

Offline Angelina Belle

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,586
Re: No Verification images
« Reply #13 on: September 21, 2011, 10:03:58 AM »
You could experiment. You could look unpack a zip file on your PC and see if you  immediately get the extra carriage return.
If so, maybe you want to use different settings on your zip extractor.  Or use a different one.
But that seems implausible -- only SOME of your files were affected.

Perhaps some server setting caused it, when the files were written or editted. You will probably never know.
WHY the server never cared about them before, but does now -- you will probably never know.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,491
    • ApplianceJunk.com
Re: No Verification images
« Reply #14 on: September 21, 2011, 10:15:17 AM »
I hate not knowing, lol..
Even if I don't figure out why I may learn something new along the way. :)

Offline IchBin™

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,115
  • Gender: Male
  • I don't speak German.
Re: No Verification images
« Reply #15 on: September 21, 2011, 10:36:13 AM »
Did you happen to edit any of the files with those extra spaces or lines? I've seen editors that don't handle the line endings properly add the extra spaces/lines.
IchBin™        TinyPortal
Coding Guidelines       

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,491
    • ApplianceJunk.com
Re: No Verification images
« Reply #16 on: September 21, 2011, 10:48:36 AM »
Did you happen to edit any of the files with those extra spaces or lines? I've seen editors that don't handle the line endings properly add the extra spaces/lines.

Can't say I have never edited any of them, but I know that I never edited recaptchalib.php and it got uploaded after the problem showed up because the recaptchalib.php file was from the recaptcha mod I installed so I could use it well I tried to repair the problem with the other registration verification image.

Now I wonder if this problem will show up anytime I install a mod?

Edited to add: sorry IchBin if your question was not for me, as this is not my thread.

Offline IchBin™

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,115
  • Gender: Male
  • I don't speak German.
Re: No Verification images
« Reply #17 on: September 21, 2011, 10:51:06 AM »
Well I suppose it could be that the file currently has windows formatted line endings. And when put onto a server (linux) those line endings are treated differently. Maybe test it by taking the recaptchalib.php file and converting the line endings to linux (notepad++ does this), then install that mod into a test install and see if the same problem occurs.
IchBin™        TinyPortal
Coding Guidelines       

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,491
    • ApplianceJunk.com
Re: No Verification images
« Reply #18 on: September 21, 2011, 11:03:29 AM »
Well I suppose it could be that the file currently has windows formatted line endings. And when put onto a server (linux) those line endings are treated differently. Maybe test it by taking the recaptchalib.php file and converting the line endings to linux (notepad++ does this), then install that mod into a test install and see if the same problem occurs.

I run a test site with win xp and WAMP and another test sit on my mac with MAMP.
I run the file_check.php on both test sites yesterday and the extra line spaces after ?> showed up on both test site in a lot of files, yet the verification image still worked on each site. But then nether test site had a problem with the index.template.php not ending in ?> like so many other files did.

Both sites run SMF 2.0 and I use them basically to play around with mods before deciding if I want to try them on my live site.

It's like over night the index.template.php on my live site got the extra line space added after the ?> for some reason.


Offline Angelina Belle

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,586
Re: No Verification images
« Reply #19 on: September 21, 2011, 11:53:27 AM »
Or else, over night, the server started caring...
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor