Forums / Cotonti / Support / Configuration panel

<<<12

I get none

donP
#16 2009-08-06 08:17
I've finished now to transfer my new SeditioToCotonti site from local to Server...

I've got the same problem of jensig: I absolutely cannot parse admin.php (home)
I've tride to disable xtpl_cache but doesn't work the same! All was OK on my localhost enviroment!

Please, help me!!!

Added 9 hours 9 minutes later:

I have to correct me... my problem is different form jensing one...
All areas of admin.php are accessible via exact link (e.g. admin.php?m=config) but admin.php (so the admin.inc section) result in a total white page (also source page!). The meaning of is a general parsing problem...
I've disabled xtpl_cache with no changes, and in localhost on my PC all is ok... :/
in [color=#729FCF][b]BLUES[/b][/color] I trust
This post was edited by donP (2009-08-06 21:47, 14 years ago)
Trustmaster
#17 2009-08-06 17:43
It is update checker which causes this on your host. The fix is coming in 0.6.2, so far just comment this code in plugins/adminqv/adminqv.php (lines 99-132):
/*$update_info = sed_cache_get('update_info');
if(!$update_info)
{
	if(ini_get('allow_url_fopen'))
	{
		$update_info = file_get_contents('http://www.cotonti.com/update-check');
		if($update_info)
		{
			$update_info = json_decode($update_info, TRUE);
			sed_cache_store('update_info', $update_info, 86400, FALSE);
		}
	}
	elseif(function_exists('curl_init'))
	{
		$curl = curl_init();
		curl_setopt($curl, CURLOPT_URL, 'http://www.cotonti.com/update-check');
		curl_setopt($curl, CURLOPT_RETURNTRANSFER, TRUE);
		$update_info = curl_exec($curl);
		if($update_info)
		{
			$update_info = json_decode($update_info, TRUE);
			sed_cache_store('update_info', $update_info, 86400, FALSE);
		}
		curl_close($curl);
	}
}
if($update_info['update_rev'] > $cfg['revision'])
{
	$t->assign(array(
		'ADMINQV_UPDATE_REVISION' => sprintf($L['adminqv_update_revision'], $cfg['version'], $cfg['revision'], htmlspecialchars($update_info['update_ver']), (int)$update_info['update_rev']),
		'ADMINQV_UPDATE_MESSAGE' => sed_parse(htmlspecialchars($update_info['update_message']), $cfg['parsebbcodepages'], $cfg['parsesmiliespages'], true),
		));
	$t->parse('ADMINQV.UPDATE');
}*/
May the Source be with you!
donP
#18 2009-08-06 21:47
Thank you, boy! ;)

Added 17 minutes later:

Now I've the same problem in registration process... :/

http://www.sangelo.net/users.php?m=register&a=add results in a blank page (also souce page)! X-(
in [color=#729FCF][b]BLUES[/b][/color] I trust
This post was edited by donP (2009-08-06 22:05, 14 years ago)
Trustmaster
#19 2009-08-07 00:55
When you need to see error messages, you can temporarily disable output buffering by commenting these lines in system/common.php:
/*if ($cfg['gzip'])
{ @ob_start('ob_gzhandler'); }
else
{ ob_start(); }

ob_start('sed_outputfilters');*/
Don't forget to uncomment them back after that.
May the Source be with you!
donP
#20 2009-08-07 15:13
I've commented those lines and...

NOTHING!!! :/

No code at all! blank page on browser and blank source code :O

I've tried also enabling debug_mode in config.php but no file was created :( How can I find the mistake?

Added 13 minutes later:

FOUND the error (I must revert to local job in wampserver to see the errors, why?)!

It was an error in reCAPTCHA plugin (so I advice you to correct the version on this site) that was pointing to a non existing language file...

In plugins/recaptcha/recaptcha.validate.php there was this line
require_once(sed_langfile('captcha'));
it's to rewrite correctly like this:
require_once(sed_langfile('recaptcha'));

It was a hard finding, cause I didn't think it could be that plugin as I've also commented the lines of code the invoked it in users.register.tpl... X-(
And cause I thought that errors could be so visible also with live website on my Server... :/
in [color=#729FCF][b]BLUES[/b][/color] I trust
This post was edited by donP (2009-08-07 15:28, 14 years ago)
Trustmaster
#21 2009-08-07 15:30
It means that your server is configured to suppress error messages.
May the Source be with you!
donP
#22 2009-08-07 15:45
My Server always displayed Error Messages with Seditio. This situation began 3 days ago with Cotonti 0.6.1 conversion... :/
in [color=#729FCF][b]BLUES[/b][/color] I trust

<<<12