The Joomla! Forum ™






Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Mon Apr 02, 2012 8:22 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Mar 20, 2012 2:00 pm
Posts: 25
I have a 1.015 versie joomla http://karakocan .info I get problem in 17 maart 2012. Befaore 17 maart i have NO any problem with charset.

I check databse ; UTF8-general_ci or UTF8-Turkish_ci or other Turkish ISO encoding but i didnt get Turkish charaterset on front page.

When i chose on (right click-codering-more/..) Internet Explorer and chose Tuskish ISO or Turkish Windows then problem solved. I have also NO problem with admin/backend joomla. There is Turkish character is come without any problem.

You can check my http://karakocan .info anyone can tell me how can i solved it?


Last edited by imanickam on Fri Apr 20, 2012 1:21 am, edited 2 times in total.
Enabled link to be shown and then broke it to prevent infection


Top
 Profile  
 
PostPosted: Mon Apr 02, 2012 10:02 pm 
Joomla! Master
Joomla! Master
Online

Joined: Mon Oct 27, 2008 9:27 pm
Posts: 13756
Location: Akershus, Norway
See the "Error establishing a database connection" at the top of your site.

The source code of the page shows:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <title>Database Error</title>

</head>
<body>
   <h1>Error establishing a database connection</h1>
</body>
</html>


<?xml version="1.0" encoding="8859-9"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset = iso-8859-9" />
<meta http-equiv="Cache-Control" content="private; no-cache"/>
<meta http-equiv="Content-Style-Type" content="text/css"/>
<meta http-equiv="Content-Language" content="tr"/>
<meta name="Author" content="Karakocan Haber Sitesi"/>
<meta name="Robots" content="all,follow"/>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">


You see doctype is defined twice. The first one is wrong, the second correct. Check the template if it's inserted there and remove everything from start so the second doctype will be the first line.


Top
 Profile  
 
PostPosted: Tue Apr 03, 2012 7:50 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Mar 20, 2012 2:00 pm
Posts: 25
I cann't see it,
this is my index page from template. Where should be deleted;
Code:


<?php
defined( '_VALID_MOS' ) or die( 'Restricted access' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = explode( '=', \_ISO );
// xml prolog
echo '<?xml version="1.0" encoding="8859-9"?>';

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<meta http-equiv="Cache-Control" content="private; no-cache"/>
<meta http-equiv="Content-Style-Type" content="text/css"/>
<meta http-equiv="Content-Language" content="tr"/>
<meta name="Author" content="Karakocan Haber Sitesi"/>
<meta name="Robots" content="all,follow"/>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">


<?php if ( $my->id ) { initEditor(); } ?>
<?php include($GLOBALS['mosConfig_absolute_path']."/templates/karakocan/splitmenu.php"); ?>
<?php mosShowHead(); ?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<?php echo "<link rel=\"stylesheet\" href=\"$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/css/template_css.css\" type=\"text/css\"/>" ; ?><?php echo "<link rel=\"shortcut icon\" href=\"$GLOBALS[mosConfig_live_site]/images/favicon.ico\" />" ; ?>
</head>
<body class="all">


Top
 Profile  
 
PostPosted: Tue Apr 03, 2012 2:31 pm 
Joomla! Master
Joomla! Master
Online

Joined: Mon Oct 27, 2008 9:27 pm
Posts: 13756
Location: Akershus, Norway
It's not there. Either you are hacked, installed a plugin or you are on a free host that inserts ads into the pages.


Top
 Profile  
 
PostPosted: Wed Apr 04, 2012 9:49 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Mar 20, 2012 2:00 pm
Posts: 25
That http://karakocan .info have charater problem on frontpage but, in backround/admin side dont have any problem with txt/character. In database and template index.php use UTF-8_general_ci (ISO-8859-9) I have also reinstalled 3 month older back-up but i get same problem. Someone say that is a SQL Injection? If that is a SQL injection how can i fixed it with older backup?


Last edited by imanickam on Fri Apr 20, 2012 1:18 am, edited 1 time in total.
Enabled link to be shown and then broke it to prevent infection


Top
 Profile  
 
PostPosted: Thu Apr 19, 2012 1:06 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Mar 20, 2012 2:00 pm
Posts: 25
On this joomla 1.015 http://karakocan .info have a problem but is that security or language problem? How can i fix it? Anyone have iedea?


Last edited by imanickam on Fri Apr 20, 2012 1:16 am, edited 1 time in total.
Enabled link to be shown and then broke it to prevent infection


Top
 Profile  
 
PostPosted: Thu Apr 19, 2012 4:34 pm 
Joomla! Master
Joomla! Master
Online

Joined: Mon Oct 27, 2008 9:27 pm
Posts: 13756
Location: Akershus, Norway
Looks like a character set issue.

Mod. Note: Your other topic in the Security forum has been deleted. Please do not cross post the same question several times in multiple forums.


Top
 Profile  
 
PostPosted: Fri Apr 20, 2012 5:30 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Wed Aug 13, 2008 2:57 am
Posts: 20420
Location: Chennai, India
Mod Note:

(a) All the following topics were merged as they all belong to the same problem
http://forum.joomla.org/viewtopic.php?f=309&t=712319
http://forum.joomla.org/viewtopic.php?f=309&t=708464
http://forum.joomla.org/viewtopic.php?f=309&t=707805

(b) The post (http://forum.joomla.org/viewtopic.php?f=309&t=707805#p2780246) with the text "als dit is een hack? Hoe kan ik oplossen?" has been deleted


Mubi:
Please be informed that as per the forum rules (http://forum.joomla.org/viewtopic.php?f=8&t=65):

(i) Cross-posting is not allowed
Quote:
Post your comment/question to the most appropriate place. Any posts deemed to be in the wrong forum will be moved. Do not cross-post the same question to multiple places.


(ii) If you are not posting in an International forum then the post should be in English
Quote:
All posts must be in English, unless posted in a specific international forum. If posting in a international forum, please use the language of that forum, and not English.

_________________
- Ilagnayeru (MIG) Manickam
http://www.eegan.org - helping the poor and underprivileged
educate. empower. enrich.
Support the poor and underprivileged


Top
 Profile  
 
PostPosted: Fri Apr 20, 2012 11:00 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Mar 20, 2012 2:00 pm
Posts: 25
I think youre right Per Yngve Berg. Someone inserts ads into the pages. But my host is not free and i was changed my hostprovider.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 



Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group