News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

SMF 2.0 GreyIS Theme Registration Verification Image not working...

Started by BigDaddyDiesel, July 06, 2009, 07:47:11 PM

Previous topic - Next topic

BigDaddyDiesel

Like the thread title states I am using SMF 2.0 and GreyIs Theme and am having issues with the User Registration Verification Image. 

In Firefox it does not show at all, but you can listen to it fine; but the link to request a new image also does not work.

In IE-8 it shows a broken image and you can also listen to the image text but the link for requesting a new image also does not work.

Can someone please point me to the correct section of the code to work with to attempt to fix this issue.  It has been suggested that I ditch this theme and start over with another because of the overall number of complications I have had with it, but I really like the layout and want to try to make it work.  Any and all help is greatly appreciated.

You can view the registration page here.


Chris

JBlaze

Have you tried this in the default theme as well?

If it is only a problem in the custom theme, you may have to ask for support in the theme's support topic.
Jason Clemons
Former Team Member 2009 - 2012

BigDaddyDiesel

I have tried it in the default theme, but I also just read the first sticky above and have not tried that update to try to fix it, I am going to try that to see if it helps my problem.

thanks for the reply...

JBlaze

OK. Try that and let us know how it goes. If after that, this topic is solved, please mark it as such :)
Jason Clemons
Former Team Member 2009 - 2012

BigDaddyDiesel


BigDaddyDiesel

Ok, that did not fix the problem....  I made the changes as outlined in the sticky above to fix similar issues without any luck.

BigDaddyDiesel


Norv

Does this help?
http://www.simplemachines.org/community/index.php?topic=312955.0

EDIT: Ah, sorry. This was the sticky above you were referring to, I guess.

Are there any errors in the forum log?
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

BigDaddyDiesel


BigDaddyDiesel

The only errors I am showing in the log are errors that have to do with not recognizing the referring URL when trying to log out under a ghost account username.  But nothing about this issue at all.  I only actually show five errors at all and four of those are like this one having to do with loging in and out for testing.

BigDaddyDiesel


BigDaddyDiesel


BigDaddyDiesel

Ok, noone has any other advice for this problem?  I got pretty quick responses to start with, but now nothing. 

Thanks for any help in advance...

JimM

Part of your problem is that you have added your Google Analytics code at the top of the index.template.php file.

This should be the first line of that file:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

http://www.w3schools.com/Xhtml/xhtml_dtd.asp

Additionally you may want to run this file check script that is attached to this post.  Normally when the verification stops working it is because you have a missing <php or ?> in one or more of the files.  This script will find those so you can correct them.

http://www.simplemachines.org/community/index.php?topic=300626.msg1989826#msg1989826
Jim "JimM" Moore
Former Support Specialist

BigDaddyDiesel

Thanks Jim, I will check that out..... 


thanks for the help....

JimM

Jim "JimM" Moore
Former Support Specialist

BigDaddyDiesel

Ok, I have worked on this for over a month now, and I have, with help,  I have fixed 90% of the errors using that validation site.  Now when I run it I get one error that shows a capitol L before the code mentioned above in the file mentioned above, but when I look at that file, that L is not present.  I can see the L in IE but not in FF and my partner says that he can see it in Chrome as well.  But I cannot find it no matter how hard I search.

Also, the problem with the Verification image is still happening.  In FF there is nothing showing for the image, and in IE it shows a broken image. 

Any other help or suggestions..??

Thanks for the help...

Chris

Norv

Please copy and paste here the full error message you get.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

BigDaddyDiesel

I have attached the results in a txt...  there are many for the members folder, but my partner said that these would not effect the image... 

Norv

I see only errors from the Members folder, but is SMF installed there? Or, does some modification include files from this ./Members folder?

Quote from: BigDaddyDiesel on August 12, 2009, 10:00:12 AM
Now when I run it I get one error that shows a capitol L before the code mentioned above in the file mentioned above, but when I look at that file, that L is not present.  I can see the L in IE but not in FF and my partner says that he can see it in Chrome as well.  But I cannot find it no matter how hard I search.
Please tell what this error is.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

BigDaddyDiesel

I apologize, that file is from the download attachemtn file above to drop into the directory to check for errors trying to fix the verification image.

Yes SMF is installed there...

Below you will find a copy and paste of the errors found using the validation site...   But when I look for the L I cannot find it anywhere.

QuoteError  Line 1, Column 1: character "L" not allowed in prolog

L<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.o

Please forgive the mistake, I am working on a couple of different issues at the same time...

Norv

About the extra letter: please post as attachments your files ./Themes/default/index.template.php and ./Themes/{your_theme}/index.template.php.

About the rest of the errors: if any of those files (reported by the file_check utility) is used by SMF, then it may need to be corrected, meaning that it should begin with <?php and end with ?>. If any of them is used by SMF, then please post them here for us to see.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

BigDaddyDiesel

Ok, those files are attached herein.  and the errors that you asked me to list are quoted below, but these are not the errors from the validation, they are from the check file added to my directory...

Quote*  /home/synthet/public_html/Members/libraries/Tar.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/libraries/Console/Getopt.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/libraries/geshi/geshi/mysql.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/libraries/geshi/geshi.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/libraries/Archive/path.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/libraries/Archive/folder.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/libraries/Archive/file.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/libraries/Archive/archive.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/libraries/HTTP/WebDAV/Tools/_parse_propfind.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/libraries/HTTP/WebDAV/Tools/_parse_proppatch.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/libraries/HTTP/WebDAV/Tools/_parse_lockinfo.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/libraries/HTTP/WebDAV/Server/Filesystem.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/libraries/lib_zip.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/libraries/JSON.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/libraries/FTP/Socket.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/libraries/FTP/Observer.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/libraries/MIME/Type.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/libraries/FTP.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/libraries/PEAR.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/libraries/Zip.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/libraries/standalone.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/libraries/Auth/HTTP/HTTP.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/libraries/Auth/Auth.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/libraries/System.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/webdav_table.sql.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/extplorer.list.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/admin.extplorer.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/include/result.class.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/include/ftp_authentication.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/include/copy_move.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/include/search.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/include/users.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/include/js_admin3.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/include/delete.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/include/javascript.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/include/mkitem.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/include/list.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/include/download.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/include/js_admin.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/include/login.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/include/js_admin2.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/include/header.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/include/admin.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/include/edit.php
          o File does not begin with <?php
          o File does not end with ?>

    * /home/synthet/public_html/Members/include/footer.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/languages/italian.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/languages/russian_mimes.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/languages/traditional_chinese_mimes.php
          o UTF-8 BOM found

    * /home/synthet/public_html/Members/languages/islenska.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/languages/spanish_mimes.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/languages/polish.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/languages/germani.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/languages/portuguese.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/languages/hungariani.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/languages/swedish.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/languages/simplified_chinese.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/languages/germanf.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/languages/arabic_mimes.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/languages/french.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/languages/brazilian_portuguese.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/languages/english.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/languages/turkish_mimes.php
          o UTF-8 BOM found

    * /home/synthet/public_html/Members/languages/hungarian.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/languages/slovenian.php
          o UTF-8 BOM found
          o File does not end with ?>

    * /home/synthet/public_html/Members/languages/spanish.php
          o UTF-8 BOM found
          o File does not end with ?>

    * /home/synthet/public_html/Members/languages/russian.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/languages/norwegian.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/languages/bulgarian.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/languages/danish.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/languages/greek.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/languages/romanian.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/languages/turkish.php
          o UTF-8 BOM found
          o File does not end with ?>

    * /home/synthet/public_html/Members/languages/arabic.php
          o UTF-8 BOM found

    * /home/synthet/public_html/Members/languages/traditional_chinese.php
          o UTF-8 BOM found

    * /home/synthet/public_html/Members/extplorer.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/configuration.ext.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/scripts/functions.js.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/scripts/application.js.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/application.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/extplorer.init.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/config/bookmarks_file_admin.php
          o File does not begin with <?php
          o File does not end with ?>

    * /home/synthet/public_html/Members/config/users.php
          o File does not begin with <?php
          o File does not end with ?>

    * /home/synthet/public_html/Members/config/bookmarks_file_hi.php
          o File does not begin with <?php
          o File does not end with ?>

    * /home/synthet/public_html/Members/config/mimes.php
          o File does not end with ?>

    * /home/synthet/public_html/Members/config/conf.php
          o File does not end with ?>

Norv

Quote from: BigDaddyDiesel on August 12, 2009, 11:28:49 AM
Ok, those files are attached herein.  and the errors that you asked me to list are quoted below,
Sorry, listing the errors is not what I meant, but to attach the files you see in these errors, in case SMF uses the file(s). None of the files listed in the errors is from SMF. But if you made some custom modification to use any of these files ("include" them, or otherwise use them by the SMF files), then those files should be attached here, for us to see.
For example, the first file reported is:
Quote
*/home/synthet/public_html/Members/libraries/Tar.php
          o File does not end with ?>
If the file /home/synthet/public_html/Members/libraries/Tar.php is used by your forum files, then please attach it here, for us to see. If you don't know or cannot find out which are used by your SMF forum, then attach this one still, just to see if it could bring problems.

Quote from: BigDaddyDiesel on August 12, 2009, 11:28:49 AM
but these are not the errors from the validation, they are from the check file added to my directory...
Yes. The check is for files who do not start with <?php or do not end with ?>. They should start with <?php and end with ?>, otherwise there can be effects like not seeing the verification image appear.


On another note, is there an index.template.php in your theme directory?
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

BigDaddyDiesel

Ok, I gotcha, no, I have not made any custom changes that would use those files.  And for that matter I have not made any custom changes at all.  And if these files are not used by the forum, then none of the errors found by the file check utility have anything to do with the Verification Image because they are for other directories not associated with that particular forum.  ie:  some of the errors were from my test forum which is on the "back end" of my url for this forum.  But they are separate directories.


Quote from: Norv on August 12, 2009, 11:57:20 AM
On another note, is there an index.template.php in your theme directory?

The second attachment that was posted in the last post was that file, but I have attached it here as well.

Thanks for all of the help, AND the patience!!!  I know that working with my limited skills takes a lot of that....lol

BigDaddyDiesel

OH, and the in the validation check, there were only 4 total errors found at this point and I have tehm quoted below for convenience...

Quote
Error  Line 1, Column 1: character "L" not allowed in prolog

L<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.o




Warning  Line 5, Column 148: character "&amp;" is the first character of a delimiter but occurred as data

...ear Lube, Filters, Mothers Polishes & Waxes" />



Error  Line 425, Column 31: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

<div style="text-align: left;"></div>



Error  Line 454, Column 18: element "marquee" undefined

                           <marquee>SALES MEETING AT THE DF!!! EVERYONE COME ON NOW!!!</marquee><s




Error  Line 607, Column 179: Attribute "border" exists, but can not be used for this element.

...n_id" /> <input type="image" border="0" alt="PayPal - The safer, easier way t



Norv

Can you please tell, where exactly is your forum installed? (the forum path, from /public_html)

Also, please post the file ./Themes/default/index.template.php also. Does visual verification work on the default theme?
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

BigDaddyDiesel

Quote from: Norv on August 12, 2009, 01:15:46 PM
Can you please tell, where exactly is your forum installed? (the forum path, from /public_html)

/public_html/SMF


Also, please post the file ./Themes/default/index.template.php also. Does visual verification work on the default theme?

No, visual verification is messed up in all themes.
 

That file is now attached to this post...

Norv

index.template.php~ (please note the "~" at the end) is a backup file. I was wondering about the index.template.php file itself.

On another note, please upload the file file_check.php in /public_html/SMF, not public_html/Members, and run it from the browser. Please afterwards, post here what are the results.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

BigDaddyDiesel

Ok, I was mistaken, the SMF forum that I am using is actually installed in the public_html directory itself.  Then I have subdirectories for my test forum, etc.  And when I installed the file_check utility I installed it in the public_html directory.  It came up with more then just the members errors, but all of the other errors were from the other sub directories according to the paths that were shown.  To look at that entire list of errors simply download the attachment to this post for error report.



The index.template.php file is also attached...

Norv

Please note these SMF files from the report (I will be referring only to the SMF installation in /public_html itself):

/home/synthet/public_html/Sources/Subs-Package.php

          o File does not end with ?>

    * /home/synthet/public_html/Sources/Chat.php

          o File does not end with ?>

    * /home/synthet/public_html/Sources/PortaMx/Class/shoutbox.php

          o File does not begin with <?php


    
* /home/synthet/public_html/Sources/PortaMx/Class/boardnews_adm.php

          o File does not end with ?>


    * /home/synthet/public_html/Sources/PortaMx/Class/rss_reader_adm.php

         o File does not end with ?>

    * /home/synthet/public_html/Sources/PortaMx/Class/rss_reader.php

         o File does not end with ?>


    * /home/synthet/public_html/Sources/PortaMx/Class/newposts_adm.php

         o File does not end with ?>

    * /home/synthet/public_html/Packages/pmx_preset.php

          o File does not end with ?>

    * /home/synthet/public_html/Themes/default/languages/Packages.english.php

         o File does not end with ?>

    * /home/synthet/public_html/Themes/default/Chat.template.php

         o File does not end with ?>


    * /home/synthet/public_html/Themes/default/Packages.template.php

         o File does not end with ?>


   * /home/synthet/public_html/Themes/default/PortaMx/PortaMx.template.php

          o File does not end with ?>

    * /home/synthet/public_html/Themes/grey/index.template.php

          o File does not end with ?>

    * /home/synthet/public_html/Themes/wblog/BoardIndex.template.php

          o File does not end with ?>

    * /home/synthet/public_html/Packages/pmx_preset.php

          o File does not end with ?>

Not sure if this lists them all, but many of them. These files are from your current SMF installation (the one in /public_html) and should normally start with <?php and end with ?>. It is very likely the problem with registration image is related to it. Please download all these files (quoted by this post) and open them in a text editor. (if you are on windows, a lightweight text editor like Notepad++ would be good).
See if they have anything before <?php or after ?>. If there are spaces or newlines, please delete them.
If there is other code or text, attach the files here for us to see.

Note: the file  /home/synthet/public_html/Themes/grey/index.template.php is also mentioned, reported to not end with ?>. If that is the case, perhaps "grey" is not the theme you have? Or, are you sure that the file you posted previously, as being the file ./Themes/{your_theme}/index.template.php, is actually this one? Just wondering, as the file you posted previously does end in ?>.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

BigDaddyDiesel

I will go through all of those and get back to you after I have completed them.  I did neglect to mention that the theme selection has changed and we have decided not to go with the GreyIs theme.  The current theme is "EOTS DZINE MC25" 

I will let you know as soon as I have them all done, it may be later this evening or tomorrow before I get it done as I have to go get some other errands completed for my "Honey-Do" list...lol

Thanks for all of your help!!!!

God Bless!!!

Norv

No worries, please let us know how it goes. If you encounter problems or are uncertain about any of the files on the above list, then attach it here.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

BigDaddyDiesel

Just to verify what I am doing here, I checked the first file in the quoted files list, and although it DID have ?> at the end pof everything, there was an empty line between it and the next piece of code above it.  I a case like this I need to delete the empty line; correct?

Norv

If I understand correctly, there is not need to delete this empty line shown here:


?>

but instead, this:

?>

That is, the empty line (or space, or tab, whatever it is) after the ?>. (not the ?> itself though)
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

BigDaddyDiesel

Ok, IO will try that, thank you once again, you are a very patient person!!!  lol

Norv

No worries, please make sure you only delete empty lines, spaces, tabs, that are after ?>, not before and not ?> itself.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

BigDaddyDiesel

Ok, I could not resist trying it now, just call me addicted to the issue...lol  But,


IT IS FIXED~!!!!   LOL 

THANK YOU!!!



Consider this subject closed!!!  And Solved!!!

Norv

Cheers, great to hear!

I'll mark the topic as solved on the basis of the above comment. :)
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

BigDaddyDiesel


Advertisement: