PDA

View Full Version: Rezoud & Goto = lyen newpost pa redireksyon byen



moman
27-10-10, 02:55
Tout demann showthread.php? T = x & Goto = newpost montre paj vid epi yo pa byen redireksyon.

Sa a se yon. Takses pwoblèm (se sa ki vbseo sipò te di m 'pi bonè), men ranje yo te sanble yo kraze yon lòt bagay. Èske w gen okenn lide ki sa ki kapab dwe mal isit la?


# 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

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /

RewriteCond %{HTTP_HOST} !^www\.pentaxforums\.com
RewriteRule (.*) http://www.pentaxforums.com/forums/$1 [L,R=301]

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|et|tl|fi|fr|gl|de|en|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=/forums/ [L,QSA]
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|et|tl|fi|fr|gl|de|en|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=/forums/$2 [L,QSA]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbenterprisetranslator_seo.php [L,QSA]

#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 $ vbenterprisetranslator_seo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]

Options All -Indexes
Options +FollowSymLinks

kamilkurczak
27-10-10, 08:02
hello,
Èske ou ka kopi règleman sa-a:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule $ vbenterprisetranslator_seo.php [L,QSA]

epi kole l 'devan:

#RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
#RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]


Si ou enfim vBET se pwoblèm nan la toujou?

moman
27-10-10, 15:40
Mèsi pou repons lan èd memwa.
-Wi, pwoblèm nan al fè wout yo lè mwen retire règ takses vbet a
-Ou repare pa t 'chanje anyen

kamilkurczak
27-10-10, 16:11
Hello,
se sa, tanpri dekri isit la - ki jan mwen kapab repwodui l 'sou yon fowòm ou paske mwen cant repwodui li epi li i cant wè pwoblèm sa a.
Dezyèmman - tanpri keratin isit la ranpli sèvè louvri sesyon ou an (ranpli ak Informations sou tout pwoblèm sou sèvè) paske nou menm nou panse ke swa fonksyon se pa vizib
(Ki manke
require_once) Paske ou gen yon paj vid.

Thanks

moman
27-10-10, 18:13
http://www.pentaxforums.com/forums/showthread.php?t=10000&goto=newpost

Eseye ki genyen lyen ki kòm yon egzanp.

Remake byen ke pa gen okenn erè PHP oswa avètisman sou sa paj la.

Pwoblèm nan sèvè sèlman mwen obsève kounye a se yon pwoblèm ki sklit, men pwoblèm nan newpost anteryeur ki, kidonk sa a ka inyore.

Ki sa ki ta dwe pi bon fason debug sa a? Petèt dosye a vbenterprisetranslator_seo li pa byen pi devan demann nan vbseo? Remake byen ke showthread.php se pa menm yo rele si ou klike sou link ki pi wo yo.

kamilkurczak
28-10-10, 08:02
Hello,
Moman mwen menm sou sit ou la a:

http://www.pentaxforums.com/forums/
tanpri ekri kote m 'ta dwe klike sou gen pwoblèm sa a (etap pa etap) paske mwen dwe repwodui li byen.
Thanks

moman
28-10-10, 17:51
Pwoblèm la sèlman reyèlman vini leve pou itilizatè a fini lè AJAX fwa deyò epi yo replies rapid yo soumèt kòm yon fòm regilye. Li te tou fèt sou po a mobil ke nou asire w pou lyen yo newpost.

Tout moun sa yo se egzanp pafè nan erè a:
http://www.pentaxforums.com/forums/showthread.php?t=1000&goto=newpost
http://www.pentaxforums.com/forums/showthread.php?t=10000&goto=newpost

Sa a travay paske fil la se inègzistan:
http://www.pentaxforums.com/forums/showthread.php?t=10000000&goto=newpost

kamilkurczak
29-10-10, 10:04
hello,

Ok kidonk si w pa gen okenn nòt nan dosye log sèvè - tanpri ban m '(pa PM) aksè a detay admincp ou ak FTP.

dezyèmman. tanpri dekri isit la ki sa mwen ta dwe fè repwodui pwoblèm sa a (etap pa etap - pa gen okenn lyen yo) tanpri dekri kote mwen shoud klike sou, depi konbyen tan mwen ta dwe rete tann elatriye
Thanks

moman
30-10-10, 02:10
Mwen te fiks pwoblèm nan.

Nan vbenterprisetranslator_seo.php, chanje liy 56 nan:


if (isset($_GET['t']) && !isset($_GET['goto']) && false !== strpos($_SERVER['REQUEST_URI'], 'showthread.php')) {

vBET
01-11-10, 17:30
Li te deja tankou sa nan kòd nou yo nan vBET4.x - nou bliye fè li tou nan vBET 3.x - fot nou. Mwen korije li kounye a - li pral enkli nan lage pwochen.

moman
02-11-10, 16:12
Gran-mèsi pou nòt la!

Automatic Translations (Powered by Google, Microsoft®, Yandex, SDL Language Cloud, IBM Watson and Apertium):
AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
vBET 4.10.1 brings automatic translations