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?
Error on clean install to shared host (SiteGround)
-
- Bear Rating Trainee
- Posts: 3
- Joined: 25 Mar 2013, 00:51
- 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)
Namespaces = php 5.3. Read the requirements before installing stuff.
-
- Bear Rating Trainee
- Posts: 3
- Joined: 25 Mar 2013, 00:51
Re: Error on clean install to shared host (SiteGround)
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/
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/
-
- 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)
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
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
Re: Error on clean install to shared host (SiteGround)
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.
![Wink ;)](images/smilies/icon_wink.gif)
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.
- 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)
>you can consider getting a a hosted tt-rss service. :p
There we go with the ads huh.![Smile :)](images/smilies/icon_smile.gif)
There we go with the ads huh.
![Smile :)](images/smilies/icon_smile.gif)
-
- Bear Rating Trainee
- Posts: 3
- Joined: 25 Mar 2013, 00:51
Re: Error on clean install to shared host (SiteGround)
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 1 guest