Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: ApplianceJunk on September 20, 2011, 08:36:03 AM

Title: cannot see the picture, that is required to type in the verification... ?
Post by: ApplianceJunk on September 20, 2011, 08:36:03 AM
In all the 4+ years I have been running my forum I think this is a first.
I got this in a email today.

Quotetrying to register.. but cannot see the picture, that is required to type in the verification section
of the registration form.

is it possible to send me the letters so that i may type them in..

Thank you

How could this be?
What should I do?

Thanks,

Edited to add:

I believe it was working yesterday as we had around the normal number of people register yesterday as any other day.

List of our mods...

1.   SMF 2.0.1 Update   1.0   [ Uninstall ]
2.   Online Users Area   1.2   [ Uninstall ]
3.   Show your social networks   3.0   [ Uninstall ]
4.   Contact Page   3.0   [ Uninstall ]
5.   View Only Boards   1.2b   [ Uninstall ]
6.   PM to New Members   1.2   [ Uninstall ]
7.   Treasury   2.10   [ Uninstall ]
8.   Search Focus Dropdown   1.6.1   [ Uninstall ]
9.   Tapatalk SMF 2.0 RC4/RC5/Final Plugin   3.0.0   [ Uninstall ]
10.   Buy me a beer   1.0   [ Uninstall ]
11.   Internal Links Use Same Window   1.2   [ Uninstall ]
12.   Enable or Disable "« Last Edit: by »" for Administrators   1.3a   [ Uninstall ]
13.   Simple Audio Video Embedder   2.0.1   [ Uninstall ]
14.   Country Flags   1.1.2   [ Uninstall ]
15.   SMF Gallery Lite   3.1.1   [ Uninstall ]
16.   Downloads System Pro   2.0.4a   [ Uninstall ]
17.   Ad Seller Pro   1.0.9

The other day I updated to smf 2.0.1 and yesterday the only thing I did was install the 'Guest Registration Notification' mod.
I uninstalled the 'Guest Registration Notification' Mod this morning, but have not removed the files, but that did not seem to change anything.

QuoteUninstalled package: "Guest Registration Notification", version 1.4.2   Today at 07:41:24 AM   AJ   Admin/Tech   208.107.24.184   
Installed new package: "Guest Registration Notification", version 1.4.2   September 19, 2011, 10:21:29 AM   AJ   Admin/Tech   208.107.24.184   
Installed new package: "SMF 2.0.1 Update", version 1.0   September 18, 2011, 10:34:54 PM   AJ   Admin/Tech   208.107.24.184

I notice you can hear the registration letters yet, but I can't believe everyone was just listening to them to register yesterday.


Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: Illori on September 20, 2011, 09:04:46 AM
any errors in your error log?

looking at the source of the registration page i find this link http://appliancejunk.com/forums/index.php?action=verificationcode;vid=register;rand=db79e76cb6b97df5b7bb8f0813e1ef35

and it returns "the image "http://appliancejunk.com/forums/index.php?action=verificationcode;vid=register;rand=db79e76cb6b97df5b7bb8f0813e1ef35" cannot be displayed because it contains errors."

[edit] also your theme does not validate any longer this could be part of the issue you are facing here
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: ApplianceJunk on September 20, 2011, 09:07:22 AM
Only two user errors this morning.

QuoteYour email address needs to be validated before you can login.
Password incorrect
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: Illori on September 20, 2011, 09:09:21 AM
try to validate the changes you have made to your theme and see if that helps

http://validator.w3.org/
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: ApplianceJunk on September 20, 2011, 09:24:13 AM
Quote from: Illori on September 20, 2011, 09:09:21 AM
try to validate the changes you have made to your theme and see if that helps

http://validator.w3.org/

Ok, I noticed most of the error things at validator.w3 seem to have to do with one of my affiliate search box ads.
So I removed it and validated again. Went from 26 errors to 5 errors.

I have been using that affiliate search box ad from day one, so I did not think that was causing the problem and it did not seem to be.

Could you look at the validator again now and see if you think any of the five that are left could be causing my problem?

Thanks
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: Illori on September 20, 2011, 09:27:28 AM
your registration page is giving 22 errors still so you got some work to do. try using the web developer addon for firefox to submit the exact page to the validator
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: ApplianceJunk on September 20, 2011, 09:41:36 AM
Quotetry using the web developer addon for firefox

Could you post a link to it please?

Just tried adding 'Validator 0.0.5' to firefox, but can't seem to see it in my list of web developer tools like I can firebug and fireFTP even after restarting firefox and the home page listed for 'Validator 0.0.5 is http://spaghetticoder.org/validator/ and that's a blank page for me.

Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: Illori on September 20, 2011, 09:43:31 AM
https://addons.mozilla.org/en-US/firefox/addon/web-developer/
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: ApplianceJunk on September 20, 2011, 09:54:52 AM
Quote from: Illori on September 20, 2011, 09:43:31 AM
https://addons.mozilla.org/en-US/firefox/addon/web-developer/

Got it, cool :)

What do I validate now.

I go to my registration URL at...

http://appliancejunk.com/forums/index.php?action=register

and from the drop down menu of the web developer tool bar select Tools>Validate HTML and then it seems I'm shown the same 5 errors.



I see is a red X between to green check marks on the right of that web developer tool bar.

It shows me this when I click it...

QuoteError: Image corrupt or truncated: http://appliancejunk.com/forums/index.php?action=verificationcode;vid=register;rand=204b949347d5386f5879dc3582735f04
Source File: http://appliancejunk.com/forums/index.php?action=verificationcode;vid=register;rand=204b949347d5386f5879dc3582735f04
Line: 0

Is that the problem

I don't understand what could have change in the last day or two that would have changed anything on my registration page.
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: Joker™ on September 20, 2011, 09:57:51 AM
Backup your file
themes\default\Registration.template.php

Now replace the file with a fresh file from large upgrade pack of SMF, as on my few minutes visit on that page I've seen a lot of broken template.

To understand what I'm trying to say see the registration page of any other SMF forum and compare it with the page of your forum.
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: ApplianceJunk on September 20, 2011, 10:06:24 AM
Quote from: Joker™ on September 20, 2011, 09:57:51 AM
Backup your file
themes\default\Registration.template.php

Now replace the file with a fresh file from large upgrade pack of SMF, as on my few minutes visit on that page I've seen a lot of broken template.

To understand what I'm trying to say see the registration page of any other SMF forum and compare it with the page of your forum.

Ok, I will upload a new Registration.template.php after I back up my old file.

I'm looking at this registration page to compare, but still not sure what you are talking about

http://www.simplemachines.org/community/index.php?action=register

I could just be blind too.
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: Illori on September 20, 2011, 10:08:08 AM
he is talking about the source not just appearance.
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: ApplianceJunk on September 20, 2011, 10:14:03 AM
Ok, can only find Register.template.php and not Registration.template.php as stated above.

We talking about the same file?

Quotehe is talking about the source not just appearance.

Hmm... now what?
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: Joker™ on September 20, 2011, 10:18:43 AM
Quote from: ApplianceJunk on September 20, 2011, 10:14:03 AM
Ok, can only find Register.template.php and not Registration.template.php as stated above.

We talking about the same file?
Yeah, must be a typo error from my side.
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: ApplianceJunk on September 20, 2011, 10:22:52 AM
Ok, replace the
Quote from: Joker™ on September 20, 2011, 09:57:51 AM
Backup your file
themes\default\Registration.template.php

Now replace the file with a fresh file from large upgrade pack of SMF, as on my few minutes visit on that page I've seen a lot of broken template.

To understand what I'm trying to say see the registration page of any other SMF forum and compare it with the page of your forum.

Replace file, but still could not see the image yet so I uploaded the backup I did of the Register.template.php so I'm back to the way it original was again now, still can't see image.


Edited to add:

Going back in my admin logs to try and figure out when the registration image may have stopped showing up.

Sept 16 I know the registration image was working as I installed the 'Contact Page' mod and it was working correctly then.

Uninstalled package: "View Only Boards", version 1.2b   Today at 08:13:42 AM   AJ   Admin/Tech   208.107.24.184   
Uninstalled package: "Guest Registration Notification", version 1.4.2   Today at 07:41:24 AM   AJ   Admin/Tech   208.107.24.184   
Installed new package: "Guest Registration Notification", version 1.4.2   September 19, 2011, 10:21:29 AM   AJ   Admin/Tech   208.107.24.184   
Installed new package: "SMF 2.0.1 Update", version 1.0   September 18, 2011, 10:34:54 PM   AJ   Admin/Tech   208.107.24.184   
Uninstalled package: "SMF 2.0.1 Update", version 1.0   September 18, 2011, 10:33:54 PM   AJ   Admin/Tech   208.107.24.184   
Installed new package: "SMF 2.0.1 Update", version 1.0   September 18, 2011, 09:45:11 PM   AJ   Admin/Tech   208.107.24.184

Installed new package: "Online Users Area", version 1.2   September 18, 2011, 07:34:16 AM   AJ   Admin/Tech   208.107.24.184   
Uninstalled package: "Online Users Area", version 1.2   September 17, 2011, 09:56:55 PM   AJ   Admin/Tech   208.107.24.184   
Installed new package: "Show your social networks", version 3.0   September 17, 2011, 11:12:11 AM   AJ   Admin/Tech   208.107.24.184   
Installed new package: "Contact Page", version 3.0   September 16, 2011, 11:24:32 PM   AJ   Admin/Tech   208.107.24.184
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: Joker™ on September 20, 2011, 10:40:01 AM
Some of the things you can try

1. Try running file_check.php(attached) and see if there is any line space or even a space before/after php tags. If any file contain spaces, do remove it.

2. Try installing this mod, it might help - http://custom.simplemachines.org/mods/index.php?mod=1044.
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: ApplianceJunk on September 20, 2011, 10:54:55 AM
Do I upload file_check.php to my forum directory and then just run /forums/file_check.php in my browser?

I installed the recaptcha mod and did some testing. That mod seems to work ok on the registration page.

http://appliancejunk.com/forums/index.php?action=register
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: Joker™ on September 20, 2011, 11:03:18 AM
Quote from: ApplianceJunk on September 20, 2011, 10:54:55 AM
Do I upload file_check.php to my forum directory and then just run /forums/file_check.php in my browser?
Yes.
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: ApplianceJunk on September 20, 2011, 11:18:25 AM
Quote from: Joker™ on September 20, 2011, 11:03:18 AM
Quote from: ApplianceJunk on September 20, 2011, 10:54:55 AM
Do I upload file_check.php to my forum directory and then just run /forums/file_check.php in my browser?
Yes.

Ok, I will try that later today when I get some more time and report back.
As for now the recaptcha mod seems to be working as some new members have registered for account this morning again.

I'm just really banging my head on the wall as to what could have changed, over night it seems.

Is it at all possible that our host could have made any changes that would have affected this or a mod, maybe the 2.0.1 update?

Thanks for all the replies and help.
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: Joker™ on September 20, 2011, 11:20:38 AM
Quote from: ApplianceJunk on September 20, 2011, 11:18:25 AM
Ok, I will try that later today when I get some more time and report back.
As for now the recaptcha mod seems to be working as some new members have registered for account this morning again.

I'm just really banging my head on the wall as to what could have changed, over night it seems.

Is it at all possible that our host could have made any changes that would have affected this or a mod, maybe the 2.0.1 update?

Thanks for all the replies and help.
Might be a GD library issue in php.ini, just a guess :P.

It's a good thing to ask your host if he has made any changes overnight :P.
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: rocknroller on September 20, 2011, 11:30:34 AM
in template files on theme you are using on forum, there should not be any empty space or line at the end of the document, after that ?>
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: ApplianceJunk on September 20, 2011, 11:37:51 AM
QuoteIt's a good thing to ask your host if he has made any changes overnight.

I have asked and await there reply.
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: ApplianceJunk on September 20, 2011, 11:40:36 AM
Quote from: rocknroller on September 20, 2011, 11:30:34 AM
in template files on theme you are using on forum, there should not be any empty space or line at the end of the document, after that ?>

Could you please tell me what file and about what line?

BoardIndex.template.php?
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: rocknroller on September 20, 2011, 11:50:50 AM
all templates inside folder BoardIndex.template.php, index.template.php etc. When you edit the those files, all must end with ?> and after that should not be anything, no character, no space.  ;)
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: ApplianceJunk on September 20, 2011, 12:16:43 PM
Ok, I run file_check.php and got this.

I have never touched most of them files, so what's the deal with them saying...  File does not end with ?>

Do I need to manually edit all them files now?

QuoteSMF File Checker Utility
Below are the results of the scan

    /home/applianc/public_html/forums/mobiquo/xmlrpcresp.php
        File does not end with ?>

    /home/applianc/public_html/forums/mobiquo/mobiquo_action.php
        File does not end with ?>

    /home/applianc/public_html/forums/mobiquo/upload.php
        File does not end with ?>

    /home/applianc/public_html/forums/mobiquo/mobiquo_common.php
        File does not end with ?>

    /home/applianc/public_html/forums/mobiquo/env_setting.php
        File does not end with ?>

    /home/applianc/public_html/forums/mobiquo/server_define.php
        File does not end with ?>

    /home/applianc/public_html/forums/Sources/ChessAdmin.php
        File does not end with ?>

    /home/applianc/public_html/forums/Sources/Subs-Beer.php
        File does not end with ?>

    /home/applianc/public_html/forums/Sources/TPortalAdmin.php
        File does not end with ?>

    /home/applianc/public_html/forums/Sources/TPhelp.php
        File does not end with ?>

    /home/applianc/public_html/forums/Sources/alexa.php
        File does not begin with <?php

    /home/applianc/public_html/forums/Sources/TreasuryUpdate.php
        File does not end with ?>

    /home/applianc/public_html/forums/Sources/recaptchalib.php
        File does not end with ?>

    /home/applianc/public_html/forums/Sources/TPmodules.php
        File does not end with ?>

    /home/applianc/public_html/forums/Sources/Chess.php
        File does not end with ?>

    /home/applianc/public_html/forums/Sources/Referrals.php
        File does not end with ?>

    /home/applianc/public_html/forums/getid3/getid3.php
        File does not end with ?>

    /home/applianc/public_html/forums/wysiwyg/whizzypic.php
        File does not end with ?>

    /home/applianc/public_html/forums/FCKeditor/editor/filemanager/browser/default/connectors/php/commands.php
        File does not end with ?>

    /home/applianc/public_html/forums/FCKeditor/editor/filemanager/browser/default/connectors/php/config.php
        File does not end with ?>

    /home/applianc/public_html/forums/FCKeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/dilbermc/languages/Settings.russian.php
        File does not begin with <?php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/Chess.template.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/ChessCustom.template.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/TPdlmanager.template.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/TPteampage.template.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/index.template.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/TPlinkmanager.template.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/TPprofile.template.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/Login.german.php
        File does not begin with <?php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/index.dutch.php
        File does not begin with <?php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/Errors.spanish.php
        File does not begin with <?php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/index.spanish.php
        File does not begin with <?php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/TPmodules.english.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/index.german.php
        File does not begin with <?php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/TreasuryHelp.english-utf8.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/Errors.german.php
        File does not begin with <?php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/Chess.english.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/Modifications.spanish.php
        File does not begin with <?php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/Login.dutch.php
        File does not begin with <?php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/Login.spanish.php
        File does not begin with <?php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/ChessXml.english.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/Errors.dutch.php
        File does not begin with <?php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/TreasuryHelp.english.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/ChessAdmin.english.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/TPgallery.template.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/TPgalleryAdmin.template.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/TPortalAdmin.template.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/TPdladmin.template.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/TPlinkAdmin.template.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/ChessAdmin.template.php
        File does not end with ?>

Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: Joker™ on September 20, 2011, 12:19:55 PM
Quote from: rocknroller on September 20, 2011, 11:50:50 AM
all templates inside folder BoardIndex.template.php, index.template.php etc. When you edit the those files, all must end with ?> and after that should not be anything, no character, no space.  ;)
I've attached file_check.php in my previous replies which do the exact task :).


Quote from: ApplianceJunk on September 20, 2011, 12:16:43 PM
Ok, I run file_check.php and got this.

I have never touched most of them files, so what's the deal with them saying...  File does not end with ?>

Do I need to manually edit all them files now?
Open those files one by one and see if you are having ?> at the end of the files. Yes you have to edit them manually.

Can you attach any of those files here before editing them?
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: ApplianceJunk on September 20, 2011, 12:27:33 PM
QuoteOpen those files one by one and see if you are having ?> at the end of the files. Yes you have to edit them manually.

Can you attach any of those files here before editing them?

Lets look at the recaptchalib.php that is in the file_check.php list as I believe this file just got added this morning when I installed the recaptcha mod.

I have attached a copy and when I looked at it there seems to be a ?> at the end of the file, correct?



Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: Joker™ on September 20, 2011, 12:30:52 PM
Quote from: ApplianceJunk on September 20, 2011, 12:27:33 PM
I have attached a copy and when I looked at it there seems to be a ?> at the end of the file, correct?
But what about the line space after the ending delimiter ?>.

- Remove that line space from the file
- Re-upload the file
- Run file_check.php  again to see if there is any change in the result regarding this file.
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: ApplianceJunk on September 20, 2011, 12:34:12 PM
line space?
I just must not understand what your talking about, sorry.

My cursor seems to end at the ?>

Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: Illori on September 20, 2011, 12:35:09 PM
what editor are you using?
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: Joker™ on September 20, 2011, 12:36:26 PM
Try this file and run file_check.php after uploading it.

Try to use notepad++.
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: ApplianceJunk on September 20, 2011, 12:40:56 PM
I'm on a Mac, notepad++ won't work for me.

I could not see the line space with TextWrangler, but could see it with Dreamweaver.

Anyway I removed the line space and uploaded the file again then ran file_check.php.

Seems it removed it from the list, new list is here....

So is there something that added all these line spaces to all these files or what?

Seems like a lot of files I have to manually edit and many of them I don't even use, they are from old mods that I never reinstalled from SMF 1.1.14

QuoteSMF File Checker Utility
Below are the results of the scan

    /home/applianc/public_html/forums/mobiquo/xmlrpcresp.php
        File does not end with ?>

    /home/applianc/public_html/forums/mobiquo/mobiquo_action.php
        File does not end with ?>

    /home/applianc/public_html/forums/mobiquo/upload.php
        File does not end with ?>

    /home/applianc/public_html/forums/mobiquo/mobiquo_common.php
        File does not end with ?>

    /home/applianc/public_html/forums/mobiquo/env_setting.php
        File does not end with ?>

    /home/applianc/public_html/forums/mobiquo/server_define.php
        File does not end with ?>

    /home/applianc/public_html/forums/Sources/ChessAdmin.php
        File does not end with ?>

    /home/applianc/public_html/forums/Sources/Subs-Beer.php
        File does not end with ?>

    /home/applianc/public_html/forums/Sources/TPortalAdmin.php
        File does not end with ?>

    /home/applianc/public_html/forums/Sources/TPhelp.php
        File does not end with ?>

    /home/applianc/public_html/forums/Sources/alexa.php
        File does not begin with <?php

    /home/applianc/public_html/forums/Sources/TreasuryUpdate.php
        File does not end with ?>

    /home/applianc/public_html/forums/Sources/TPmodules.php
        File does not end with ?>

    /home/applianc/public_html/forums/Sources/Chess.php
        File does not end with ?>

    /home/applianc/public_html/forums/Sources/Referrals.php
        File does not end with ?>

    /home/applianc/public_html/forums/getid3/getid3.php
        File does not end with ?>

    /home/applianc/public_html/forums/wysiwyg/whizzypic.php
        File does not end with ?>

    /home/applianc/public_html/forums/FCKeditor/editor/filemanager/browser/default/connectors/php/commands.php
        File does not end with ?>

    /home/applianc/public_html/forums/FCKeditor/editor/filemanager/browser/default/connectors/php/config.php
        File does not end with ?>

    /home/applianc/public_html/forums/FCKeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/dilbermc/languages/Settings.russian.php
        File does not begin with <?php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/Chess.template.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/ChessCustom.template.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/TPdlmanager.template.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/TPteampage.template.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/index.template.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/TPlinkmanager.template.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/TPprofile.template.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/Login.german.php
        File does not begin with <?php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/index.dutch.php
        File does not begin with <?php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/Errors.spanish.php
        File does not begin with <?php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/index.spanish.php
        File does not begin with <?php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/TPmodules.english.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/index.german.php
        File does not begin with <?php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/TreasuryHelp.english-utf8.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/Errors.german.php
        File does not begin with <?php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/Chess.english.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/Modifications.spanish.php
        File does not begin with <?php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/Login.dutch.php
        File does not begin with <?php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/Login.spanish.php
        File does not begin with <?php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/ChessXml.english.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/Errors.dutch.php
        File does not begin with <?php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/TreasuryHelp.english.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/languages/ChessAdmin.english.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/TPgallery.template.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/TPgalleryAdmin.template.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/TPortalAdmin.template.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/TPdladmin.template.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/TPlinkAdmin.template.php
        File does not end with ?>

    /home/applianc/public_html/forums/Themes/default/ChessAdmin.template.php
        File does not end with ?>

Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: Illori on September 20, 2011, 12:42:39 PM
textwrangler does show the empty line you need to actually use your cursor to go down a line and it shows it
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: ApplianceJunk on September 20, 2011, 01:04:11 PM
Quote from: Illori on September 20, 2011, 12:42:39 PM
textwrangler does show the empty line you need to actually use your cursor to go down a line and it shows it

Ok, guess I need to learn how to use text wrangler better.

Just for the heck of it I went to my test site I have on a local machine. It's SMF 2.0 and I use it to play around with installing mods to see how they work before I try them on my live site. I run file_check.php on it and again come back with a lot of.... 'File does not end with ?>' yet the registration verification image still shows up on the test site.

So what's with all the line spaces and you think all these line spaces are causing the registration verification image not to show up?

In any case I need to go through each file and manually edit it correct? Just want to make sure as it's going to take me sometime, lol...

I find this frustrating, yet interesting and kind of fun. A learning experience for sure...

Thanks,
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: Illori on September 20, 2011, 01:06:15 PM
it may have a part in the issue, but it may not be the cause of the problem. also take a look at http://stackoverflow.com/questions/2332/how-do-i-turn-on-line-numbers-by-default-in-textwrangler-on-the-mac which will make the empty lines more visible
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: ApplianceJunk on September 20, 2011, 01:32:06 PM
Line numbers help, thanks!

My host also got back to me and said...

Quote
Hello,

We have not done any changes on the server, everything remains as it was. We also didn't get any complaint from other customers on the server.

and being someone may ask later I will just say now. ;)
My host is MonteCarloHosting and they replied quickly this morning as always.

So I will start to edit files and report back, thanks again for all the help.
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: Joker™ on September 20, 2011, 01:55:17 PM
Nice to see that we managed to trim the issue somehow :).
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: ApplianceJunk on September 20, 2011, 02:13:43 PM
Ok, most of the edits have been just removing line space or adding ?> at the end..

With the whizzypic.php file it ends like this.

function insensitive($a, $b) { //used by usort to sort file list case insensitive -------------------------
   return strcmp(strtolower($a), strtolower($b));
}

?>
</div>

</body>
</html>


Do I just delete the ?> that is there now and move it to the end?

Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: Illori on September 20, 2011, 02:15:22 PM
that is not a default smf file, since as such i dont think i can answer that question.
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: ApplianceJunk on September 20, 2011, 02:21:28 PM
Quote from: Illori on September 20, 2011, 02:15:22 PM
that is not a default smf file, since as such i dont think i can answer that question.

forums/wysiwyg/whizzypic.php

It's not something to do with the WYSIWYG editor from when you create a post?
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: Illori on September 20, 2011, 02:23:47 PM
no that is not from the editor smf uses.
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: ApplianceJunk on September 20, 2011, 02:28:27 PM
Quote from: Illori on September 20, 2011, 02:23:47 PM
no that is not from the editor smf uses.

Ok, top of that file reads...

Quote
<!-- Whizzypic.php v2 - resistant to no /images directory
Copyright © 2005, John Goodman - john.goodman(at)unverse.net  *date 051215
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
A copy of the GNU General Public License can be obtained at: http://www.gnu.org/licenses/gpl.html
-->

I wonder if it's something left over from a mod I used in SMF 1.1.14 and no longer use today.
I will skip over it for now and research it later, thanks..
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: Joker™ on September 20, 2011, 02:28:50 PM
Quote from: ApplianceJunk on September 20, 2011, 02:13:43 PM
Ok, most of the edits have been just removing line space or adding ?> at the end..

With the whizzypic.php file it ends like this.

function insensitive($a, $b) { //used by usort to sort file list case insensitive -------------------------
   return strcmp(strtolower($a), strtolower($b));
}

?>
</div>

</body>
</html>


Do I just delete the ?> that is there now and move it to the end?


It can be related to some gallery mod you have installed before (just making a guess :P).


Remove this code from the file and don't leave any space in the bottom.


</div>

</body>
</html>
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: Illori on September 20, 2011, 02:30:48 PM
you can always download that folder to your computer and delete it off the server to make sure it is not causing any issues.
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: ApplianceJunk on September 20, 2011, 02:31:44 PM
Will try that Joker, thanks...

All the rest of the files are in forums/Themes/dilbermc

That is a old theme from my smf 1.1.14 days that I never plan on using again.
Could I just go into my admin panel and remove it or would it be better to delete the forums/Themes/dilbermc file with FTP?

Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: Illori on September 20, 2011, 02:33:35 PM
do both things to fully remove the theme from your forum.
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: ApplianceJunk on September 20, 2011, 02:41:07 PM
Quote from: Illori on September 20, 2011, 02:33:35 PM
do both things to fully remove the theme from your forum.

Ok, have never added or removed a theme in SMF 2.0 yet. Thought I was just going to here and delete it.

Admin>Themes and Layout>Modify Themes>Dilber Multicolor

All I see for choices are...

Browse the templates and files in this theme.
Copy a template from the theme this is based on.
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: rocknroller on September 20, 2011, 02:42:18 PM
Quote from: Joker™ on September 20, 2011, 12:19:55 PM
Quote from: rocknroller on September 20, 2011, 11:50:50 AM
all templates inside folder BoardIndex.template.php, index.template.php etc. When you edit the those files, all must end with ?> and after that should not be anything, no character, no space.  ;)
I've attached file_check.php in my previous replies which do the exact task :).

ok, i didn't see. btw didn't know either for that file, tnx for it.  :)
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: Illori on September 20, 2011, 02:43:29 PM
admin -> current theme -> theme settings and click the x image for that theme
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: ApplianceJunk on September 20, 2011, 03:09:46 PM
Quote from: Illori on September 20, 2011, 02:43:29 PM
admin -> current theme -> theme settings and click the x image for that theme

OMG, and I could not find it...

I kept checking the Admin>Security and Moderation>Anti-Spam page for the registration verification image to show up as I have been editing the file.

Seems removing the two line spaces from the index.template.php file solved the problem :)

The registration verification image is back!

I need to going through the rest of the file to finishing editing them, but I still have to wonder what caused this in the first place.

Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: Illori on September 20, 2011, 03:12:01 PM
great glad you could get it resolved.
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: ApplianceJunk on September 20, 2011, 03:17:27 PM
Quote from: Illori on September 20, 2011, 03:12:01 PM
great glad you could get it resolved.

Thanks, what are you thoughts on what caused the problem to start with?
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: Illori on September 20, 2011, 03:19:04 PM
some manual editing could have caused it or a mod install, hard to know exactly.

and you still have the recaptcha mod installed so we cant see the default captcha
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: ApplianceJunk on September 20, 2011, 03:24:16 PM
Quote from: Illori on September 20, 2011, 03:19:04 PM
some manual editing could have caused it or a mod install, hard to know exactly.

and you still have the recaptcha mod installed so we cant see the default captcha

Disabled the recaptcha mod now...

http://appliancejunk.com/forums/index.php?action=register

Thanks everyone for all the help with this. I have found it very educational. :)

I will now mark this topic solve.
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: Illori on September 20, 2011, 03:25:55 PM
looks good just your page does not validate :P
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: ApplianceJunk on September 20, 2011, 03:31:51 PM
Quote from: Illori on September 20, 2011, 03:25:55 PM
looks good just your page does not validate :P

I need something to do later... :)
Title: Re: cannot see the picture, that is required to type in the verification... ?
Post by: Joker™ on September 20, 2011, 04:07:37 PM
Quote from: ApplianceJunk on September 20, 2011, 03:24:16 PM
Thanks everyone for all the help with this. I have found it very educational. :)
Lets party.

Me lovezz partiess :D