Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Page 3 of 7 FirstFirst 12345 ... LastLast
Results 21 to 30 of 63

Thread: Translations not working outside forum folder

  1. #21
    Senior Member
    Join Date
    Jun 2010
    Posts
    276

    Default

    notr the repeating image diectories in the above SQl errors

  2. #22
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Quote Originally Posted by ctrenks View Post
    I have done all the integration items. More than once!

    The flags are and have been active.

    Code:
     <div class="vbetflagsbox"> <a  href="/af/" ><img width="16" height="11" src="images/vbet/flags/af.gif" alt="Afrikaans" border="0"/></a> <a  href="/sq/" ><img width="16" height="11" src="images/vbet/flags/sq.gif" alt="Albanian" border="0"/></a> <a  href="/ar/" ><img width="16" height="11" src="images/vbet/flags/ar.gif" alt="Arabic" border="0"/></a> <a  href="/be/" ><img width="16" height="11" src="images/vbet/flags/be.gif" alt="Belarusian" border="0"/></a> <a  href="/bg/" ><img width="16" height="11" src="images/vbet/flags/bg.gif" alt="Bulgarian" border="0"/></a> <a  href="/ca/" ><img width="16" height="11" src="images/vbet/flags/ca.gif" alt="Catalan" border="0"/></a> <a  href="/zh-CN/" ><img width="16" height="11" src="images/vbet/flags/zh-CN.gif" alt="Chinese" border="0"/></a> <a  href="/hr/" ><img width="16" height="11" src="images/vbet/flags/hr.gif" alt="Croatian" border="0"/></a> <a  href="/cs/" ><img width="16" height="11" src="images/vbet/flags/cs.gif" alt="Czech" border="0"/></a> <a  href="/da/" ><img width="16" height="11" src="images/vbet/flags/da.gif" alt="Danish" border="0"/></a> <a  href="/nl/" ><img width="16" height="11" src="images/vbet/flags/nl.gif" alt="Dutch" border="0"/></a> <a  href="/" onclick="document.cookie = 'vbet_language=; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/'; return true;"><img width="16" height="11" src="images/vbet/flags/en.gif" alt="English" border="0"/></a> <a  href="/et/" ><img width="16" height="11" src="images/vbet/flags/et.gif" alt="Estonian" border="0"/></a> <a  href="/tl/" ><img width="16" height="11" src="images/vbet/flags/tl.gif" alt="Filipino" border="0"/></a> <a  href="/fi/" ><img width="16" height="11" src="images/vbet/flags/fi.gif" alt="Finnish" border="0"/></a> <a  href="/fr/" ><img width="16" height="11" src="images/vbet/flags/fr.gif" alt="French" border="0"/></a> <a  href="/gl/" ><img width="16" height="11" src="images/vbet/flags/gl.gif" alt="Galician" border="0"/></a> <a  href="/de/" ><img width="16" height="11" src="images/vbet/flags/de.gif" alt="German" border="0"/></a> <a  href="/el/" ><img width="16" height="11" src="images/vbet/flags/el.gif" alt="Greek" border="0"/></a> <a  href="/iw/" ><img width="16" height="11" src="images/vbet/flags/iw.gif" alt="Hebrew" border="0"/></a> <a  href="/hi/" ><img width="16" height="11" src="images/vbet/flags/hi.gif" alt="Hindi" border="0"/></a> <a  href="/hu/" ><img width="16" height="11" src="images/vbet/flags/hu.gif" alt="Hungarian" border="0"/></a> <a  href="/is/" ><img width="16" height="11" src="images/vbet/flags/is.gif" alt="Icelandic" border="0"/></a> <a  href="/id/" ><img width="16" height="11" src="images/vbet/flags/id.gif" alt="Indonesian" border="0"/></a> <a  href="/ga/" ><img width="16" height="11" src="images/vbet/flags/ga.gif" alt="Irish" border="0"/></a> <a  href="/it/" ><img width="16" height="11" src="images/vbet/flags/it.gif" alt="Italian" border="0"/></a> <a  href="/ja/" ><img width="16" height="11" src="images/vbet/flags/ja.gif" alt="Japanese" border="0"/></a> <a  href="/ko/" ><img width="16" height="11" src="images/vbet/flags/ko.gif" alt="Korean" border="0"/></a> <a  href="/lv/" ><img width="16" height="11" src="images/vbet/flags/lv.gif" alt="Latvian" border="0"/></a> <a  href="/lt/" ><img width="16" height="11" src="images/vbet/flags/lt.gif" alt="Lithuanian" border="0"/></a> <a  href="/mk/" ><img width="16" height="11" src="images/vbet/flags/mk.gif" alt="Macedonian" border="0"/></a> <a  href="/ms/" ><img width="16" height="11" src="images/vbet/flags/ms.gif" alt="Malay" border="0"/></a> <a  href="/mt/" ><img width="16" height="11" src="images/vbet/flags/mt.gif" alt="Maltese" border="0"/></a> <a  href="/no/" ><img width="16" height="11" src="images/vbet/flags/no.gif" alt="Norwegian" border="0"/></a> <a  href="/fa/" ><img width="16" height="11" src="images/vbet/flags/fa.gif" alt="Persian" border="0"/></a> <a  href="/pl/" ><img width="16" height="11" src="images/vbet/flags/pl.gif" alt="Polish" border="0"/></a> <a  href="/pt/" ><img width="16" height="11" src="images/vbet/flags/pt.gif" alt="Portuguese" border="0"/></a> <a  href="/ro/" ><img width="16" height="11" src="images/vbet/flags/ro.gif" alt="Romanian" border="0"/></a> <a  href="/ru/" ><img width="16" height="11" src="images/vbet/flags/ru.gif" alt="Russian" border="0"/></a> <a  href="/sr/" ><img width="16" height="11" src="images/vbet/flags/sr.gif" alt="Serbian" border="0"/></a> <a  href="/sk/" ><img width="16" height="11" src="images/vbet/flags/sk.gif" alt="Slovak" border="0"/></a> <a  href="/sl/" ><img width="16" height="11" src="images/vbet/flags/sl.gif" alt="Slovenian" border="0"/></a> <a  href="/es/" ><img width="16" height="11" src="images/vbet/flags/es.gif" alt="Spanish" border="0"/></a> <a  href="/sw/" ><img width="16" height="11" src="images/vbet/flags/sw.gif" alt="Swahili" border="0"/></a> <a  href="/sv/" ><img width="16" height="11" src="images/vbet/flags/sv.gif" alt="Swedish" border="0"/></a> <a  href="/zh-TW/" ><img width="16" height="11" src="images/vbet/flags/zh-TW.gif" alt="Taiwanese" border="0"/></a> <a  href="/th/" ><img width="16" height="11" src="images/vbet/flags/th.gif" alt="Thai" border="0"/></a> <a  href="/tr/" ><img width="16" height="11" src="images/vbet/flags/tr.gif" alt="Turkish" border="0"/></a> <a  href="/uk/" ><img width="16" height="11" src="images/vbet/flags/uk.gif" alt="Ukrainian" border="0"/></a> <a  href="/vi/" ><img width="16" height="11" src="images/vbet/flags/vi.gif" alt="Vietnamese" border="0"/></a> <a  href="/cy/" ><img width="16" height="11" src="images/vbet/flags/cy.gif" alt="Welsh" border="0"/></a> <a  href="/yi/" ><img width="16" height="11" src="images/vbet/flags/yi.gif" alt="Yiddish" border="0"/></a> </div> </div>
    Please give us your .htaccess content from your portal main directory. We suspect that you didn't put there appropriate rules.

  3. #23
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Quote Originally Posted by ctrenks View Post
    ig you change to lv on the homepage, then click on the lock casino you go to

    Code:
    http://www.allfreechips.com/lv/lv/casino_review/583/lock-casino.html
    Where it has /lv/lv/ instead of /lv/
    There is no link with text "lock casino" on your homepage - nor original nor translated to lv. Please describe it better. I'm going to homepage - adding translation. And when I'm on translated home page - what should I click to see what you describe? Please give me exact link text.

  4. #24
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Quote Originally Posted by ctrenks View Post
    also getting vb SQL errors

    Code:
    mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) /home/allfreec/public_html/phpBB2/includes/class_core.php on line 311
    
    MySQL Error   : 
    Error Number  : 
    Request Date  : Sunday, June 20th 2010 @ 05:11:01 PM
    Error Date    : Sunday, June 20th 2010 @ 05:11:01 PM
    Script        : http://www.allfreechips.com/casino_review/583/images/vbet/flags/images/vbet/flags/images/vbet/flags/ko.gif
    Those are related to your flags images issue (can see it in Script section). It will disappear when we solve flags issue. As I described we need content of .htaccess file in your portal main directory to check did you add appropriate rules for pages outside forum directory.

  5. #25
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Quote Originally Posted by ctrenks View Post
    notr the repeating image diectories in the above SQl errors
    Yes I note it. If it appears that is is not just wrong integration issue we will have to go to your server and check what is going on. But first we want to confirm it.

  6. #26
    Senior Member
    Join Date
    Jun 2010
    Posts
    276

    Default

    from the root (allfreechips.com)
    Code:
    <Files ~ "\.inc$">
       Order allow,deny
       Deny from all
       Satisfy All
    </Files>
    
    Options +FollowSymlinks 
    RewriteEngine on 
    RewriteBase /
    
    #Those rules have to be in domain main folder
    RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/$ index.php?language=$1&vbet_outside=true [L,QSA]
    RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/(.*)?$ $2?language=$1&vbet_outside=true [L,QSA]
    
    RewriteCond %{HTTP_HOST} ^allfreechips\.com 
    RewriteRule (.*) http://www.allfreechips.com/$1 [R=301,L] 
    redirect 301 /casino_review/gold-rock-casino.html http://www.allfreechips.com/casino_review/500/21-grand-casino.html
    RewriteRule [.]*play_casino([0-9]*) cportal/tclick.php?%{QUERY_STRING}&id=$1
    RewriteRule [.]*play_banner([0-9]*) cportal/tclick.php?%{QUERY_STRING}&id=$1
    RewriteRule [.]*casino_review/([0-9]*) casino_guide/info?id=%{QUERY_STRING}&id=$1
    RewriteRule [.]*bingo_review/([0-9]*) casino_guide/info?id=%{QUERY_STRING}&id=$1
    RewriteRule [.]*poker_review/([0-9]*) casino_guide/info?id=%{QUERY_STRING}&id=$1
    RewriteRule [.]*skill_review/([0-9]*) casino_guide/info?id=%{QUERY_STRING}&id=$1
    RewriteRule [.]*-afcinfo([0-9]*) info.php?%{QUERY_STRING}&id=$1
    RewriteRule [.]*-resources([0-9]*) links.php?%{QUERY_STRING}&id=$1
    RewriteRule [.]*game_review/([0-9]*) casino_guide/games?id=%{QUERY_STRING}&id=$1
    RewriteRule [.]*casino_guide/([a-z0-9-]*) index.php?%{QUERY_STRING}&pageid=$1
    RewriteRule [.]*poker_guide/([a-z-]*) index.php?%{QUERY_STRING}&pageid=$1
    RewriteRule [.]*afc_contests/([a-z]*) index.php?%{QUERY_STRING}&pageid=$1
    RewriteRule [.]*skill_games_guide/([a-z-]*) index.php?%{QUERY_STRING}&pageid=$1
    RewriteRule [.]*bingo_guide/([a-z-]*) index.php?%{QUERY_STRING}&pageid=$1
    RewriteRule [.]*skill_guide/([a-z-]*) index.php?%{QUERY_STRING}&pageid=$1
    RewriteRule [.]*casino-banks/([a-z0-9-]*) casino_guide/binfo?id=%{QUERY_STRING}&id=$1
    RewriteRule [.]*casino-banking/([a-z-]*) index.php?%{QUERY_STRING}&pageid=$1
    RewriteRule [.]*casino_test/([0-9]*) casino_guide/info2?id=%{QUERY_STRING}&id=$1
    RewriteRule [.]404.html /404-error-page.php
    
    #This rule must be in each directory which have to be supported (without forum directory itself)
    RewriteCond %{QUERY_STRING} !vbet_outside=true
    RewriteRule ^(.*)$ $1?vbet_outside=true [L,QSA]

  7. #27
    Senior Member
    Join Date
    Jun 2010
    Posts
    276

    Default

    fropm the forumj directory /phpBB2

    Code:
    redirect 301 /phpBB2/phpdice.php http://www.allfreechips.com/afc_contests/dice.html
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On
    RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/phpBB2/ [L,QSA]
    RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/(.*)?$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/phpBB2/$2 [L,QSA]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
    RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbenterprisetranslator_seo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule $ vbenterprisetranslator_seo.php [L,QSA]
    
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
    RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php [L,QSA]

  8. #28
    Senior Member
    Join Date
    Jun 2010
    Posts
    276

    Default

    As for the casino with the double /lang/lang/ issues, its the review pages on the right side that are getting the double added

    So you can click on one or two and see it.

  9. #29
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Quote Originally Posted by ctrenks View Post
    from the root (allfreechips.com)
    Code:
    <Files ~ "\.inc$">
       Order allow,deny
       Deny from all
       Satisfy All
    </Files>
    
    Options +FollowSymlinks 
    RewriteEngine on 
    RewriteBase /
    
    #Those rules have to be in domain main folder
    RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/$ index.php?language=$1&vbet_outside=true [L,QSA]
    RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/(.*)?$ $2?language=$1&vbet_outside=true [L,QSA]
    
    RewriteCond %{HTTP_HOST} ^allfreechips\.com 
    RewriteRule (.*) http://www.allfreechips.com/$1 [R=301,L] 
    redirect 301 /casino_review/gold-rock-casino.html http://www.allfreechips.com/casino_review/500/21-grand-casino.html
    RewriteRule [.]*play_casino([0-9]*) cportal/tclick.php?%{QUERY_STRING}&id=$1
    RewriteRule [.]*play_banner([0-9]*) cportal/tclick.php?%{QUERY_STRING}&id=$1
    RewriteRule [.]*casino_review/([0-9]*) casino_guide/info?id=%{QUERY_STRING}&id=$1
    RewriteRule [.]*bingo_review/([0-9]*) casino_guide/info?id=%{QUERY_STRING}&id=$1
    RewriteRule [.]*poker_review/([0-9]*) casino_guide/info?id=%{QUERY_STRING}&id=$1
    RewriteRule [.]*skill_review/([0-9]*) casino_guide/info?id=%{QUERY_STRING}&id=$1
    RewriteRule [.]*-afcinfo([0-9]*) info.php?%{QUERY_STRING}&id=$1
    RewriteRule [.]*-resources([0-9]*) links.php?%{QUERY_STRING}&id=$1
    RewriteRule [.]*game_review/([0-9]*) casino_guide/games?id=%{QUERY_STRING}&id=$1
    RewriteRule [.]*casino_guide/([a-z0-9-]*) index.php?%{QUERY_STRING}&pageid=$1
    RewriteRule [.]*poker_guide/([a-z-]*) index.php?%{QUERY_STRING}&pageid=$1
    RewriteRule [.]*afc_contests/([a-z]*) index.php?%{QUERY_STRING}&pageid=$1
    RewriteRule [.]*skill_games_guide/([a-z-]*) index.php?%{QUERY_STRING}&pageid=$1
    RewriteRule [.]*bingo_guide/([a-z-]*) index.php?%{QUERY_STRING}&pageid=$1
    RewriteRule [.]*skill_guide/([a-z-]*) index.php?%{QUERY_STRING}&pageid=$1
    RewriteRule [.]*casino-banks/([a-z0-9-]*) casino_guide/binfo?id=%{QUERY_STRING}&id=$1
    RewriteRule [.]*casino-banking/([a-z-]*) index.php?%{QUERY_STRING}&pageid=$1
    RewriteRule [.]*casino_test/([0-9]*) casino_guide/info2?id=%{QUERY_STRING}&id=$1
    RewriteRule [.]404.html /404-error-page.php
    
    #This rule must be in each directory which have to be supported (without forum directory itself)
    RewriteCond %{QUERY_STRING} !vbet_outside=true
    RewriteRule ^(.*)$ $1?vbet_outside=true [L,QSA]
    As I see your rules under first 2 vBET rules do not rewrite query string - this will cause lost of information about outside directory and even about translation on translated pages (those will not be translated, because language code is lost). Please move those 2 first vBET rules (those long), just before last vBET rule (before the comment). And check it. If it will still not work - please PM access detail to your Admin CP and FTP - we will check it and solve it on place.

  10. #30
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Quote Originally Posted by ctrenks View Post
    fropm the forumj directory /phpBB2

    Code:
    redirect 301 /phpBB2/phpdice.php http://www.allfreechips.com/afc_contests/dice.html
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On
    RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/phpBB2/ [L,QSA]
    RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/(.*)?$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/phpBB2/$2 [L,QSA]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
    RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbenterprisetranslator_seo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule $ vbenterprisetranslator_seo.php [L,QSA]
    
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
    RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php [L,QSA]
    Your integration is wrong. Please move our sitemap rule before all vBET rules. As it is described in integration instructions vBET rules have to be put JUST BEFORE rules to vbseo.php file - you have it before rule to vbseo_getsitemap.php file. So now your sitemap files can be not reachable for Google.

Page 3 of 7 FirstFirst 12345 ... LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •