| Author |
Message |
dijares
Joined: 11 Nov 2006 Posts: 40
|
|
Nothing is showing up for me |
|
Okay, this option is one of the MAIN reasons that I've gone with RU. But, nothing at all is showing up. Here's the code for my template (a portion):
 |  |
<tr>
<td width="49" height="1"><font style="font-family:arial, sans-serif; color:#000000; font-size:12;">
Mail:</font>
</td>
<td width="289" height="1"> <input type="text" name="mail" tabindex="2"> <font style="font-family:arial, sans-serif; color:#000000; font-size:12;">(optional)</font></td>
</tr>
<tr>
<td>
{captcha}
</td>
</tr>
</center>
<tr>
<td width="51" height="1">
<p align="left"><font style="font-family:arial, sans-serif; color:#000000; font-size:12;">Smile:</font></p>
</td>
<center>
<td width="291" height="1" >
{smilies}
</td>
</tr>
|
Here is the code that I've changed to help with the image and the finding the file issue:
 |  | <?php
// include captcha class
require('/mysite.com/public_html/news/plugins/captcha/php-captcha.inc.php');
// define fonts
$aFonts = array('/mysite.com/public_html/news/plugins/captcha/VeraMoBd.ttf');
// create new image
$oPhpCaptcha = new PhpCaptcha($aFonts, 200, 60);
//$oPhpCaptcha->DisplayShadows(true);
$oPhpCaptcha->UseColour(true);
$oPhpCaptcha->Create();
?> |
But, still, absolutely nothing shows up.
I've made sure the plug in is active, i've cleared cache...
what now?
I really can not have the issues I had before with the spammers - i had nearly 5,000 postings from spammers in my archives, making my comments txt over 55mb. I just can't have that.
Last edited by dijares on Sun Nov 19, 2006 5:10 am; edited 1 time in total |
|
| Wed Nov 15, 2006 1:15 pm |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2736 Location: Germany |
|
|
|
Are you sure you've put the {captcha} in the correct template? Not seeing anything doesn't make sense at all. 
|
|
| Wed Nov 15, 2006 9:03 pm |
|
 |
dijares
Joined: 11 Nov 2006 Posts: 40
|
|
Yup |
|
Yup, most definitely in my comment form template section.
I'm going to try to mess with the file location some more. Maybe I can get it to work.
Okay, just can't seem to get it to work. Here is my entire code (actually gave a width to the td this time) for my comment form:
 |  | <table width="483" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
<tr>
<td width="49" height="1"><font style="font-family:arial, sans-serif; color:#000000; font-size:12;">
Name:</font>
</td>
<td width="289" height="1"><input type="text" name="name" tabindex="1"></td>
</tr>
<tr>
<td width="49" height="1"><font style="font-family:arial, sans-serif; color:#000000; font-size:12;">
Mail:</font>
</td>
<td width="289" height="1"> <input type="text" name="mail" tabindex="2"> <font style="font-family:arial, sans-serif; color:#000000; font-size:12;">(optional)</font></td>
</tr>
<tr>
<td width="480">
{captcha}
</td>
</tr>
</center>
<tr>
<td width="51" height="1">
<p align="left"><font style="font-family:arial, sans-serif; color:#000000; font-size:12;">Smile:</font></p>
</td>
<center>
<td width="291" height="1" >
{smilies}
</td>
</tr>
<tr>
<td width="340" height="1" colspan="2"> <textarea cols="40" rows="6" name="comments" tabindex="3"></textarea><br />
<input type="submit" name="submit" value=" Add My Comment " accesskey="s">
</td>
</tr>
</table> |
Here is the code to my captcha.php
 |  | <?php
// include captcha class
require('http://www.mysite.com/news/plugins/captcha/php-captcha.inc.php');
// define fonts
$aFonts = array('http://www.mysite.com/news/plugins/captcha/VeraMoBd.ttf');
// create new image
$oPhpCaptcha = new PhpCaptcha($aFonts, 200, 60);
//$oPhpCaptcha->DisplayShadows(true);
$oPhpCaptcha->UseColour(true);
$oPhpCaptcha->Create();
?> |
Do you see anything wrong? I've made the file direction all different sorts of ways, but can't figure it out...
Last edited by dijares on Sun Nov 19, 2006 5:11 am; edited 1 time in total |
|
| Wed Nov 15, 2006 11:22 pm |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2736 Location: Germany |
|
|
|
1.
Maybe you've put it into the default template whereas you are using another template?
It's very strange that there is nothing at all. Even if the image is not showing you should see at least the input box and "Enter this code in the field below."
2.
Please go to Options -> Manage Templates -> Comment form.
Do you see {captcha} - Shows the confirmation image and text field in the list of available tags? (Seeing this confirms that the plugin is activated.)
|
|
| Thu Nov 16, 2006 12:46 am |
|
 |
dijares
Joined: 11 Nov 2006 Posts: 40
|
|
|
|
Yeah, it's definitely in my redupgrade template. It's quite strange. I even asked my server administrator to look at it (as he's a php guru as well). He just tried putting the word - OH DANG!! I AM SUCH A DORK.
I just realized that I still have my secondary page (called news.php) pointing toward my test template. ahhhhhhhh no wonder - geez, I am so sorry!
Thank you SOOO much for your help! Geez, I'm so stupid. thank you thank you thank you!
Edit:
Okay, it showed up great, but when I went to go use it, it doesn't post up my comment, and it goes to a blank (just my template) page. I've used the entire coding to the captcha file, seen here:
 |  | <?php
// include captcha class
require('http://www.mysite.com/news/plugins/captcha/php-captcha.inc.php');
// define fonts
$aFonts = array('http://www.mysite.com/news/plugins/captcha/VeraMoBd.ttf');
// create new image
$oPhpCaptcha = new PhpCaptcha($aFonts, 200, 60);
//$oPhpCaptcha->DisplayShadows(true);
$oPhpCaptcha->UseColour(true);
$oPhpCaptcha->Create();
?> |
But, then, after I tried to change it up a bit, it went away, and has never come back, even after I changed the captcha.php file back to what it was originally. So, I removed it from my template until I can figure out what's wrong....
sigh...
any ideas?
Last edited by dijares on Sun Nov 19, 2006 5:11 am; edited 1 time in total |
|
| Thu Nov 16, 2006 4:26 am |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2736 Location: Germany |
|
|
|
I suggest you install a second version of the script with the captcha plugin enabled. That way we can try to find the problem while your main page is fully working.
|
|
| Thu Nov 16, 2006 9:28 pm |
|
 |
dijares
Joined: 11 Nov 2006 Posts: 40
|
|
|
|
Okay, I reinstalled it, and it's showing up with your original coding. However, it is STILL giving me a blank page when I test it.
I tried use different file structures, but I can't seem to get it to work.
I can't leave it activated if it's not working, as I have far too many people that look at my articles (I had three via google news today) and want to post comments. I will try to keep checking back tomorrow and if I see you on, I will try to activate it then.
Thanks.
|
|
| Fri Nov 17, 2006 4:28 am |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2736 Location: Germany |
|
|
|
I wasn't talking about reinstalling it. I want you to install a second version parallel to your main installation so your users aren't affected by the test installation.
|
|
| Fri Nov 17, 2006 10:22 am |
|
 |
snoopy
Joined: 28 Mar 2006 Posts: 25
|
|
error message |
|
getting this error message Fatal error: Call to undefined function: imageftbbox() in /home/www/frankwarren/drill/News/plugins/captcha/php-captcha.inc.php on line 288
was working fine until last few days. can anyone help, ive tried re installing still not working wont show image on news page either.
|
|
| Tue Jan 02, 2007 12:01 am |
|
 |
PepeT
Joined: 11 Nov 2005 Posts: 80 Location: Finland |
|
|
|
Everything works fine (images are shown correctly) but when i've clicked "Submit" it gives me this error.
Fatal error: Undefined class name 'phpcaptcha' in /home/int2000/21439/html/toimitus/plugins/captcha.php on line 48
Help, please. Our site has been spammed!
EDIT : Actually i solved that one out, but now it won't accept the numbers and release the comment. So where's the problem?
|
|
| Fri Jan 19, 2007 3:46 pm |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2736 Location: Germany |
|
|
|
Most likely it's because of multiple includes.
So what's the structure of your site. What are your include codes?
I'm trying to recreate the situation.
|
|
| Fri Jan 19, 2007 4:06 pm |
|
 |
PepeT
Joined: 11 Nov 2005 Posts: 80 Location: Finland |
|
|
|
 |  | Most likely it's because of multiple includes.
So what's the structure of your site. What are your include codes?
I'm trying to recreate the situation. |
What that has to do with the problem "now it won't accept the numbers and release the comment." ?
It goes to the next page and says "go back and enter the numbers of..."
You can test it here : http://www.rokkizine.com/haastattelut.php?id=3507
|
|
| Fri Jan 19, 2007 4:09 pm |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2736 Location: Germany |
|
|
|
I tested it, my friend.
Since this plugin is perfectly working with single includes and since I believe that you are smart enough to install it, the only possibility left is that it has something to do with multiple includes. That's why I asked for your include codes to be able to setup a situation like yours.
Anyway, I can't wait any longer for your decision to give me the codes. I'll look at it Sunday evening or Monday.
Happy weekend.
|
|
| Fri Jan 19, 2007 4:44 pm |
|
 |
PepeT
Joined: 11 Nov 2005 Posts: 80 Location: Finland |
|
|
|
First one :
<?PHP
$number = "1";
$template = "Haastattelut";
include("/path/show_news.php");
?>
Second one (on the left side of the website) :
<?PHP
$static = "true";
$number = "9";
$template = "arvostelut_versio3";
$category = "2,14,17";
include("/path/show_news.php");
?>
|
|
| Sun Jan 21, 2007 12:49 pm |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2736 Location: Germany |
|
|
|
Thanks, I'll look at it as soon as possible.
|
|
| Mon Jan 22, 2007 8:39 pm |
|
 |
|