Questions tagged [nearlyfreespeech]

NearlyFreeSpeech.net is a pay-as-you-go hosting service that supports PHP 5.2, CGI for 12 languages, and MySQL 5.0 support. It also has ssh, SFTP and FTP access, as well as a web-based control panel.

28 questions
0
votes
0 answers

"End-of-central-directory signature not found" after downloading zip file from my website

I have a zip file named filename.zip. I used FileZilla to upload it to /home/protected directory on my website, hosted by NearlyFreeSpeech.net. Recently, when I tried downloading the zip file and opening it by running unzip filename.zip in the…
Username
  • 3,463
  • 11
  • 68
  • 111
0
votes
1 answer

Timeout issue when running background PHP script as web

I've got a PHP script that does some heavy lifting that I'm trying to fire off as a background script using the following code: exec("script.php > /dev/null 2> /dev/null &"); What happens: When I run the code above as part of my web app, the…
caitlin
  • 2,769
  • 4
  • 29
  • 65
0
votes
2 answers

Running Python - 500 Internal Service Error

I have the following code (test.cgi): #!/usr/bin/env python # -*- coding: UTF-8 -*- # enable debugging import cgitb cgitb.enable() print "Content-Type: text/plain;charset=utf-8" print print "Hello World!" The file is CHMOD 777 and so is the…
Mark Lyons
  • 1,354
  • 6
  • 21
  • 57
0
votes
1 answer

Javascript not running nearlyfreespeech

I set up an e-commerce website for a friend using javascript and html, and with the nearlyfreespeech hosting service. I have made sure to load the html page correctly, and there are no errors (in both the console and on the actual page). I have also…
0
votes
1 answer

How do I set up Sinatra or another Ruby framework on NearlyFreeSpeech

How would I get the following code to work properly on a site hosted on NearlyFreeSpeech.net? require 'sinatra' get '/' do "Hello world!" end That code is in a script file named main.rb, which is in the public folder on my NSFN-hosted…
Generic_User_ID
  • 1,067
  • 2
  • 13
  • 16
0
votes
0 answers

What drawbacks are there to this method of using a single web server for 3 different sites?

I'm using nearlyfreespeech.net as a web host, and I got tired of having to manage 3 sites for 3 subdomains on my website, so I was looking into how to serve all 3 from one site. Each site is a shortname.nfshost.com domain, and can have an alias for…
0
votes
1 answer

Download stats of file hosted at a domain other than my website

I'm publicly sharing an .ics file in my Dropbox (free hosting) and want to track it's use by my community. Dropbox has no way of doing this, so I've setup AWStats on a static page at NearlyFreeSpeech.net with the intention of stealth redirecting…
0
votes
1 answer

CodeIgniter + nfsn_exec() replacement to exec() at nearlyfreespeech.net = fail :(

I use NearlyFreeSpeech.Net as my host, and my php app (coded in CodeIgniter) needs to make exec() calls. As this is not allowed under safe-mode, we are given a "special" was of executing things via a perl script. See details here:…
Mala
  • 14,178
  • 25
  • 88
  • 119
0
votes
1 answer

CakePHP, NearlyFreeSpeech.net, and MySQL

In the last ~week, my CakePHP site has been unable to connect to a MySQL database. Everything is hosted by NearlyFreeSpeech.net and I don't see any problems with the financial aspects of my account. Does anyone know what's going on? I'm able to…
Zian Choy
  • 2,846
  • 6
  • 33
  • 64
0
votes
3 answers

How do I change chmod settings to allow for file upload?

I've been trying to get get my PHP script to upload files. However, I come across this error: Warning: move_uploaded_file(images/faceBackground.png) [function.move-uploaded-file]: failed to open stream: Permission denied in…
Andrew
  • 3,501
  • 8
  • 35
  • 54
0
votes
1 answer

Using mod_rewrite with CodeIgniter on Nearly Free Speech

I'll preface this by pointing out that I'm a massive noob with .htaccess stuff and server related stuff in general. So I've built a website locally with wamp and I used a .htaccess file that I found from googling around.
user1537360
  • 4,751
  • 6
  • 26
  • 22
0
votes
1 answer

CakePHP and NearlyFreeSpeech.net

How do I set AllowOverride on NearlyFreeSpeech.net? I'm trying to follow the instructions at Within cakePHP, In my routes.php only the '/' (base path) works. Any other url is 404 page not found to resolve the problems described therein. So far, I've…
Zian Choy
  • 2,846
  • 6
  • 33
  • 64
0
votes
1 answer

Setting up a staging server web workflow with GIT

I'd like to set up a web design & development workflow with the following features: Local working directory which can be sync'd between my laptop and my desktop. I'll then commit this to a staging server and when I'm happy with it, copy that to the…
1
2