×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me

TOPIC: Security Image

Security Image 15 years 9 months ago #220

  • choudhury
  • choudhury's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Hi,
I have just installed JoomlaComment on my test site.. www.dev.worldbznews.com and can not see the security image. Any idea? Thanks in advance.

Security Image 15 years 9 months ago #221

  • Ajay Lulia
  • Ajay Lulia's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 32
  • Thank you received: 0
Hi Choudhury,

I think you do not have GD library installed on the server,

You can check if GD is enabled or not by by putting a php file with phpinfo() and then call it from browser.

Basically you should see following in GD section:

GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.4
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

Cheers,

Security Image 15 years 9 months ago #222

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
There is also an easier way to check if GD is enabled. Log in your joomla administration, go to help -> system info and there you can look for GD library.
Either it is the GD library not installed or it is file permission issue(I think)

Security Image 15 years 9 months ago #228

  • choudhury
  • choudhury's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Thank you for your reply guys. I believe my GD is installed already. Below is the info...However I am using PHP 5.2.5
==============
GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.9
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XPM Support enabled
XBM Support enabled

===========
Here is my core configuration in case yo want to know...
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
allow_url_include Off Off
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_globals_jit Off Off
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
detect_unicode On On
disable_classes no value no value
disable_functions no value no value
display_errors STDOUT STDOUT
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log php_errorlog php_errorlog
error_prepend_string no value no value
error_reporting 6133 6133
expose_php On On
extension_dir /usr/local/php52/lib/php/extensions /usr/local/php52/lib/php/extensions
file_uploads On On
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors On On
ignore_repeated_source On On
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/usr/local/php52/pear .:/usr/local/php52/pear
log_errors On On
log_errors_max_len 1024 1024
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
mail.force_extra_parameters no value no value
max_execution_time 30 30
max_input_nesting_level 64 64
max_input_time 60 60
memory_limit 64M 64M
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 32M 32M
precision 6 6
realpath_cache_size 16K 16K
realpath_cache_ttl 120 120
register_argc_argv Off Off
register_globals Off Off
register_long_arrays On On
report_memleaks On On
report_zend_debug On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 24M 24M
upload_tmp_dir no value no value
user_dir no value no value
variables_order GPCS GPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.ze1_compatibility_mode Off Off

Security Image 15 years 9 months ago #252

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081

[10:54:59] Ajay Lulia : hey!
[10:55:12] Daniel Dimitrov : hey hey :)
[10:55:23] Ajay Lulia : the site is giving internal server error
[10:55:23] Ajay Lulia : www.dev.worldbznews.com/components/com_c...777a68b1d9baa9b6fa80
[10:55:29] Ajay Lulia : when generating image
[10:55:37] Ajay Lulia : we will need to check logs
[10:55:41] Ajay Lulia : as to what is the error

Security Image 15 years 9 months ago #271

  • Moixa
  • Moixa's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
I have the same problem, all the above are enabled in the php, I am using joomla 1.5, I cannot see the security image, thanks in advance

Security Image 15 years 9 months ago #341

  • Razor
  • Razor's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Same problem here, does anyone have an answer? If you can take a look at this page I would appreciate it.

QuicksSilver Templates

Security Image 15 years 9 months ago #344

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
You too, are getting Server Internal Error:
http://quickssilver.com/components/com_comment/joscomment/captcha.php?refid=ffd09b4bb79c684661fd37b3294edfae

Please look at your error log for more info.

Security Image 15 years 9 months ago #349

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
One of the reasons why captcha is not working are file permissions.
Check the file permission of captcha.php and if different than 644, change it to 644.

Security Image 15 years 8 months ago #497

  • katerina
  • katerina's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Hi,
yesterday I installed Jomla! Comments and today gd support. But I have the same problem - I can't see the image.

From error log:

[Thu Aug 07 09:56:29 2008] [error] [client 176.16.0.2] PHP Warning: imagepng(): supplied argument is not a valid Image resource in /srv/www/htdocs/Joomla/components/com_comment/joscomment/captcha.php on line 70, referer: intranet.plbohnice.cz/index.php?option=c...view&id=91&Itemid=93

I think I need have installed support for something more ?

Thanx

Security Image 15 years 8 months ago #503

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Which version of GD did you install.
On line 70 is the imagepng function: de2.php.net/imagepng

Hinweis: ACHTUNG: Die PNG-Unterstützung ersetzt die GIF-Funktionen ab der GD-Bibliothek Version 1.6. Diese Funktion ist also nur verfügbar, wenn Sie eine Version ab 1.6 verwenden.

Security Image 15 years 8 months ago #506

  • katerina
  • katerina's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
From phpinfo:

GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.10
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XPM Support enabled
XBM Support enabled
JIS-mapped Japanese Font Support enabled

Security Image 15 years 8 months ago #508

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Would you check the following with Filezilla.

go to /srv/www/htdocs/Joomla/components/com_comment/joscomment/captcha and look for the png pictures. Do you see them there?

Did you make any changes to captcha.php?

Security Image 15 years 8 months ago #509

  • katerina
  • katerina's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
I found that there is a module for Apache2 named mod-captcha.
I am a little afraid of installing to production server, so I ask first: Can this be the right way to make it work?

Security Image 15 years 8 months ago #510

  • katerina
  • katerina's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
No, I did no changes and yes, the pictures are there

Security Image 15 years 8 months ago #621

  • Tim Brown
  • Tim Brown's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
I have been lurking hoping that your reponse to this would solve my problem. I have renabled the the captcha function at my site. www.fungreenfair.com . I have not changed the
I am wondering if I could install a second version of the

My
!JoomlaComment 3.26 by Compojoom.com - joomlacode.org/gf/project/joomagecomment

GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.9
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XPM Support enabled
XBM Support enabled

Error Comment - won't reload the security image.

When I "view image"
error message appears

fungreenfair.com/components/com_comment/...a4c2cd761fd23f092f44

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, This email address is being protected from spambots. You need JavaScript enabled to view it. and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Security Image 15 years 1 week ago #3612

  • lucato
  • lucato's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
Hi guys, I'm having the same issue. Here are some info:

- The Security image isn't showing;
- The captcha.php file is set as 644;
- I got the bg1.png to bg3.png files into the Captcha folder;
- The GD is enabled and its version is bundled (2.0.34 compatible);
- Joomla version is 1.5.8;
- The installed JoomlaComment version is 3.26;
- PHP version is 5.2.8;
- MySQL Client API version is 5.0.77;
- No error message shows in my site, just the Security Image doesn't show up;

Any idea how to fix it?

Thanks in advance.

Security Image 15 years 1 week ago #3613

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
right click on the image ->properties and then copy the path. Paste in the url and check if the image is generating internal server error message.

Security Image 15 years 1 week ago #3614

  • lucato
  • lucato's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
Hi Daniel, good morning.

Yup, here is the error message:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, This email address is being protected from spambots. You need JavaScript enabled to view it. and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Just to let you know the joscomment and captcha folders are set as 755 attributes.

Security Image 15 years 1 week ago #3615

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
and what does the error log say?
Time to create page: 0.231 seconds