NO captcha images iis 6

Phoca Guestbook - creating guestbooks in Joomla! CMS
maccert
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 27 Nov 2008, 11:01

NO captcha images iis 6

Post by maccert »

Hello
I’ve installed joomla 1.5.8 on my iis 6 server then installed the phoca guestbook. Everything works fine only captcha is not displaying the images :x . Installed more test sites still the same problem...
I’ve followed up the other instructions in this forum but nothing helps :!:
please help me.
Thanks.
grtz mac
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48689
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: NO captcha images iis 6

Post by Jan »

Hi, please let me know your site...

Jan
If you find Phoca extensions useful, please support the project
maccert
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 27 Nov 2008, 11:01

Re: NO captcha images iis 6

Post by maccert »

hello
the website is http://www.sennabrandt.nl menu link gastenboek.
thanks for your response :twisted:
grtz mac
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48689
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: NO captcha images iis 6

Post by Jan »

there is a wrong image path:

<img src="/index.php?option=com_phocaguestbook&view=phocaguestbooki&id=1&Itemid=53&phocasid=8b220cefe6d537c17ee9dd32223d6a5f" alt="Captcha Image" id="phocacaptcha">

/index.php ... did you try both method of displaying image on the site (JHTML, JROUTE in parameters component)


Jan
If you find Phoca extensions useful, please support the project
maccert
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 27 Nov 2008, 11:01

Re: NO captcha images iis 6

Post by maccert »

hi
i've tried both methods of displaying image on the site JHTML and JROUTE but both are not working.
where can ik find the path to the images?
grts mac
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48689
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: NO captcha images iis 6

Post by Jan »

see this file:

components\com_phocaguestbook\views\phocaguestbook\tmpl\default.php

line 315 +

Jan
If you find Phoca extensions useful, please support the project
maccert
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 27 Nov 2008, 11:01

Re: NO captcha images iis 6

Post by maccert »

hi
can't see anything wrong here? everything is default i gues.

<!-- <img src="<?php echo JRoute::_('index.php?option=com_phocaguestbook&view=phocaguestbooki&id='.$this->id.'&Itemid='.$this->itemid.'&phocasid='. md5(uniqid(time()))) ; ?>" alt="<?php JText::_('Captcha Image'); ?>" id="phocacaptcha" />
-->
<?php echo JHTML::_( 'image.site','index.php?option=com_phocaguestbook&view=phocaguestbooki&id='.$this->id.'&Itemid='.$this->itemid.'&phocasid='. md5(uniqid(time())) , '', '','',JText::_('Captcha Image'), array('id' => 'phocacaptcha')); ?>
</td>

<td width="5" align="left" valign="middle"><input type="text" id="pgbcaptcha" name="captcha" size="6" maxlength="6" style="border:1px solid #cccccc"/></td>

<td align="left" width="5" valign="middle"><a <?php //Remove because of IE6 - href="javascript:void(0)" onclick="javascript:reloadCaptcha();" ?> href="javascript:reloadCaptcha();" title="<?php echo JText::_('Reload Image'); ?>" ><?php echo JHTML::_( 'image.site', 'components/com_phocaguestbook/assets/images/icon-reload.gif', '', '','',JText::_('Reload Image')); ?></a></td>

<td align="left" width="50%"><small style="color:#fc0000;"><?php

// Server side checking CAPTCHA
if ($this->captcha_msg)
{
echo '<small style="color:#fc0000;">'.JText::_( 'Phoca Guestbook Wrong Captcha' ).'</small><br />';
}
//-- Server side checking CAPTCHA
?></small>&nbsp;</td>
</tr>

<?php
}
?>
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48689
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: NO captcha images iis 6

Post by Jan »

try to change the src url for your needs...

Jan
If you find Phoca extensions useful, please support the project
maccert
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 27 Nov 2008, 11:01

Re: NO captcha images iis 6

Post by maccert »

hello
found the problem, gd2 in php.ini was disabled after enabling it the problems with captcha and gallary were gone.....
thanks for supporting me.
mac
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48689
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: NO captcha images iis 6

Post by Jan »

great to hear it, Jan
If you find Phoca extensions useful, please support the project
Post Reply