Page 1 of 1

Problem: Captcha Bild fehlt

Posted: Wed 31. Mar 2010, 22:05
by gent
Hallo,

ich habe phpwcms 1.4.2 installiert und kann im email-formular kein Captcha Bild sehen. Gibt es da spezielle Stolpersteine die man aus dem Weg räumen muss? Ich würde sagen die phpwcms-Installation ist richtig durchgeführt, der Fehler könnte irgendwo in der Apache/PHP config stecken?

Hat jemand Ideen wo ich anfangen kann zu suchen?

Das Formular mit fehlendem Captcha Bild liegt hier: http://andreas.a6k.de/
Die phpinfo darf man auch sehen: -link gelöscht-

Könnte es am mod_deflate liegen?
Ich bin für alle Hinweise dankbar!
.. gent

Re: Problem: Captcha Bild fehlt

Posted: Wed 31. Mar 2010, 23:05
by Heiko H.
Hallo,
gent wrote:Ich bin für alle Hinweise dankbar!
Ja, dann...
...was denkst Du warum in phpwcms die phpinfo() nur im passwortgeschützen Backend erreichbar ist?!?

Nochmal für alle:
POSTET NUR AUF ANFRAGE SPEZIELLE TEILE DER AUSGABE VON phpinfo()!!! - Speziell dann, wenn die Konfiguration einer schriftlichen Einladung zum Einbruch gleichkommt!

Zu deinem Captchaproblem:
Ist der Teil in der Config korrekt konfiguriert?

Code: Select all

$phpwcms['use_gd2']           = 1; //0 = GD1, 1 = GD2
Grüße Heiko...

Re: Problem: Captcha Bild fehlt

Posted: Thu 1. Apr 2010, 00:10
by gent
also zur phpinfo,... das ist eine testseite, und der virtualhost wird gelöscht wen ich dieses problem gelöst habe. da hab ich nicht die große angst das jemand auf grund meiner info reinkommt. ausserdem denke ich, wer in (m)einen server reinkommt, der braucht nicht wirklich eine phpinfo :)

hier mal der auszug aus der conf.inc.php:

Code: Select all

// other stuff
$phpwcms['compress_page']     = 0; //0 = OFF, 1-9: page compression ON (1 = low level, 9 = highest level)
$phpwcms['imagick']           = 0; //0 = GD,  1 = ImageMagick, 2 = ImageMagick 4.2.9
$phpwcms['imagick_path']      = ''; //Path to ImageMagick (default='' - none)
$phpwcms['use_gd2']           = 1; //0 = GD1, 1 = GD2
$phpwcms['rewrite_url']       = 0;  //whether URL should be rewritable
$phpwcms['wysiwyg_editor']    = 2;  //0 = no wysiwyg editor, 2 = FCKeditor, 4 = spaw
$phpwcms['phpmyadmin']        = 0;  //enable/disable phpMyAdmin in Backend
$phpwcms['allowed_lang']      = array('en');     //array of allowed languages: array('en', 'de', 'fr', 'es')
$phpwcms['DOCTYPE_LANG']      = '';		  //by default same as $phpwcms['default_lang'], but can be injected by whatever you like
$phpwcms['default_lang']      = 'de';  //default language
$phpwcms['charset']           = 'utf-8';  //default charset 'iso-8859-1'
$phpwcms['allow_remote_URL']  = 1;  //0 = no remote URL in {PHP:...} replacement tag allowed, 1 = allowed
$phpwcms['gt_mod']            = 1;  //0 = Graphical Text MOD disabled, 1 = enabled
$phpwcms['jpg_quality']       = 85; //JPG Quality Range 25-100
$phpwcms['sharpen_level']     = 1;  //Sharpen Level - only ImageMagick: 0, 1, 2, 3, 4, 5 -- 0 = no, 5 = extra sharp
$phpwcms['allow_ext_init']    = 1;  //allow including of custom external scripts at frontend initialization
$phpwcms['allow_ext_render']  = 1;  //allow including of custom external scripts at frontend rendering
$phpwcms['cache_enabled']     = 0;        //cache On/Off - 1 = caching On / 0 = caching Off (default)
$phpwcms['cache_timeout']     = 0;  //default cache timeout setting in seconds - 0 = caching Off
$phpwcms['imgext_disabled']   = '';  //comma seperated list of imagetypes which should not be handled 'pdf,ps'
$phpwcms['multimedia_ext']    = 'aif,aiff,mov,movie,mp3,mpeg,mpeg4,mpeg2,wav,swf,swc,ram,ra,wma,wmv,avi,au,midi,moov,rm,rpm,mid,midi'; //comma seperated list of file extensiosn allowed for multimedia
$phpwcms['inline_download']   = 1;  //1 = try to display download documents in new window; 0 = show safe under dialog
$phpwcms['form_tracking']     = 1; //make a db entry for each form
$phpwcms['formmailer_set']    = array('allow_send_copy' => 0, 'global_recipient_email' => 'form@localhost'); //for better security handling
$phpwcms['allow_cntPHP_rt']   = 0; //allow PHP replacement tags and includes in content parts
$phpwcms['GETparameterName']  = 'id'; //must have a minimum of 2 chars 
$phpwcms['BOTS']              = array('googlebot', 'msnbot', 'bingbot', 'ia_archiver', 'altavista', 'slurp', 'yahoo', 'jeeves', 'teoma', 'lycos', 'crawler'); //don't start session 
$phpwcms['mode_XHTML']        = 1; // Doctype: 1 = XHTML 1.0 Transitional, 0 = HTML 4.01 Transitional, 2 = XHTML 1.0 Strict 
$phpwcms['header_XML']        = 0; // Content Type: 1 = application/xhtml+xml, 0 = text/html 
$phpwcms['IE_htc_hover']      = 0; // enables HTC Hover for IE < 7 - has no effect in other browsers 
$phpwcms['IE_htc_png']        = 0; // enables HTC pngbehavior for IE < 7 - has no effect in other browsers 
$phpwcms['Bad_Behavior']      = 0; // 1 enables spam blocking by Bad Behavior, 0 off 
$phpwcms['wysiwyg_template']  = array( 'FCKeditor' => 'phpwcms_basic,phpwcms_default,Default,Basic', 'SPAW2' => 'standard,all,mini' );
$phpwcms['GET_pageinfo']      = 0; // will add "&pageinfo=/cat1/cat2/page-title.htm" based on the breadcrumb information for each site link 
$phpwcms['version_check']     = 1; // checks for current release of phpwcms online 
$phpwcms['SESSION_FEinit']    = 1; // set 1 to enable sessions in frontend, 0 to disable sessions in frontend 
$phpwcms['Login_IPcheck']     = 0; 
$phpwcms['frontend_edit']	  = 0; // enable content specific direct links - linking direct into the backend 
$phpwcms['gd_memcheck_off']   = 0; // disable GD php memory check before resize an image 
$phpwcms['enable_chat']		  = 0; // enable or disable chat function, by default it is disabled - not recommend anymore to use it 
$phpwcms['enable_messages']	  = 0; // enable or disable internal messags, by default it is disabled - not recommend anymore to use it 
$phpwcms['enable_seolog']	  = 1; // enable or disable logging of search engine referrer data 
$phpwcms['i18n_parse']	  	  = 1; // enable|disable browser based language parser - all @@Text@@ will be parsed and checked for translation/var based replacement
$phpwcms['i18n_complex']	  = 0; // enable|disable the way browser language setting should be used, false = the easier way (always 2 chars 'en'), true - 'en-gb'...
$phpwcms['FCK_FileBrowser']   = 1; // enable|disable phpwcms Filebrowser in FCKeditor instead of built-in FCK file bowser support
$phpwcms['JW_FLV_License']    = ''; // insert your JW FLV Media Player License Code here - License warning will no longer displayed
$phpwcms['feuser_regkey']	  = 'FEUSER';
$phpwcms['login.php']	  	  = 'login.php';

Re: Problem: Captcha Bild fehlt

Posted: Thu 1. Apr 2010, 07:42
by flip-flop
Vielleicht lässt der Suhosin Variablenfilter auf GET nicht das durch was dazu gebraucht wird.

Bsp:
img/captcha.php?regen=y&1270099245
Irgendetwas scheint deinen Server daran zu stören. Eine andere Erklärung hätte ich nicht, außer es fehlen Dateien was ich aber nicht glaube.

(MathSpam ist für mich die bessere Wahl).

Knut

Re: Problem: Captcha Bild fehlt

Posted: Thu 1. Apr 2010, 21:35
by gent
das müsste doch irgendwie in der php.ini zu beheben sein,
ich hab nur keine ahnung wie und wo.

kann da jemand weiterhelfen?

Re: Problem: Captcha Bild fehlt

Posted: Thu 1. Apr 2010, 22:55
by flip-flop
Das ist ja erst einmal eine Vermutung von mir dass es daran liegen könnten.

http://entwickler.com/itr/online_artike ... id,62.html

Knut