TinyPortal

Development => Support => Topic started by: 2bz2p on September 16, 2007, 01:07:02 AM

Title: Image Verification issue
Post by: 2bz2p on September 16, 2007, 01:07:02 AM
Hi yall,

     So I have a good one and hope you can help me. I havent been able to us Image verification for a while and when I upgraded it started working, I was like cool. Then it stopped, so I then FTPed the themes directory up and then it clicked what if a mod is preventing it? So I uninstalled everything ( image verification started working) and started reinstalling everything in order of priority. TP was first and it installed no problems, my image verification was not working again.

so its TP

I went and made back ups (individually) of each file acording to the install list and uploaded the fresh one from SMF 1.1.3 Install folder on my local drive.

Execute Modification   ./Sources/Load.php
Execute Modification   ./Themes/default/index.template.php
Execute Modification   ./Themes/babylon/index.template.php
Execute Modification   ./Sources/Subs.php
Execute Modification   ./Sources/ManagePermissions.php
Execute Modification   ./Sources/Security.php
Execute Modification   ./Sources/Errors.php
Execute Modification   ./Themes/default/style.css
Execute Modification   ./Themes/default/Help.template.php
Execute Modification   ./Sources/Profile.php
Execute Modification   ./SSI.php


None of it made a difference.

Then I redownloaded TP, deleted it from my packages, reuploaded it, applied it and the same thing happened. No Image

So know I am stuck.

Any help would be greatly appreciated.
Thanks
2B
Title: Re: Image Verification issue
Post by: IchBin on September 16, 2007, 04:29:11 AM
Assuming image verification for registering?
Title: Re: Image Verification issue
Post by: 2bz2p on September 16, 2007, 05:12:00 AM
yeah opps should have said that
Title: Re: Image Verification issue
Post by: G6Cad on September 16, 2007, 11:14:14 AM
You should ask this on simplemachines.org as it's their code used for the verification.
Title: Re: Image Verification issue
Post by: 2bz2p on September 16, 2007, 12:28:50 PM
I spent a considerable amount of time on SMF Website and almost as much with my host on the issue, though Its works fine when TP isnt installed and Once its installed it doesnt.

Well I will keep trying to fix it?

If anyone has any ideas theyll be appreciated
2B
Title: Re: Image Verification issue
Post by: G6Cad on September 16, 2007, 12:46:27 PM
I know of 2 mods that CAN cause errors with the verification in SMF, and these are Felblog and SEO mod.
But thats about all i can think of
Title: Re: Image Verification issue
Post by: Zetan on September 16, 2007, 12:48:15 PM
A link to your site perhaps?

Any errors in the error logs?

What happens with the Default theme?

A list of mods?

Anything else that might help us help you?
Title: Re: Image Verification issue
Post by: 2bz2p on September 16, 2007, 01:10:39 PM
I have no mods installed other than E 2.3.3 Arcade
Flopdogg.com
I only use default theme right now
I dont know how to find the logs
PMed Account info

Thanks
2B
Title: Re: Image Verification issue
Post by: Zetan on September 16, 2007, 01:26:32 PM
You were not invited to PM me.
You don't have TP installed.

The logs are in Admin > Maintenance > Error Logs


I'm not going to delete the PM you sent me, but I doubt I'll have time to look.
Uninvited PMs will often go unanswered and deleted.
Title: Re: Image Verification issue
Post by: 2bz2p on September 16, 2007, 01:54:13 PM
I appologize I miss read your post I thought you ask for an account.

I can install Tp if you want.

I dont see anything under the logs that refers to Image verification and or TP

Thanks
2B
Title: Re: Image Verification issue
Post by: bloc on September 16, 2007, 01:59:16 PM
What exactly doesn't work..? the page give an error?
Title: Re: Image Verification issue
Post by: 2bz2p on September 16, 2007, 02:09:31 PM
Tp installs correctly everything goes in great and when I go and looke at the image verification (under register) it has a red block. I unistall TP (clean uninstall no errors) the image verification starts working again.

   I dont receive any errors. As you can see in my first post I reloaded each of the files individually form the SMF Install zip, so I dont know which file is having an issue. I posted in SMF asking which file has the image verification info on it, so that I can see if TP interacts with that perticular file.

Thanks
2B

Edit: I modified the post and added Sreenshots of the site.
woTP.jpg = With out TP installed
wTP.jpg = With TP installed

I will leave tp installed on the site
Title: Re: Image Verification issue
Post by: G6Cad on September 16, 2007, 02:36:49 PM
Try and change the permission to the images folder in your default themes directoy. You change it to 777 through FTP or Cpanel
Title: Re: Image Verification issue
Post by: bloc on September 16, 2007, 02:42:39 PM
Since its showing without TP , I think its rather a clash between something in TP 0.9.8. I will try to recreate the error on my local.
Title: Re: Image Verification issue
Post by: 2bz2p on September 16, 2007, 02:45:12 PM
Been there, didnt help. The thing the gets me is, it works on mikes-arcade.com w/ TP installed, so I copied everything to T (including permission) on Flopdogg.com. It still didnt work. I know that it is a wierd issue, I never thought TP had anything to do with it untill I went mod by mod checking the registration inbetween each install.

Thanks Bloc, I wish I new how to create it, I installed SMF using fantastico (whatever it is) on CPanel. If you need anything from me please let me know.

Thanks
2B
Title: Re: Image Verification issue
Post by: bloc on September 16, 2007, 04:18:50 PM
hm, I can't reproduce it thats for sure, so it must be something more hidden..any themes you use apart from the default?
Title: Re: Image Verification issue
Post by: feline on September 16, 2007, 04:44:12 PM
Quote from: G6 on September 16, 2007, 12:46:27 PM
I know of 2 mods that CAN cause errors with the verification in SMF, and these are Felblog
Please stop this.
These bug was present on very old release and this it's not more distributed long time ago.

Thanks
Fel
Title: Re: Image Verification issue
Post by: feline on September 16, 2007, 04:48:23 PM
Quote from: 2bz2p on September 16, 2007, 02:09:31 PM
Tp installs correctly everything goes in great and when I go and looke at the image verification (under register) it has a red block. I unistall TP (clean uninstall no errors) the image verification starts working again.
If you use Firefox, look at the error console, if you have any css or javascript error.
For this, it's allways a good thing, to install the firefox plugin web developer ...

Fel
Title: Re: Image Verification issue
Post by: 2bz2p on September 16, 2007, 11:40:42 PM
Bloc, I am to lazy (or lack of knowledge) to use any other theme at this point.

Fel, thanks for the input, though I use firefox only to rewrite index and css files, but thats it.

Thanks
2B
Title: Re: Image Verification issue
Post by: 2bz2p on September 17, 2007, 11:18:49 PM
Hi all,

    Excuse my double post please, though I uninstalled SMF and Reinstalled it. When I install Tiny portal the verification works, once I copy the English-UTF8 files into the themes/default/languages it stops working.

Any suggestions,
2B
Title: Re: Image Verification issue
Post by: IchBin on September 17, 2007, 11:20:48 PM
Is your forum set to use UTF8? Is your database also set to UTF8 ?
Title: Re: Image Verification issue
Post by: 2bz2p on September 17, 2007, 11:28:00 PM
Yeah both were, Then I went and uninstalled TP and changed the server settings to english and reinstalled TP and everything works. I dont understand it and I know the Database is (should be) UTF8 because I didnt change it.

All in all its working for now

Thank you all for your help
2B
Title: Re: Image Verification issue
Post by: 2bz2p on September 18, 2007, 12:58:02 AM
Please excuse my double post once again  :-\,

So I just went to the site and the laguage like reverted back to UTF8 and until I went and change it to english, the text/image verification wouldnt come back.

I dont have a clue what the problem is, but its definately a language problem.

Thanks for all your help,
2B
Title: Re: Image Verification issue
Post by: Zetan on September 18, 2007, 02:31:21 PM
Quote from: 2bz2p on September 17, 2007, 11:18:49 PM
Hi all,

    Excuse my double post please, though I uninstalled SMF and Reinstalled it. When I install Tiny portal the verification works, once I copy the English-UTF8 files into the themes/default/languages it stops working.

Any suggestions,
2B

Is your forum configured to use UTF-8?

Some of this guide has pointers for UTF-8 conversion.
http://www.tinyportal.net/index.php?topic=16356

If you re-installed theres a 50% chance its IS0, depending on how you installed it.
Title: Re: Image Verification issue
Post by: 2bz2p on September 18, 2007, 09:21:14 PM
Zetan,

     Thanks for the suggestion I tried it and it didnt work out.

I thought maybe it was the UTF8 alone with out TP, though when I uninstalled TP and set the language to english-UTF8, I still had the image verification. I then installed TP under the UTF8 language setting and the verification was gone.

Thanks again, I am gonna keep racking my brain with trial and error situations,
2B

EDIT: Since this is a website for just me and my friends and stuff, I am not going to stress about the verification and manually approve everyone, though if yall come up with any Ideas please post em and I will try it.

Thanks again
2b
Title: Re: Image Verification issue
Post by: 2bz2p on September 18, 2007, 11:09:38 PM
Once again please excuse my double posts ( I should just copy and paste this)

So I was copying all my english.php files and pasting them in the english-utf8.php files and I was like what the heck why not do the same with the TP Language files.

I notice some interesting about them when I did this:
<?php

<?php
// Version: 0.9; TPortalAdmin

$txt['tp-by'] = 'by';
$txt['tp-adminonly'] = 'You have no access. Only Admins can view this section.';
$txt['tp-generalsettings'] = 'General Settings';


After I had copied all the files the image verification is working and everything seems to be happy.

Once again thank you all for your suggestions and comments. I do appoligize for any wrong doing (i.e. PMing Zetan)
2B
Title: Re: Image Verification issue
Post by: Zetan on September 19, 2007, 07:09:30 AM
hmmm.. I've not seen that happen before.
Title: Re: Image Verification issue
Post by: greenie on December 21, 2007, 04:23:00 PM
I have the same problem.

It seems the problem emerges when your database is in UTF-8 format and you use UTF-8 language files.

I'll have to check my TPortal language files and see if that helps. While doing that, I could also translate the files in to Finnish :)
Title: Re: Image Verification issue
Post by: Zetan on December 21, 2007, 04:36:09 PM
That would be good  :up:
Title: Re: Image Verification issue
Post by: greenie on December 21, 2007, 07:30:52 PM
Unfortunately it wasn't the language files. I also tried to change the language from finnish-utf8 to english, but that didn't make any difference.

Does TP somehow expect to get latin1 from the database and freaks out from UTF-8?
Title: Re: Image Verification issue
Post by: greenie on December 21, 2007, 08:52:35 PM
FIXED!

Basically, it was an UTF-8 problem after all. I found out, that I had saved an UTF-8 Byte Order Mark header to my theme's index.template.php while I had edited the file in Windows.

I use Linux on my server, so basically just I went to search for the header by looking for...

grep -R *\?php *

And looking through all the headers. And sure enough - it was there.

I removed the BOM header from the with my editor (UltraEdit) by saving the file as "UTF-8 NO BOM".

Weird how this came up only after installing TP, but I'm glad I found the cure :)
Title: Re: Image Verification issue
Post by: Zetan on December 21, 2007, 10:25:00 PM
Good stuff.. I'm pleased you fixed it  8)