Parse error melding
Beste medeforumgebruikers,
Ik heb een probleem met mijn magento connect manager. Als ik via het backend wil starten krijg ik de volgende melding;
Parse error: syntax error, unexpected '<' in /home/admin/domains/mijndomeinnaam/public_html/downloader/index.php on line 36
Ik heb een probleem met mijn magento connect manager. Als ik via het backend wil starten krijg ik de volgende melding;
Parse error: syntax error, unexpected '<' in /home/admin/domains/mijndomeinnaam/public_html/downloader/index.php on line 36
Quote:
Code (php)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magentocommerce.com for more information.
*
* @category Varien
* @package Varien_Object
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
if (version_compare(phpversion(), '5.2.0', '<')===true) {
echo '<div style="font:12px/1.35em arial, helvetica, sans-serif;"><div style="margin:0 0 25px 0; border-bottom:1px solid #ccc;"><h3 style="margin:0; font-size:1.7em; font-weight:normal; text-transform:none; text-align:left; color:#2f2f2f;">Whoops, it looks like you have an invalid PHP version.</h3></div><p>Magento supports PHP 5.2.0 or newer. <a href="http://www.magentocommerce.com/install" target="">Find out</a> how to install</a> Magento using PHP-CGI as a work-around.</p></div>';
exit;
}
include_once "Maged/Controller.php";
umask(0);
Maged_Controller::run();
[/quote]
wat klopt er niet? ik heb helemaal niets gedaan.
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magentocommerce.com for more information.
*
* @category Varien
* @package Varien_Object
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
if (version_compare(phpversion(), '5.2.0', '<')===true) {
echo '<div style="font:12px/1.35em arial, helvetica, sans-serif;"><div style="margin:0 0 25px 0; border-bottom:1px solid #ccc;"><h3 style="margin:0; font-size:1.7em; font-weight:normal; text-transform:none; text-align:left; color:#2f2f2f;">Whoops, it looks like you have an invalid PHP version.</h3></div><p>Magento supports PHP 5.2.0 or newer. <a href="http://www.magentocommerce.com/install" target="">Find out</a> how to install</a> Magento using PHP-CGI as a work-around.</p></div>';
exit;
}
include_once "Maged/Controller.php";
umask(0);
Maged_Controller::run();
[/quote]
wat klopt er niet? ik heb helemaal niets gedaan.
Gewijzigd op 29/11/2011 14:22:21 door Chris -
Ik vind die i-frame behoorlijk curieus.
Je site is gehacked, en blijkbaar doordat je PHPscript niet beeindigd wordt zorgt die geïnjecteerde HTMLcode (die malware/virussen op zal halen, naar alle waarschijnlijkheid) voor de error.
Advies:
- Virussen scannen
- netwerkverbinding uit je PC trekken
- Is je PC clean, netwerkverbinding terug plaatsen
- Je hoster je pass laten aanpassen van de FTP voor de zekerheid.
- Backup terugzetten van je site (behalve MySQL)
Knip die URL a.u.b. even uit de i-frame weg voordat iemand nog zo stom is om de URL alsnog te bezoeken.
Je site is gehacked, en blijkbaar doordat je PHPscript niet beeindigd wordt zorgt die geïnjecteerde HTMLcode (die malware/virussen op zal halen, naar alle waarschijnlijkheid) voor de error.
Advies:
- Virussen scannen
- netwerkverbinding uit je PC trekken
- Is je PC clean, netwerkverbinding terug plaatsen
- Je hoster je pass laten aanpassen van de FTP voor de zekerheid.
- Backup terugzetten van je site (behalve MySQL)
Knip die URL a.u.b. even uit de i-frame weg voordat iemand nog zo stom is om de URL alsnog te bezoeken.
Gewijzigd op 12/11/2011 01:03:29 door - Ariën -
Beste Aar,
bedankt voor je snelle reactie. Ik had ooit een backup gemaakt. heb de zelfde bestand opgezocht en daarin staat precies het zelfde. Dus waarschijnlijk ben ik een heel tijd terug gehackt.
Hoe kan ik dit nu fixen?
bedankt voor je snelle reactie. Ik had ooit een backup gemaakt. heb de zelfde bestand opgezocht en daarin staat precies het zelfde. Dus waarschijnlijk ben ik een heel tijd terug gehackt.
Hoe kan ik dit nu fixen?
iframe tag eruit halen.
En haal je URL eens weg naar die malafide site, die erin wordt opgeroepen.
Zorg tevens voor een up2date versie van Magento.
En haal je URL eens weg naar die malafide site, die erin wordt opgeroepen.
Zorg tevens voor een up2date versie van Magento.
Gewijzigd op 13/11/2011 20:56:42 door - Ariën -




