Error on clean install to shared host (SiteGround)

If you run tt-rss on an officially unsupported platform (shared hosting, Windows, etc.) post here
rcalinjageman
Bear Rating Trainee
Bear Rating Trainee
Posts: 3
Joined: 25 Mar 2013, 00:51

Error on clean install to shared host (SiteGround)

Postby rcalinjageman » 25 Mar 2013, 00:58

I realize shared hosting is not supported, but was wondering if anyone could point me in the right direction.

I was able to download and install tt-rss to a raspberrian web server. The speed a was a bit slow, however, so I repeated the process using a shared host (Siteground). I unzipped the installation files, copied and altered config.php and setup a database. On first load, however, I get:

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/MYACCOUNT/public_html/ttrss/index.php on line 98
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/MYACCOUNT/public_html/ttrss/index.php on line 98

I checked line 98 of index.php, which is:
echo JShrink\Minifier::minify($p->get_js());

within a loop to initialize a set of plugins. I've got to admit, though, that I don't really understand the syntax for PHP classes. Nor can I fathom why this would parse just fine on a local machine but not on a shared host.

Have I done something wrong? Any ideas?

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

Re: Error on clean install to shared host (SiteGround)

Postby fox » 25 Mar 2013, 10:56

Namespaces = php 5.3. Read the requirements before installing stuff.

rcalinjageman
Bear Rating Trainee
Bear Rating Trainee
Posts: 3
Joined: 25 Mar 2013, 00:51

Re: Error on clean install to shared host (SiteGround)

Postby rcalinjageman » 25 Mar 2013, 18:30

Oh - didn't notice the specific version number for php. Thanks.

For others looking to getting this running via Siteground, in CPanel there is an option to set the version for Php. You can do this globally for your site or directory-by-directory. The current default is still 5.3.22 for siteground, but switching the tt-rss directory to 5.4 solves this problem. Detailed instructions from siteground are here: https://kb.siteground.com/how_to_have_d ... _versions/

joseph-mx
Bear Rating Disaster
Bear Rating Disaster
Posts: 68
Joined: 19 Oct 2012, 05:19
Location: http://www.mxhub.com/reader/
Contact:

Re: Error on clean install to shared host (SiteGround)

Postby joseph-mx » 26 Mar 2013, 05:17

shared host do have their own limitation.

raspi processor is consider on the low-end side..

both are not recommended for processing mid to heavy stuffs.

you can consider getting a a hosted tt-rss service. :p

Aldursil
Bear Rating Master
Bear Rating Master
Posts: 106
Joined: 18 Mar 2013, 03:11

Re: Error on clean install to shared host (SiteGround)

Postby Aldursil » 26 Mar 2013, 05:28

joseph-mx wrote:shared host do have their own limitation.
you can consider getting a a hosted tt-rss service. :p


Is this a joke? I honestly cannot tell. ;)

On the upside I have been in contact with Bluehost to try and resolve my cron job issue and I suggested they support TTRSS with a simple script install. Earlier today they said they will be adding it very soon for all their customers.

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

Re: Error on clean install to shared host (SiteGround)

Postby fox » 26 Mar 2013, 08:46

>you can consider getting a a hosted tt-rss service. :p

There we go with the ads huh. :)

rcalinjageman
Bear Rating Trainee
Bear Rating Trainee
Posts: 3
Joined: 25 Mar 2013, 00:51

Re: Error on clean install to shared host (SiteGround)

Postby rcalinjageman » 26 Mar 2013, 18:29

One other tip for Siteground users (possibly others on hosted installs)--I found that the update script was not picking up parameters passed from the command line (not sure if this is a security setting in Siteground or what). I edited the script to remove the check if --feeds is passed (in which case the script acts like this is always passed). Seems to be working fine now.


Return to “Unsupported platforms”

Who is online

Users browsing this forum: No registered users and 2 guests