With mods disabled:
Warning: Assigning the return value of new by reference is deprecated in ..../includes/init.php(351) : eval()'d code on line 139
Unable to add cookies, header already sent.
File: /var/www/site.com/forum/includes/class_core.php
Line: 5755
With mods enabled/back on:
Warning: Assigning the return value of new by reference is deprecated in ..../includes/init.php(351) : eval()'d code on line 139
Warning: Only variables should be assigned by reference in ..../includes/vbenterprisetranslator_functions_hooks.php on line 851
Running nginx, so I tried:
(without the ;
rewrite ^/forums/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last
rewrite ^/forums/(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|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|ur|vi|cy|yi)/$ /forums/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/ last;
rewrite ^/forums/(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|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|ur|vi|cy|yi)/(.*)?$ /forums/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/$2 last;
It seems I need to pass rewrites to dbSEO and vBET, how do I do so?
I already have rules similar to:
if (!-e $request_filename) {
rewrite ^/forums/(.*)$ /forums/vbenterprisetranslator_seo.php last;
}
}
if ($request_filename ~ "\.php$" ) {
rewrite ^/forums/(.*)$ /forums/vbenterprisetranslator_seo.php last;
}
but pointing to dbseo last;
The current nginx config:
location /forum/ {
try_files $uri $uri/ /forum/dbseo.php?$args;
rewrite
^/forums/(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko$
/forums/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/ last;
rewrite
^/forums/(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko$
/forums/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/$2 last;
if ($request_uri ~* ^/forum/mobiquo) {
break;
}
if (-f $request_filename) {
expires 30d;
break;
}
if ($request_filename ~ "\.php$" ) {
rewrite ^(/forum/.*)$ /forum/dbseo.php last;
}
if (!-e $request_filename) {
rewrite ^/forum/(.*)$ /forum/dbseo.php last;
}
}
}
Please help in assistance