0

I've got a weird problem. On some pages in my Zend project i can see a strange forward slash coming out of nowhere. It has a random location, sometimes on the begining, sometimes in the end.

The thing is - there is no "/" anywhere in view script, layout or view helper. I've figured out that if I won't use model in the controller then it doesn't show up, but if I do its automaticly printed on my page. And no, there are no "echos" or "prints" in neither controller nor model.

4

1 に答える 1

1

みんなありがとう、問題は解決しました。<?php ...ファイル検索を行ったところ、モデル ファイルの 1 つで全体の前に「/」が見つかりました。そのモデルの関数を使用するたびに、このスラッシュを取得しましたが、今ではなくなりました。私は今では一種の初心者のように感じますが、彼らが言うように、問題が簡単であるほど、それを解決するのは難しくなります;)

于 2011-11-07T07:25:33.327 に答える