I think there is another possible bug. The captcha (visual verification) when you try to comment on an article is broken.
Try and reupload the TP files from the package again, and make sure they are uploaded correclty and also that the folders are readable for the images so they can be fetched by th script
What do you mean by upload the TP files? Upload all of them? I am confused. Thanks.
Yes, upload ALL the TP files. This will hopefully ensure that there was no corruption to the files during the install process when they were uploaded previously.
Via FTP? If I I am being a pain I apologize, I just don't want to ruin anything.
Well, when I change the themethe site shows up like the attachment Opera 2 when using Opera.
Also in Admin the image shows how my admin area appears.
Could these all be related?
Again, both of these problems are when using Opera.
yes Chris, this is what you do:
grab a copy of the tp version you are using and open on your desktop, then get your ftp out and go to where you forum is and upload each file in the tp mod folder one at a time.. then try it again.. you should be good to go..
sometimes the ftp might skip parts of a file, even tho it saysit uploads it all the first time ;) (or even via the package manager in the admin panel on your site) ;)
looking like your theme didnt take either.. try loading your custom theme that way as well. :coolsmiley:
I just don't want to lose any of the customizations. :(
I will give it a go now. Oh well right?
Thanks.
you wont loose a thing Chris.. i promise ^-^
Nope nothing changed.
Also it seems to be something on my end. I checked with other browsers on oter systems (thanks browsershots.org) and everything appers fine except on my computer :(.
When I change to the default theme (CORE) I get this error at the top of the page
Parse error: syntax error, unexpected '<' i***/*****/Sources/Load.php(1741) : eval()'d code(183) : eval()'d code on line 1
ok so try to reupload the smf files as well.. post back, im sure we can get you going right.. ;)
Here is the full error:
Quote
Apply Filter: Only show the errors with the same message
8: Undefined index: HTTP_X_UP_DEVCAP_SCREENPIXELS
/f/Sources/Load.php(1741) : eval()'d code
37
That seems like an error possibly related to the graphics library that loads within the server. CAPTCHA use font libraries to render the images.
Have CAPTCHA been working before?
Quote from: Bloc on October 23, 2008, 04:20:13 PM
That seems like an error possibly related to the graphics library that loads within the server. CAPTCHA use font libraries to render the images.
Have CAPTCHA been working before?
Yes.
It doesn't work because you have added some custom code to the theme BEFORE the <doctype> delcaration. You'll also notice that captcha for registration doesn't work if you have it enabled. This is a common problem some people seem to make. You've put a div in your index.template.php I'm assuming. This <div> needs to be moved directly AFTER the <body> tag. All your captcha stuff should start working after that.
I had the same problem a little while back and it wasn't Tinyportal that created the problem, it was an issue with SMF.
If your problem is the same as mine then you'll probably notice you haven't had anyone register on your site for a while. This is because the captcha affects the register page as well. To check this just try and register on your site, if the image is blank then it's the same problem I had.
Here's what I did to fix it...
Open up Sources/Subs-Graphics.php
Find:
foreach ($characters as $char_index => $character)
{
// Can we use true type fonts?
$can_do_ttf = function_exists('imagettftext');
// How much rotation will we give?
if ($rotationType == 'none')
Replace with:
foreach ($characters as $char_index => $character)
{
// Can we use true type fonts?
// Not on this server...
$can_do_ttf = false;
// How much rotation will we give?
if ($rotationType == 'none')
Remember to backup this file before changing anything.
Hope this helps...;)
There is no reason to make the above change if you follow my post.
FUBAR, I really appreciate the help. But changing that code turns off TrueType fonts, which is not necessary, and really should only be used as a last option if you have exhausted other options.
Quote from: IchBinâ,,¢ on October 24, 2008, 12:03:04 AM
It doesn't work because you have added some custom code to the theme BEFORE the <doctype> delcaration. You'll also notice that captcha for registration doesn't work if you have it enabled. This is a common problem some people seem to make. You've put a div in your index.template.php I'm assuming. This <div> needs to be moved directly AFTER the <body> tag. All your captcha stuff should start working after that.
Thanks.
That worked for the CAPTCHA. :up: :up: :up:
Quote from: IchBinâ,,¢ on October 24, 2008, 12:18:19 AM
There is no reason to make the above change if you follow my post.
FUBAR, I really appreciate the help. But changing that code turns off TrueType fonts, which is not necessary, and really should only be used as a last option if you have exhausted other options.
I tried to look for <div> in my index.template.php in my default theme folder and my custom theme, although couldn't find it. I would really like to solve this problem as well but using the correct method. Is there something I'm doing wrong or am I looking on the wrong place?
I am currently using the method I posted to correct the issue but would much rather have it corrected the proper way.
It can also happen if you have a mod that screws up something on the install. For instance, if a mod adds a blank space or extra line before the <?php or after the ?> in any of the files. It can be a beast to hunt down some times. If you can't find anything, I'd be willing to take a look if you'd like.
I'm having the same type of problem. I added recaptcha to handle the registration visual, but the article comment visual is still broken. Screenshot attached. Should I try the same advice previously given in this thread ... re-up all the TP files?
Here's a link to an article: http://www.kywilderness.com/forum/index.php?page=41
Comments are off for guests... not sure where to change that.
thanks,
~keith
The best option would be to follow the diffrent options given in this thread yes. There are several to try before reuploading the tp files.
The possibilities I see in this thread:
in order they appear:
(1) re-up TP files
(2) re-up SMF files
(3) check for code before <doctype> ; this has already been done
(4) edit Subs-Graphics.php ; though another comment says there's no need. ; This was suggested elsewhere and has already been tried with no change.
So I should re-up the SMF files first? What about mods that have been installed? Sorry if it's a dense question, but I'm helping out a friend with this and wasn't all that involved in the original install.
If you reupload the SMF files, all your mods will be lost and you will have to reinstall them, with lost i mean codewise, the db for the mods using db will have all the data left.
Start with uploading a fresh set of TP files, if that doesent work, you need to replace the SMF files to make a clear start and reinstall the mods again.
thanks. i'll give that a shot and report on the results.