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 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Latest vBET for vB3.8.6 prevents access URGENT

  1. #1
    Senior Member
    Join Date
    Sep 2010
    Posts
    256

    Default Latest vBET for vB3.8.6 prevents access URGENT

    Hi last night my site was inaccessible (and still is), i got in touch with my server people who said this:
    Vincent: I am getting following error of apache

    Vincent: ======================

    Vincent: Premature end of script headers: vbenterprisetranslator_seo.php, referer: Ver um Único Post - - O Código Cage Fóruns mostrar essa lista de endereços muda de volta à primeira GAL

    Vincent: Premature end of script headers: vbenterprisetranslator_seo.php, referer: Ver um Único Post - - O Código Cage Fóruns mostrar essa lista de endereços muda de volta à primeira GAL

    Vincent: Premature end of script headers: vbenterprisetranslator_seo.php, referer: Ver um Único Post - - O Código Cage Fóruns mostrar essa lista de endereços muda de volta à primeira GAL

    Vincent: ============================

    Vincent: Please contact your developer
    I cannot access anything on the forum, not even admincp, what do i do??????????

  2. #2
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    Please describe step by step, if you've modified something on your forum, what did you do that to happen it?

    did you install some new mods? if yes - disable it and chack that everything is working good.

    If not - disable vBET and check the same.

    If you can't go to your admincp - just disable all mods by config.php file
    paste after <?php this code:
    PHP Code:
    define('DISABLE_HOOKS'true); 
    in config.php file of Vbulletin
    Last edited by kamilkurczak; 13-05-11 at 16:24.

  3. #3
    Senior Member
    Join Date
    Sep 2010
    Posts
    256

    Default

    It seems the server was compromised and that the error logs had filled up (over 2GB) of the error's i posted above. There was an injection at my .htaccess file and i had to rewrite it, can you check that this is correct format for Microsoft Office Help - Microsoft Office Discussion - Excel VBA Programming - Access Programming please
    RewriteEngine On

    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

    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=/forumz/ [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=/forumz/$2 [L,QSA]


    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
    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]


    <IfModule mod_deflate.c>
    <FilesMatch "\.(php|css|html|xml|txt|js)$">
    SetOutputFilter DEFLATE
    </FilesMatch>
    </IfModule>

    <ifmodule mod_headers.c>
    <ifmodule mod_deflate.c>

    # Compress some text file types
    AddOutputFilterByType DEFLATE text/html text/css text/xml application/x-javascript

    # Deactivate compression for buggy browsers
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

    </ifmodule>
    </ifmodule>
    order allow,deny
    allow from all
    Last edited by Simon Lloyd; 14-05-11 at 01:08.

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

    Default

    Hi. It is great that your forum is accessible again. I checked it and it is forking and translating fine with one exception - your main page shows error when translated. Most possible that it is .htaccess issue, because you have forum in subdirectory.

    The .htaccess you gave seems to be OK and as I told you forum is translated. You have to also add vBET rules into .htacces in your main directory if you want to have translated content outside forum directory. Please see here for manual how to translate pages outside forum directory: http://www.vbenterprisetranslator.co...-2.html#post54

    Please tell did it help

  5. #5
    Senior Member
    Join Date
    Sep 2010
    Posts
    256

    Default

    Michal, i know very little about running a server or how to write .htaccess, the one i provided was cut and paste from other files and resides in the /forumz folder the one below resides in the /public_html folder, is it correct?
    RewriteEngine on

    <ifmodule mod_headers.c>
    <ifmodule mod_deflate.c>

    # Compress some text file types
    AddOutputFilterByType DEFLATE text/html text/css text/xml application/x-javascript

    # Deactivate compression for buggy browsers
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

    </ifmodule>
    </ifmodule>
    <IfModule mod_rewrite.c>
    #RewriteBase /blog/
    #RewriteCond %{REQUEST_FILENAME} !-f
    #RewriteCond %{REQUEST_FILENAME} !-d
    #RewriteRule . /blog/index.php [L]
    </IfModule>
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/ [L]
    <Files 403.shtml>
    order allow,deny
    deny from 93.143.29.205
    deny from 93.142.182.66
    deny from 93.142.162.176
    allow from all
    </Files>

    deny from 83.233.30.35

    RewriteCond %{HTTP_HOST} ^thecodecage.co.uk$ [OR]
    RewriteCond %{HTTP_HOST} ^www.thecodecage.co.uk$
    RewriteRule ^.*$ "http\:\/\/www\.thecodecage\.com\/\forumz\/" [R=301,L]

    RewriteCond %{HTTP_HOST} ^thecodecage.eu$ [OR]
    RewriteCond %{HTTP_HOST} ^www.thecodecage.eu$
    RewriteRule ^.*$ "http\:\/\/www\.thecodecage\.com\/" [R=301,L]

    RewriteCond %{HTTP_HOST} ^thecodecage.org$ [OR]
    RewriteCond %{HTTP_HOST} ^www.thecodecage.org$
    RewriteRule ^.*$ "http\:\/\/www\.thecodecage\.com\/" [R=301,L]

    RewriteCond %{HTTP_HOST} ^thecodecage.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www.thecodecage.com/$
    RewriteRule ^/?$ "http\:\/\/www\.thecodecage\.com\/" [R=301,L]

    RewriteCond %{HTTSP_REFERER} !^https://www.paypal.com/.*$ [NC]
    RewriteCond %{HTTPS_REFERER} !^https://www.paypal.com$ [NC]

    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 %{query_STRING} !vbet_outside=true
    RewriteRule ^(.*)$ $1?vbet_outside=true [L,QSA]


    RewriteCond %{HTTP_REFERER} !^http://skype.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://skype.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://thecodecage.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://thecodecage.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.paypal.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.paypal.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.skype.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.skype.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.co.uk/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.co.uk$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com/forumz/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com/forumz$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com/forumz/images/avatars/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com/forumz/images/avatars$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com/golf/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com/golf$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.eu/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.eu$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.org/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.org$ [NC]
    RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
    Last edited by Simon Lloyd; 15-05-11 at 02:00.

  6. #6
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    ok I will analize it

  7. #7
    Senior Member
    Join Date
    Sep 2010
    Posts
    256

    Default

    thanks Kamil, i think i have everything correct so don't know why the page wont translate.

  8. #8
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    firstly, I noticed that you have only one line with language code, you need to have two lines:

    Code:
    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]

  9. #9
    Senior Member
    Join Date
    Sep 2010
    Posts
    256

    Default

    Ok added those but still no translation

  10. #10
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    so now your htaccess should looks like:
    Code:
    RewriteEngine on
    
    <ifmodule mod_headers.c>
    <ifmodule mod_deflate.c>
    
    # Compress some text file types
    AddOutputFilterByType DEFLATE text/html text/css text/xml application/x-javascript
    
    # Deactivate compression for buggy browsers
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
    
    </ifmodule>
    </ifmodule>
    <IfModule mod_rewrite.c>
    #RewriteBase /blog/
    #RewriteCond %{REQUEST_FILENAME} !-f
    #RewriteCond %{REQUEST_FILENAME} !-d
    #RewriteRule . /blog/index.php [L]
    </IfModule>
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/ [L]
    <Files 403.shtml>
    order allow,deny
    deny from 93.143.29.205
    deny from 93.142.182.66
    deny from 93.142.162.176 
    allow from all
    </Files>
    
    deny from 83.233.30.35
    
    RewriteCond %{HTTP_HOST} ^thecodecage.co.uk$ [OR]
    RewriteCond %{HTTP_HOST} ^www.thecodecage.co.uk$
    RewriteRule ^.*$ "http\:\/\/www\.thecodecage\.com\/\forumz\/" [R=301,L]
    
    RewriteCond %{HTTP_HOST} ^thecodecage.eu$ [OR]
    RewriteCond %{HTTP_HOST} ^www.thecodecage.eu$
    RewriteRule ^.*$ "http\:\/\/www\.thecodecage\.com\/" [R=301,L]
    
    RewriteCond %{HTTP_HOST} ^thecodecage.org$ [OR]
    RewriteCond %{HTTP_HOST} ^www.thecodecage.org$
    RewriteRule ^.*$ "http\:\/\/www\.thecodecage\.com\/" [R=301,L]
    
    RewriteCond %{HTTP_HOST} ^thecodecage.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www.thecodecage.com/$
    RewriteRule ^/?$ "http\:\/\/www\.thecodecage\.com\/" [R=301,L]
    
    RewriteCond %{HTTSP_REFERER} !^https://www.paypal.com/.*$ [NC]
    RewriteCond %{HTTPS_REFERER} !^https://www.paypal.com$ [NC]
    
    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 %{query_STRING} !vbet_outside=true
    RewriteRule ^(.*)$ $1?vbet_outside=true [L,QSA]
    
    
    RewriteCond %{HTTP_REFERER} !^http://skype.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://skype.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://thecodecage.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://thecodecage.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.paypal.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.paypal.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.skype.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.skype.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.co.uk/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.co.uk$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com/forumz/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com/forumz$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com/forumz/images/avatars/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com/forumz/images/avatars$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com/golf/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.com/golf$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.eu/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.eu$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.org/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.thecodecage.org$ [NC]
    RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

Page 1 of 2 12 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
  •