Questions tagged [cloud9]

Cloud9 is a cloud-based development environment that combines an online code editor with a full Ubuntu workspace. Supports more than 40 languages including PHP, Ruby, Python, JavaScript, Go.

342 questions
0
votes
1 answer

Using C9. Cannot connect to MySQL data base using PHP

So I'm attempting an assignment for uni through cloud9 and I am struggling to connect to my database. when I run the application this appears instead of connecting. what i see when running the application I will post my current code, but it has all…
Briana
  • 1
  • 1
0
votes
1 answer

Quickly run express app in AWS cloud9 from app generated from cloudstar?

I created an express app using CodeStar and used Cloud9 as the IDE. Is there a simple way to quickly run the app from the Cloud9 integrated terminal, like nodemon on a desktop? I am getting annoyed having to commit, build, and deploy the…
kroe761
  • 3,296
  • 9
  • 52
  • 81
0
votes
2 answers

Why are numbers inserted into a VARCHAR column without the ' ' but string texts aren't?

So I tried to experiment with the INSERT INTO code. I tried using the statement, INSERT INTO cats (name, age) VALUES ( 8, '3'); just to try it out and see what happens. It turns out it's still able to store both values. Under name, was 8, and under…
timmyen
  • 121
  • 2
  • 7
0
votes
0 answers

Cloud9 IDE issue for Python

I have written python program in IDE however, I get the following error for importing Pandas in python. Just importing pandas in the program. import pandas as pd ModuleNotFoundError: No module named ‘pandas’ However, I have also installed Anaconda…
0
votes
2 answers

Cloud9 (C9) AWS EC2 .htaccess being ignored

I have created a new C9 AWS instance, and my .htaccess file is being ignored. Here are the file contents: RewriteEngine on RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule !.*\.php$ %{REQUEST_FILENAME}.php [QSA,L] Here is what I have done: I…
drummer392
  • 473
  • 2
  • 8
  • 35
0
votes
1 answer

Ruby On Rails Error While Pushing To Heroku

I am fairly new to programming and would like some assistance with a problem. I am currently facing with Heroku. I'm trying to push my Ruby on Rails app to Heroku using Git push Heroku master, but I keep getting 2 errors stating: An error occurred…
A.P.
  • 1
  • 3
0
votes
1 answer

In Cloud9 IDE how to beautify HTML code inside Javascript strings?

In Cloud9 IDE you can automatically format HTML codes, or Javascript codes. But once in a while you need to do the formatting not compatible with the containing file type. For example, when you are authoring a web component widget, you need to…
Jinghui Niu
  • 990
  • 11
  • 28
0
votes
0 answers

Display images on page in node+express+mysql+cloud9

I have stored an image in directory and saved the path in a mysql table. I am trying to display the image on my ejs page. But it is not displayed. Everything is setup on cloud9. Please tell me what am I doing wrong. Express file: var…
Apoorv
  • 45
  • 6
0
votes
1 answer

how to use aws cloud9 environment id to open an environment?

I have been getting an Id from the aws CLI but I'm not getting the way of opening the environment without opening the aws console, is there any way of opening it without opening the console?
0
votes
2 answers

Oauth2 redirect_uri_mismatch

I've setup an environment in Cloud9 to create a website in Rails. I'm currently trying to enable login via Gmail, using the google oauth2 gem, but i ran into this problem and no matter where i look, every solution i've found does not seem to…
SrKurtz
  • 9
  • 5
0
votes
0 answers

My code editor gets rid of _ when I type Japanese characters in between " " in YAML

My code editor gets rid of _ when I type Japanese characters in between " " in yaml. I use AWS cloud9 to write codes. For example, when I type current_password: "現在のパスワード"

this is displayed as current password: "現在のパスワード" in the editor. _ is…
Kouta Nakano
  • 595
  • 3
  • 15
0
votes
0 answers

How to set auto reload in angular project on cloud9?

I am using Angular CLI on Cloud9, i am facing an issue that my angular project is not auto reloading. Need some help.
Akash More
  • 62
  • 1
  • 9
0
votes
1 answer

How to confirm processes on AWS Cloud9

I forgot how to confirm processes on Cloud 9. How can I confirm processes on Cloud 9?
Ryosuke Hujisawa
  • 2,682
  • 1
  • 17
  • 18
0
votes
1 answer

Is there a import class shortcut/feature in Cloud9 as there is in Eclipse?

I am experimenting with Cloud 9 This is my current code(In Vehicle.java) public abstract class Vehicle{ List tags; } Eclipse has this shortcut where you can scroll over a class you haven't imported(in this case List) and the IDE will…
committedandroider
  • 8,711
  • 14
  • 71
  • 126
0
votes
2 answers

how can i retrieve objectId of parse server through req.params.id

I am trying to retrieve a parse object with objectId in the show route on nodeJS. Below is my code to help you understand better. //SHOW route app.get("/books/:id", function(req, res) { var Books = Parse.Object.extend("Books"); var query = new…
felix
  • 73
  • 2
  • 8