"invalid Parameter: "uri" Array Value Must Be A Non-empty..." Hatasının Çözümü

Whistle

Ruhsuz Filozof
Kurucu
Kurumsal Üye
Geliştirici
Yardımsever Üye
Mesaj
11.494
Çözümler
546
Beğeni
12.045
Puan
5.864
Bu hata nedir?

XenForo'da Türk kullanıcıların sıkça karşılaşabileceği bir sorundur. Sebebi Zend Framework'un uri denetleme fonksiyonlarının İngilizce olmayan karakterlere izin vermemesidir. Bu hata sitenizin beslemelerinin (rss) çalışmamasına neden olabilir.

Hata kaydı

Kod:
Hata Bilgisi
Zend_Feed_Exception: Invalid parameter: "uri" array value must be a non-empty string and valid URI/IRI - library/Zend/Feed/Writer/Entry.php:108

Yığın Takibi
#0 /home/(sizin-hosting-hesabınız)/public_html/library/XenForo/ViewPublic/Forum/View.php(72): Zend_Feed_Writer_Entry->addAuthor(Array)
#1 /home/(sizin-hosting-hesabınız)/public_html/library/XenForo/ViewRenderer/Abstract.php(227): XenForo_ViewPublic_Forum_View->renderRss()
#2 /home/(sizin-hosting-hesabınız)/public_html/library/XenForo/ViewRenderer/Rss.php(31): XenForo_ViewRenderer_Abstract->renderViewObject('XenForo_ViewPub...', 'Rss', Array, 'forum_view')
#3 /home/(sizin-hosting-hesabınız)/public_html/library/XenForo/FrontController.php(572): XenForo_ViewRenderer_Rss->renderView('XenForo_ViewPub...', Array, 'forum_view', NULL)
#4 /home/(sizin-hosting-hesabınız)/public_html/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_Rss), Array)
#5 /home/(sizin-hosting-hesabınız)/public_html/index.php(13): XenForo_FrontController->run()
#6 {main}

Talep Yeri
array(3) {
["url"] => string(53) "http://www.mmotutkunlari.com/forums/-/index.rss"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}


Çözüm

Öncelikle "library/Zend/Feed/Writer" dizinindeki "Entry.php" dosyasını bir editör ile açınız. 105. satıra gidin veya şunu aratın:


Kod:
|| !Zend_Uri::check($name['uri'])

Bulduğunuz bu kontrol fonksiyonunu siliniz. Tabiki yedek alarak yapınız bunları.

Not: Bu çözüm geçicidir.
 
Geri
Üst