Hi Sebastian,

PHP's display_errors option is off by default.

After purging every package which tt-rss depends on, the outcome changed to 
this:

Firebug:

<title>404 Not Found</title>
<p>The requested URL /tt-rss/lib/fox/FeedTree.js was not found on this 
server.</p>

and this:

EXCEPTION: Exception: Error, xhrFailed
Function: init()
Location: dojo.js:15
https://domain.de/tt-rss/
Line 182

As that seemed pretty strange to me, I reinstalled the server and here is what 
i did:

apt-get install libjs-dojo-dijit/testing php-htmlpurifier/testing 
libjs-dojo-core/testing
apt-get install tt-rss/unstable
# to make /tt-rss accessible:
ln -s /etc/apache2/conf-available/50-tt-rss.conf /etc/apache2/conf.d/tt-rss.conf

Now its back to that {"error":{"code":7}} error.

Firebug:

login screen:
TypeError: Event.Handler is undefined
          Event.Handler.prototype.remove = function() {

After submitting any login information:
The character encoding of the plain text document was not declared. The 
document will render with garbled text in some browser configurations if the 
document contains characters from outside the US-ASCII range. The character 
encoding of the file needs to be declared in the transfer protocol or file 
needs to use a byte order mark as an encoding signature.

Chromium is still displaying the error I got before reinstalling, so I guess 
firefox has an encoding issue, which chromium avoids and the real problem is 
the above error. 

I hope this makes sense to you :) .
Benedikt

-----Ursprüngliche Nachricht-----
Gesendet: Samstag, 03 November 2012 um 02:59:41 Uhr
Von: "Sebastian Reichel" <[email protected]>
An: "Benedikt Haug" <[email protected]>,[email protected]
Betreff: Re: Bug#692132: tt-rss: Can not login
tags 692132 moreinfo
thanks

Hi Benedikt,

> On a fresh squeeze install when I try to log in I get this error: 
> {"error":{"code":7}}.
> Apache error log: 
> "File does not exist: /usr/share/tt-rss/www/lib/dojo/tt-rss-layer.js, 
> referer: mydomain/tt-rss"

This is not the actual problem. I will fix this in the next version :)

> How to reproduce this issue:
> apt-get install libjs-dojo-dijit/testing php-htmlpurifier/testing 
> libjs-dojo-core/testing
> apt-get install tt-rss/unstable

Please check the following things:

 * PHP's display_errors must be turned off for tt-rss, because of
   warnings printed by html purifier. These warnings invalidate
   the generated JSON.
 * If this is ok, please check your browser's javascript console
   for any errors.

-- Sebastian


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to