shared-hosting

Problems cloning 1and1 git repository in 1and1 shared Linux server with Eclipse EGit

拟墨画扇 提交于 2019-12-06 11:22:44
I have just setup a git repository in my 1and1 shared hosting. 1and1 offers git as part of the Linux business package and I decided to use it instead of installing my own git. When I do dir .git I can see the information inside the repository: -rw-r--r-- 1 foo ftpusers 23 Sep 6 19:41 HEAD drwxr-xr-x 2 foo ftpusers 6 Sep 6 19:41 branches -rw-r--r-- 1 foo ftpusers 92 Sep 6 20:42 config -rw-r--r-- 1 foo ftpusers 73 Sep 6 19:41 description drwxr-xr-x 2 foo ftpusers 4096 Sep 6 19:41 hooks -rw-r--r-- 1 foo ftpusers 1038768 Sep 6 19:41 index drwxr-xr-x 2 foo ftpusers 20 Sep 6 19:41 info drwxr-xr-x

Junk characters in URL when domain forwarding

戏子无情 提交于 2019-12-06 07:26:20
I'm facing this issue lately, I have forwarded my domain to one of the files which are hosted on my GoDaddy shared hosting. However, whenever I hit the domain name in the browser it leads to the respective file (.html ) along with the junk characters preceding. Example: www.domainname.info Leads to: https://www.mydomainname.in/coffee.html/NjSmZ/KiKgZ/ Result: Error 404 page not found. Haven't changed any code; it's a sudden behavior. UPDATE (more info): The NjSmZ/KiKgZ/ are the junk characters in the link. Forwarding is made through the GoDaddy domain forwarder itself. No external coding is

How To Solve [Warning: fsockopen(): unable to connect]?

余生颓废 提交于 2019-12-06 06:54:27
问题 I want to check that my server Ubuntu Server 14.04 LTS is online or not at my shared hosting server. My server has IP not domain but my shared hosting server has domain. For this purpose I used the below code in my shared hosting server to check that my server is online or not. <?php $site = "XX.XX.XX.XX"; $port = 7550; $fp = fsockopen($site,$port,$errno,$errstr,10); if ($fp === false) { print($errno." : ".$errstr); } if(!$fp) { echo "SERVER IS DOWN"; } else { echo "SERVER IS UP ON PORT ".

Laravel 5 is not working on shared hosting

▼魔方 西西 提交于 2019-12-06 05:46:18
I have tested my Laravel 5 project on localhost its working fine with this url - http://localhost/project-name/public/ Then I uploaded my project on shared hosting, I have made desirable changes for database on .env file then trying to access it with the url - http://companysite.com/folder/innerFolder/public/ but not working and getting 500 internal server error I have gone through with other questions with the related but no answer lead me to my solution. I have done following steps upload my project on root directory parallel to public_html update to project/public/index.php try to create

how to deploy vue app in the shared hosting environment?

和自甴很熟 提交于 2019-12-06 03:47:09
问题 I would like to deploy my vue application on shared hosting server. How should I do it? Its a bit confusing as of now. Will I need express js for it or I can directly upload it like the normal html site? 回答1: Here's how I deployed mine. Goto to your project folder -> config -> index.js file ensure that the assetsPublicPath: is pointed to the public_html path of your shared hosting account. Run the " npm run build " command. Go to your project folder copy the contents of the dist folder paste

Rsync without SSH access

二次信任 提交于 2019-12-05 21:09:45
问题 Firstly, i'm not sure this is the best place to put this question so if it needs moving, thats cool. I have shared hosting with no SSH access, what are my options in terms of deployment/rsyncing... I build applications in PHP and use GIT, not sure if this changes things... 回答1: Rsync legacy versions used rsh as the transport layer, which was replaced by the more secure ssh, you can however force it to use other transports with the -e tag (--rsh), rsync --rsh=rsh Alternative options, unison

Host Primary Domain from a subfolder

无人久伴 提交于 2019-12-05 16:43:05
I am having a problem making a sub directory act as the public_html for my main domain, and getting a solution that works with that domains sub directories too. Background My hosting allows me to host multiple sites, which are all working great. I have set up a subfolder under my ~/public_html/ directory called /domains/ , where I create a folder for each separate website. The folder structure on my server looks something like this: public_html domains websiteone websitetwo websitethree ... This keeps my sites nice and tidy. The only issue was getting my "main domain" to fit into this system.

Upgrading Olson tz database natively implemented in PHP

梦想的初衷 提交于 2019-12-05 15:29:21
I'm working on a site that makes heavy use of time zones which needs to be on the bleeding edge of the absolute latest tz information available (which I already get through the tz mailing list ). What I don't know is how to get the PHP installations running on my development machine and my web host to use more up-to-date tz data instead of the older data already on them. This isn't as simple as just upgrading PHP, since even the newest versions of PHP won't necessarily have the absolute latest tz data at any given time. It's been pointed out that the timezonedb package in pecl will get me to

Change primary key column in SQL Server

梦想的初衷 提交于 2019-12-05 08:20:58
问题 UPDATE Here are the constraints as a result of the query SELECT * FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE WHERE TABLE_NAME = 'history' CONSTRAINT_NAME COLUMN_NAME ORDINAL_POSITION PK_history userKey 1 PK_history name 2 Here is the result of the query SELECT * FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE TABLE_NAME = 'history' CONSTRAINT_NAME CONSTRAINT_TYPE IS_DEFERRABLE INITIALLY_DEFERRED PK_history PRIMARY KEY NO NO END UPDATE My host provides an interface to my SQL Server DB via ASP

Tail a text file on a web server via HTTP

被刻印的时光 ゝ 提交于 2019-12-05 08:14:18
Looking for input on how to solve the following problem. My ColdFusion 9 app has a simple logger that writes text to a file. On my dev machine, the file is local so I can use either 'tail -f' or CFB's TailView to watch it. I'd like a tool to watch it when it's deployed on the production server. The catch: production is at a shared CF hosting provider which doesn't allow RDS file access or a directory-watcher gateway. I'm wondering about a page with a meta refresh tag or if I want to get more fancy, something AJAXy to the same effect. Thoughts? Any tools that already exist for this? I may