View Single Post
Old 01-03-2011, 02:00 AM   #3 (permalink)
Kingdom
The Visitor
 
Kingdom's Avatar
 
Join Date: Jan 2011
Posts: 3
Thanks: 1
Kingdom is on a distinguished road
Default

Oh, yes yes... i found the bug. Thanks a lot, :P.

The problem was that the included file was like this:
PHP Code:
<?php
$lang 
= array(
    
'home' => 'Home'
    'contact' 
=> 'Contact'
    'aboutus' 
=> 'About Us'
    'games' 
=> 'Games'
    'movies' 
=> 'Movies'
    'tv' 
=> 'TV'
    'music' 
=> 'Music'
);
?>
The problem was that i forgot to separate the indexes with the comma, that was why one file was working (had commas) and the other wasn't (no commas). It should look like this:
PHP Code:
<?php
$lang 
= array(
    
'home' => 'Home',
    
'contact' => 'Contact',
    
'aboutus' => 'About Us',
    
'games' => 'Games',
    
'movies' => 'Movies',
    
'tv' => 'TV',
    
'music' => 'Music'
);
?>
Thanks, :D!

BTW, i'll take a look at those problems you mentioned...
Kingdom is offline  
Reply With Quote