Hi there,
Im sudently getting an error when trying to access my forms page on a joomla intall:
Fatal error: Namespace declaration statement has to be the very first statement in the script in ....public_html/libraries/cegcore/libs/database_adapters/joomla.php on line 9
What do I do?
Im sudently getting an error when trying to access my forms page on a joomla intall:
Fatal error: Namespace declaration statement has to be the very first statement in the script in ....public_html/libraries/cegcore/libs/database_adapters/joomla.php on line 9
What do I do?
Hi erikleijonmalm,
Please check the file - the correct first 10 lines are show below. This message can be a sign that your site has been hacked if you find strange rather cryptic code after the <?php line then you should remove that and scan the site for other possible problems.
Bob
Please check the file - the correct first 10 lines are show below. This message can be a sign that your site has been hacked if you find strange rather cryptic code after the <?php line then you should remove that and scan the site for other possible problems.
Bob
<?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\DatabaseAdapters;
/* @copyright:ChronoEngine.com @license:GPLv2 */defined('_JEXEC') or die('Restricted access');
ou were quite right, I had a cryptic code present.
Just had a look on the code before deciding to reinstall Cronoforms. Seems to have solved the problem.
Thanks for the quick support.
Just had a look on the code before deciding to reinstall Cronoforms. Seems to have solved the problem.
Thanks for the quick support.
This topic is locked and no more replies can be posted.