ads modulelanguage parsing error

I got parsing error on line 1 of my language file for ads module - when I try install ads module with my language. All other modules install with my languages without problem ( except forum). I checked my lang file for ads million times but cant find where is the problem. There is not php syntax error ( checking in php edit), file is also saved in utf 8 and language name  is correct cz.php. Can please somebody have a look at code below or try it at your installatioin ? Maybe some of characters cause parsing error ...dont know...

 

<?php

 

/***************************************************************************

*                            Dolphin Smart Community Builder

*                              -------------------

*     begin                : Mon Mar 23 2006

*     copyright            : (C) 2007 BoonEx Group

*     website              : http://www.boonex.com

* This file is part of Dolphin - Smart Community Builder

*

* Dolphin is free software; you can redistribute it and/or modify it under

* the terms of the GNU General Public License as published by the

* Free Software Foundation; either version 2 of the

* License, or  any later version.

*

* Dolphin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;

* without even the implied warranty of  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

* See the GNU General Public License for more details.

* You should have received a copy of the GNU General Public License along with Dolphin,

* see license.txt file; if not, write to marketing@boonex.com

***************************************************************************/

 

$aLangContent = array(

    '_bx_ads_added_spy' => '<a href="{profile_link}">{profile_nick}</a> vložil nový inzerát <a href="{ads_url}">{ads_caption}</a>',

    '_bx_ads_rated_spy' => '<a href="{profile_link}">{profile_nick}</a> ohodnotil inzerát <a href="{ads_url}">{ads_caption}</a>',

    '_bx_ads_last_featured' => 'Latest featured ad',

    '_bx_ads_last_ads' => 'Nejnovější Inzeráty',

    '_bx_ads_Ads' => 'Inzeráty',

    '_bx_ads_Ad' => 'Inzerát',

    '_bx_ads_Buy_Now' => 'Koupit',

    '_bx_ads_wholesale' => 'velkoobchod',

    '_bx_ads_BuyMsg1' => 'Vybrali jste "Koupit Hned" pro nákup. Pokud chcete pokračovat a dokončit nákup klikněte na  "Pokračovat". Aukce bude uzavřena a dokončíte transakci.',

    '_bx_ads_BuyDetails1' => 'Details:',

    '_bx_ads_BuyMsg2' => 'Váš požadavek na "Koupit Hned" byl přijat. Kontaktujte prodejce.',

    '_bx_ads_Unit' => 'Unit',

    '_bx_ads_Users_other_listing' => 'Nabídka dalšího uživatele',

    '_bx_ads_Manage_ads' => 'Spravovar inzeráty',

    '_bx_ads_Browse_All_Ads' => 'Procházet všechny inzeráty',

    '_bx_ads_My_Ads' => 'Moje Inzeráty',

    '_bx_ads_Categories' => 'Kategorie',

    '_bx_ads_Keywords' => 'Klíčová Slova',

    '_bx_ads_Posted_by' => 'Zadáno od',

    '_bx_ads_Details' => 'Detaily',

    '_bx_ads_Life_Time' => 'Doživotně',

    '_bx_ads_Filtered_ads' => 'Filtrované Inzeráty',

    '_bx_ads_Sub_Categories' => 'Sub Kategorie',

    '_bx_ads_Add' => 'Zadat inzerát',

    '_bx_ads_Description' => 'Popis',

    '_bx_ads_CustomField1' => 'Custom Field 1',

    '_bx_ads_CustomField2' => 'Custom Field 2',

    '_bx_ads_Apply' => 'Aplikovat',

    '_bx_ads_Activate' => 'Aktivovat',

    '_bx_ads_Back' => 'Zpět',

    '_bx_ads_equal' => 'Je Rovno',

    '_bx_ads_bigger' => 'Max',

    '_bx_ads_smaller' => 'Min',

    '_bx_ads_Warn_max_live_days' => 'Váš inzerát bude aktivní po dobu {0} dní',

    '_bx_ads_Warn_max_file_size' => 'Soubor: {0} je moc velký pro nahrání.<br>',

    '_bx_ads_Ad_succ_added' => 'Inzerát úspěšně vložen',

    '_bx_ads_Ad_succ_deleted' => 'Inzerát úspěšně smazán',

    '_bx_ads_Ad_fail_delete' => 'Selhalo Mazání Inzerátu',

    '_bx_ads_Moderating' => 'Moderace (nové inzeráty)',

    '_bx_ads_Ad_succ_updated' => 'Inzerát úspěšně aktualizován',

    '_bx_ads_Filter' => 'Filtr',

    '_bx_ads_Offer_Details' => 'Detaily Nabídky',

    '_bx_ads_Main_category_successfully_added' => 'Hlavní kategorie úspěšně vložena',

    '_bx_ads_Main_category_successfully_deleted' => 'Hlavní kategorie úspěšně smazána',

    '_bx_ads_Main_category_failed_add' => 'Selhalo přidání Hlavní kategorie',

    '_bx_ads_Sub_category_successfully_added' => 'Sub kategorie úspěšně vložena',

    '_bx_ads_Sub_category_failed_add' => 'Selhalo vložení sub kategorie',

    '_bx_ads_Main_category_failed_delete' => 'Selhalo mazání Hlavní kategorie',

    '_bx_ads_Sub_category_successfully_delete' => 'Sub kategorie úspěšně smazána',

    '_bx_ads_Sub_category_failed_deleted' => 'Selhalo mazání Sub kategorie',

    '_bx_ads_All_ads' => 'Všechny Inzeráty',

    '_bx_ads_Ad_photos' => 'Všechny Fotky',

    '_bx_ads_user_posted_ad_comment' => '{0} okomentoval váš inzerát',

    '_bx_ads_user_bought_ad' => '{0} má zájem o koupi',

    '_bx_ads_Custom_Values' => 'Custom Values',

    '_bx_ads_Top_Rated' => 'Nejvíce Hodnocené',

    '_bx_ads_Popular' => 'Populární',

    '_bx_ads_Calendar' => 'Kalendář',

    '_bx_ads_Featured' => 'Featured',

    '_bx_ads_Under_Development' => 'Under Development',

    '_bx_ads_Ads_Home' => 'Home Inzeráty',

    '_bx_ads_Feature_it' => 'Feature it',

    '_bx_ads_De-Feature_it' => 'De-Feature it',

    '_bx_ads_msg_access_denied' => 'Přístup Zamítnut',

    '_bx_ads_pending_approval' => 'Čeká na Schválení',

    '_bx_ads_Disapproved' => 'Neschváleno',

    '_bx_ads_admin_box_desc' => '<div style="text-align: center;margin:10px;">Máte {0} <a href="{1}">inzerátů</a>. <a href="{2}">Klikněte zde</a> pro přidání.</div>',

    '_bx_ads_privacy_comment' => 'Povolit komentování',

    '_bx_ads_privacy_rate' => 'Povolit hodnocení',

    '_bx_ads_privacy_view' => 'Povolit zobrazení',

    '_bx_ads_Existed_images' => 'Existující obrázky',

    '_bx_ads_Manage_categories_form' => 'Manage categories form',

    '_bx_ads_Administration' => 'Administrace',

    '_bx_ads_Add_ad' => 'Přidat Inzerát',

    '_bx_ads_Caption_error' => 'please specify caption from 3 to 255 characters',

    '_bx_ads_Text_error' => 'please specify post text from 3 to 65535 characters',

    '_bx_ads_RSS' => 'RSS',

    '_bx_ads_post_text' => 'Post text',

 '_bx_ads_sbs_main' => 'Nové aktualizace pro <b>{0}</b> ad',

 '_bx_ads_sbs_comments' => 'Nové komentáře pro <b>{0}</b> ad',

 '_bx_ads_sbs_rates' => 'Nové hlasy pro <b>{0}</b> ad',

    '_bx_ads_caption_browse_by_day' => 'Procházet Inzeráty Dle Dní: ',

    '_sbs_txt_title_bx_ads' => 'Ads subscriptions',

    '_mma_ads_view' => 'zobrazit inzeráty',

    '_mma_ads_browse' => 'procházet inzeráty',

    '_mma_ads_search' => 'hledat inzeráty',

    '_mma_ads_add' => 'přidat inzeráty',

    '_mma_ads_edit_any_ad' => 'ads edit any ad',

    '_mma_ads_delete_any_ad' => 'ads delete any ad',

    '_mma_ads_approving' => 'schvalování inzerátů',

    '_bx_ads_caption_city' => 'Město',

    '_bx_ads_caption_country' => 'Země',

    '_bx_ads_err_city' => 'napište název města',

    '_bx_ads_err_country' => 'specifikujte zemi',

    '_bx_ads_add_main_category' => 'Přidat hlavní kategorii',

    '_bx_ads_you_have_purchased_an_item' => 'Zakoupili jste položku',

    '_bx_ads_someone_wants_to_purchase' => 'Máte zájemce o koupi položky kterou nabízíte k prodeji',

    '_bx_ads_title_error_desc' => 'Název by měl být max {0} znaků',

    '_bx_ads_description_error_desc' => 'Popis by měl být max {0} znaků',

    '_bx_ads_custom_error_desc' => 'CustomFieldName{0} should be {1} symbols max',

    '_bx_ads_choose_custom_action' => 'Choose custom action',

    '_bx_ads_category_manager' => 'Manager Kategorií',

    '_bx_ads_add_subcategory' => 'Přidat subkategorii',

    '_bx_ads_parent_category' => 'Mateřská kategorie',

    '_bx_ads_root' => 'Root',

    '_bx_ads_search_results_by_tag' => 'Výsledky hledání dle',

    '_bx_ads_customFieldName1' => 'Custom field 1 name',

    '_bx_ads_customFieldName2' => 'Custom field 2 name',

 

);

 

?>

Quote · 15 Feb 2010

I believe this usually means that somewhere along the line (such as a bad upload of the files to the web server), extra lines were added to the file. Try removing that empty space after "<?php."

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 15 Feb 2010

I tried remove that empty space but its still same ...it gives me

Parse error: syntax error, unexpected T_VARIABLE cz.php at line 1

Quote · 15 Feb 2010

I found out if I translate even one line I got that error.

Quote · 15 Feb 2010

@ freakpower !!!

Please stop posting in Bugs Reports forum or you will be banned !

Most of your questions are for regular Dolphin 7.0 forum.

Rules → http://www.boonex.com/terms
Quote · 15 Feb 2010

@ freakpower !!!

Please stop posting in Bugs Reports forum or you will be banned !

Most of your questions are for regular Dolphin 7.0 forum.

oh Snap!

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 16 Feb 2010

umgh .... I really didnt expected this.... I thought it is a bug so I wanted let  devs know and thats why I posted here. As Im not a programmer I can not determine myslef if its bug or not and because nobody from devs replied here I was just testing with a kind help of magnussoft if its really bug or just some misconfig on my side. I have no prob post this in regular d7 forum but for now it really seems like a bug to me - maybe related to some czech special characters and related to only ads mod - because other modules have no prob with translated files, because if I translate even one line I got error... but dunno... Okay if I post this again in regular forum I will be snapped for doubling posts .. so can u please move this topic to regular forum ... or dont know ... and one more sorry - i didnt intend to do anything wrong :-( or make u angry whatsoever...

Quote · 16 Feb 2010

umgh .... I really didnt expected this.... I thought it is a bug so I wanted let  devs know and thats why I posted here. As Im not a programmer I can not determine myslef if its bug or not and because nobody from devs replied here I was just testing with a kind help of magnussoft if its really bug or just some misconfig on my side. I have no prob post this in regular d7 forum but for now it really seems like a bug to me - maybe related to some czech special characters and related to only ads mod - because other modules have no prob with translated files, because if I translate even one line I got error... but dunno... Okay if I post this again in regular forum I will be snapped for doubling posts .. so can u please move this topic to regular forum ... or dont know ... and one more sorry - i didnt intend to do anything wrong :-( or make u angry whatsoever...

Just post next question in regular Dolphin 7.0 forum, and if it is discovered that it is definitely bug, then post it here.

Thank you.

Rules → http://www.boonex.com/terms
Quote · 16 Feb 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.