TT-RSS and PHP 5.6

Support requests, bug reports, etc. go here. Dedicated servers / VDS hosting only
User avatar
Xeric Xenopus
Bear Rating Trainee
Bear Rating Trainee
Posts: 4
Joined: 06 Dec 2014, 14:26

TT-RSS and PHP 5.6

Postby Xeric Xenopus » 06 Dec 2014, 14:50

Hi guys, I have a problem.
After updating php up to 5.6 I cann't log in to my tt-rss.
I type my login and password, but get a denied:
Denied. Your access level is insufficient to access this page.

Also, if I try to run update.php I get this:
Tiny Tiny RSS was unable to start properly. This usually means a misconfiguration or an incomplete upgrade.
Please fix errors indicated by the following messages:

* FEED_CRYPT_KEY requires mcrypt functions which are not found.
* PHP support for MySQL is required for configured DB_TYPE in config.php.
* PHP support for mbstring functions is required but was not found.

You might want to check tt-rss wiki or the forums for more information.
Please search the forums before creating new topic for your question.


PHP 5.6 I get from Ondřej Surý's PPA:

About my server:
Ubuntu 12.04.01 with all security updates. Installed PHP's packets:
$ sudo dpkg --get-selections | grep php
dh-php5 install
libapache2-mod-php5 install
php install
php-pear install
php-xml-parser install
php5 install
php5-cgi install
php5-cli install
php5-common install
php5-curl install
php5-dev install
php5-fpm install
php5-gd install
php5-imagick install
php5-intl install
php5-json install
php5-mcrypt install
php5-mysql install
php5-pgsql install
php5-sqlite install
php5-tidy install
phpmyadmin install
pkg-php-tools install

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: TT-RSS and PHP 5.6

Postby fox » 06 Dec 2014, 15:07

I'm not sure if anyone here cares about ppas and/or your botched ubuntu install

maybe next time use whatever your OS vendor provides support for, idk

User avatar
sleeper_service
Bear Rating Overlord
Bear Rating Overlord
Posts: 884
Joined: 30 Mar 2013, 23:50
Location: Dallas, Texas

Re: TT-RSS and PHP 5.6

Postby sleeper_service » 06 Dec 2014, 17:11

Xeric Xenopus wrote:Also, if I try to run update.php I get this:
Tiny Tiny RSS was unable to start properly. This usually means a misconfiguration or an incomplete upgrade.
Please fix errors indicated by the following messages:

* FEED_CRYPT_KEY requires mcrypt functions which are not found.
* PHP support for MySQL is required for configured DB_TYPE in config.php.
* PHP support for mbstring functions is required but was not found.

You might want to check tt-rss wiki or the forums for more information.
Please search the forums before creating new topic for your question.


what kind of a *special* idiot is it that posts an error message, that tells him what's not working, and says "what's not working? please read this back to me because I'm too fucking stupid to read it to myself?

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: TT-RSS and PHP 5.6

Postby fox » 06 Dec 2014, 18:23

ubuntu users are special

User avatar
Xeric Xenopus
Bear Rating Trainee
Bear Rating Trainee
Posts: 4
Joined: 06 Dec 2014, 14:26

Re: TT-RSS and PHP 5.6

Postby Xeric Xenopus » 06 Dec 2014, 19:35

Oh, what a smart answers! Thnx a lot!
sleeper_service, here is a part of my config.php:

Code: Select all

define('DB_TYPE', 'mysql');
define('DB_HOST', 'localhost');
define('DB_USER', 'tinyrss');
define('DB_NAME', 'rss');
define('DB_PASS', 'KemSwduWpwps95zb');
define('DB_PORT', '');

define('MYSQL_CHARSET', 'UTF8');

but I get an error PHP support for MySQL is required for configured DB_TYPE in config.php.
And I have no idea what to do with another two errors:
* FEED_CRYPT_KEY requires mcrypt functions which are not found.
* PHP support for mbstring functions is required but was not found.


Why I wrote it here? Because phpinfo() said me, that mbstring.so and mcrypt.so is enabled.

Any idea or you only can tell me to go f*ck?

User avatar
Xeric Xenopus
Bear Rating Trainee
Bear Rating Trainee
Posts: 4
Joined: 06 Dec 2014, 14:26

Re: TT-RSS and PHP 5.6

Postby Xeric Xenopus » 06 Dec 2014, 19:42

For too smart people, I repeat:
TT-RSS worked well until I upgrade my php to version 5.6.3

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: TT-RSS and PHP 5.6

Postby fox » 06 Dec 2014, 19:49

yes hello guys i broke something on my ubuntu linux install

brb gonna report to an unrelated forum

>Any idea or you only can tell me to go f*ck?

i think you're starting to get the gist of it

e: i seriously lol at people who not only install some retarded unsupported by anyone shit from some internet retards' ppa and then go and demand help from other unrelated people who don't do any such stupid thing. ubuntu ppa culture is a fucking disease and those who use it are developmentally disabled, hth.

JustAMacUser
Bear Rating Overlord
Bear Rating Overlord
Posts: 373
Joined: 20 Aug 2013, 23:13

Re: TT-RSS and PHP 5.6

Postby JustAMacUser » 06 Dec 2014, 20:07

See if this thread helps you.

http://tt-rss.org/forum/viewtopic.php?f=1&t=3214

Also, change your database password and in the future don't post stuff like that.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: TT-RSS and PHP 5.6

Postby fox » 06 Dec 2014, 20:11

ahaha

User avatar
Xeric Xenopus
Bear Rating Trainee
Bear Rating Trainee
Posts: 4
Joined: 06 Dec 2014, 14:26

Re: TT-RSS and PHP 5.6

Postby Xeric Xenopus » 06 Dec 2014, 20:28

JustAMacUser, I read that topic, but it didn't help me. So, I purge all php configs and reinstall php. Now update.php working well, but I still cann't login to tt-rss.
In any case, many thanks to you.

JustAMacUser
Bear Rating Overlord
Bear Rating Overlord
Posts: 373
Joined: 20 Aug 2013, 23:13

Re: TT-RSS and PHP 5.6

Postby JustAMacUser » 06 Dec 2014, 22:30

Out of curiosity, is there any particular reason you upgraded to such a bleeding edge version of PHP? If you don't need it (and TT-RSS certainly doesn't) there isn't any reason to since it would be more prone to vulnerabilities, bugs, etc.

Upgrading for upgrading's sake is not always a great idea with production servers. As fox mentioned earlier, it's often best to stick with the OS vendor's packages unless something specific is required.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: TT-RSS and PHP 5.6

Postby fox » 06 Dec 2014, 22:45

well you see, he's using ubuntu (is php/web stuff even in main on this shit distro? if its unsupported universe then fucking lol) and some guy published a ppa. therefore, that's production grade stuff right?

op, you're dumb. stop being so dumb, op.

e: thousands of chucklefucks out there use ubuntu (including universe lol) in production environment and it makes me irl mad, if it was some idiots desktop it would at least be mostly harmless if stupid and pointless

User avatar
sleeper_service
Bear Rating Overlord
Bear Rating Overlord
Posts: 884
Joined: 30 Mar 2013, 23:50
Location: Dallas, Texas

Re: TT-RSS and PHP 5.6

Postby sleeper_service » 06 Dec 2014, 23:40

fox wrote:ubuntu users are special

we're not all off the short bus.

Xeric Xenopus wrote:Oh, what a smart answers! Thnx a lot!
sleeper_service, here is a part of my config.php:
And I have no idea what to do with another two errors:
* FEED_CRYPT_KEY requires mcrypt functions which are not found.
* PHP support for mbstring functions is required but was not found.

Why I wrote it here? Because phpinfo() said me, that mbstring.so and mcrypt.so is enabled.
Any idea or you only can tell me to go f*ck?


though some are more special than most... *sigh*

votsalo
Bear Rating Trainee
Bear Rating Trainee
Posts: 2
Joined: 30 Nov 2014, 11:39

Re: TT-RSS and PHP 5.6

Postby votsalo » 07 Dec 2014, 15:00

Last I heard, Wikipedia was running on Ubuntu (although the information I read is from 2009).
Why are you guys so rude? It would suffice to say that ubuntu does not by default use PHP 5.6 (not even Ubuntu 14.04).
Therefore, if the OP wanted to experiment with such a new version of PHP on a two year old version of Ubuntu, he should debug it himself.

charlie-tca
Bear Rating Trainee
Bear Rating Trainee
Posts: 32
Joined: 03 May 2013, 23:04
Contact:

Re: TT-RSS and PHP 5.6

Postby charlie-tca » 07 Dec 2014, 16:41

You hit it right on the head. By using experimental software, the issue of it not working should never have been asked. A little bit of research and reading would tell the individual not to ask for help for that version of PHP, since it is not part of TT-RSS.


Return to “Support”

Who is online

Users browsing this forum: No registered users and 8 guests