[opgelost met 1.8.1] PHP fout in pagina met kontaktformulier
Posted: Tue Jun 29, 2010 1:34 pm
CMSMS 1.7.1. (geeen MLE!!! maar core) Captcha module 0.41
Hallo Ik heb een formulier met een Captcha en ik krijg het volgende in mijn pagina:
Notice: Undefined index: path in /is/htdocs/wp10469715_9Z186ZZC5H/www/cmsms/modules/Captcha/lib/classes/captchalibs/class.captchalib_hncaptcha.php on line 50
in de bron heb ik regel 49 en 50 geprobeerd te veranderen maar zonder succes:
$parsed = parse_url($config['root_url']);
$path = $parsed['path'];
als ik $config['root_url'] in $config['root_path'] is de fout weg en ook de captcha!
Hier mijn config.php op een shared hoster:
#-------------
#Path Settings
#-------------
#Document root as seen from the webserver. No slash at the end
#If page is requested with https use https as root url
#e.g. http://blah.com
$config['root_url'] = 'http://www.control-engineering.at';
#SSL URL. This is used for pages that are marked as secure.
$config['ssl_url'] = 'https://www.control-engineering.at';
#Path to document root. This should be the directory this file is in.
#e.g. /var/www/localhost
$config['root_path'] = '/is/htdocs/wp10469715_9Z186ZZC5H/www/cmsms';
#Name of the admin directory
$config['admin_dir'] = 'admin';
#Where do previews get stored temporarily? It defaults to tmp/cache.
$config['previews_path'] = '/is/htdocs/wp10469715_9Z186ZZC5H/www/cmsms/tmp/cache';
#Where are uploaded files put? This defaults to uploads.
$config['uploads_path'] = '/is/htdocs/wp10469715_9Z186ZZC5H/www/cmsms/uploads';
#Where is the url to this uploads directory?
$config['uploads_url'] = $config['root_url'] . '/uploads';
Ik heb een andere CMSMS installatie, waar CMSMS 1.7.1 met Captcha module 0.4 loopt,
Daar is geen probleem.
weet hier iemand wat daar aan te doen is, behalve terug naar 0.40 ipv 0.41?
Met dank,
Jan
Hallo Ik heb een formulier met een Captcha en ik krijg het volgende in mijn pagina:
Notice: Undefined index: path in /is/htdocs/wp10469715_9Z186ZZC5H/www/cmsms/modules/Captcha/lib/classes/captchalibs/class.captchalib_hncaptcha.php on line 50
in de bron heb ik regel 49 en 50 geprobeerd te veranderen maar zonder succes:
$parsed = parse_url($config['root_url']);
$path = $parsed['path'];
als ik $config['root_url'] in $config['root_path'] is de fout weg en ook de captcha!
Hier mijn config.php op een shared hoster:
#-------------
#Path Settings
#-------------
#Document root as seen from the webserver. No slash at the end
#If page is requested with https use https as root url
#e.g. http://blah.com
$config['root_url'] = 'http://www.control-engineering.at';
#SSL URL. This is used for pages that are marked as secure.
$config['ssl_url'] = 'https://www.control-engineering.at';
#Path to document root. This should be the directory this file is in.
#e.g. /var/www/localhost
$config['root_path'] = '/is/htdocs/wp10469715_9Z186ZZC5H/www/cmsms';
#Name of the admin directory
$config['admin_dir'] = 'admin';
#Where do previews get stored temporarily? It defaults to tmp/cache.
$config['previews_path'] = '/is/htdocs/wp10469715_9Z186ZZC5H/www/cmsms/tmp/cache';
#Where are uploaded files put? This defaults to uploads.
$config['uploads_path'] = '/is/htdocs/wp10469715_9Z186ZZC5H/www/cmsms/uploads';
#Where is the url to this uploads directory?
$config['uploads_url'] = $config['root_url'] . '/uploads';
Ik heb een andere CMSMS installatie, waar CMSMS 1.7.1 met Captcha module 0.4 loopt,
Daar is geen probleem.
weet hier iemand wat daar aan te doen is, behalve terug naar 0.40 ipv 0.41?
Met dank,
Jan