FAQ Database Discussion Community


Yii2 formatter relativeTime() is not working on shared host

yii2,shared-hosting,formatter,relative-date
It's working properly on local server, but when I upload it to the shared host, instead of displaying relative date it shows raw string. code: Yii::$app->formatter->asRelativeTime($timestamp, 'now'); local host: in 6 days shared host: in {delta, plural, =1{a day} other{# days}} Locale is set and timestamp is being passed. Intl...

Mongodb hosting remote vs on the same network

node.js,mongodb,hosting,shared-hosting
What is the killer reason to use remote db hostring services for MongoDB (like compose.io) for nodejs application VS hosting MongoDB on the same network (in the same datacenter, etc), for example when using PAAS providers (like modulus.io) which offer "integrated" MongoDB hosting . What percentage of speed/perfomance may degrade...

robots.txt allow all except few sub-directories

seo,search-engine,cpanel,robots.txt,shared-hosting
I want my site to be indexed in search engines except few sub-directories. Following are my robots.txt settings: robots.txt in the root directory User-agent: * Allow: / Separate robots.txt in the sub-directory (to be excluded) User-agent: * Disallow: / Is it the correct way or the root directory rule will...

How to run Python programs on a Linux shared hosting?

python,linux,excel,shared-hosting
I wrote a Python script which does some nice stuff. It reads some inputs from an excel file and stores the results in another excel file. My plan is: I can make a web based form from which can be used to input the python program. I can make the...

SPDY on shared host & SEO Sematics

seo,semantics,shared-hosting,spdy,http2
NodeSPDY on shared host I got a webspace hosted by uberspace and want to use NodeSPDY, but there is a loadbalancer in between which cuts off the tls connection. On uberspace one can request a Port to be opened. With this port it is possible to request resources directly by...

SSH - Connection reset by peer - Linux Host

linux,ssh,hosting,server,shared-hosting
I have a hosting account with linux shared hosting account with godaddy, recently my ssh access stopped working, this is the error: Toms-MacBook-Pro:production tom$ ssh [email protected] ssh_exchange_identification: read: Connection reset by peer This happens on my wifi connection however if i create a mobile phone hotspot and connect through my...

Strange error #32 on website's bottom using yii2

php,yii,yii2,shared-hosting
I am using yii2 , and I have recently uploaded my whole website on the godaddy shared server. I have uploaded on the root folder my all other folders like controller , vendors , config etc Then I have uploaded my "web" folder files like index.php and themes etc to...

Laravel 5 on shared hosting getting internal server error

deployment,ftp,laravel-5,shared-hosting
I am trying to get my Laravel 5 project running on my shared hosting through FTP. I have uploaded all my project files from my local XAMP-folder to the server root directory and put the files in the 'public' folder in the public_html folder. When I go to mydomain.com I...

Laravel 5 on shared hosting - wrong public_path()

php,laravel-5,shared-hosting
I deployed a Laravel 5 project to a shared hosting account, placing the app-files outside of the www-folder, placing only the public folder inside of the www-folder. All like explained here, in the best answer: Laravel 4 and the way to deploy app using FTP... without 3. because this file...