Running aptana studio on Ubuntu with php - aptana

I have just installed Ubuntu.
I am a new user to ubuntu but have managed to get php/mysql working as verified by localhost.
I downloaded aptana studio,created a php project and did a simple .php page.When I go to run the page by pressing the green arrow.
I get a popup with the following error.
"Unable to launch"
The selection cannot be launced,and there are no recent launches

Aptana Studio does not include a PHP server for previewing, so you need to set one up. Since you already have a server, you just need to connect Studio to preview against that. There is a document here that explains the process:
http://wiki.appcelerator.org/display/tis/Setting+up+an+external+web+server+to+preview+PHP+and+other+non-HTML+pages

Related

I made a .NET web app in Visual Studio. Running the pre-made scripts through Visual Studio causes a 404. Running through command prompt doesn't

So this is frustrating because I want to host a website in Azure. I have not done any editing to the pre-made scripts the Visual Studio creates when making the new project. I have been following the official documentation from Microsoft for this process.
Opening the project in Visual Studio and pressing Ctrl+F5 to start the application without debugging causes "localhost:Port" to open in my browser with a 404 error. No web page is found. I have also gone through the process the host the site on Azure. The same thing happens, but with webapplication.azurewebsites.net instead.
Now it gets weirder. Opening the folder and running web application through command prompt, not Visual Studio, opens LocalHost:Port WITHOUT a 404 error.
Again. I just have the basic code that VS makes when creating a new .NET project.

Visual Studio 2017 Doesn't Run Core Apps with IIS Express

I am having an issue with Visual Studio 2017 RC where when I run an MVC and/or WebAPI app using IIS Express the app never actually runs. Instead I get stuck with a page in the browser indicating it is trying to attach and from there it goes no further. If I open another tab/window in the browser and try to navigate directly to the launch URL, it just spins forever. Likewise when I run this using the dot net run command, the app launches and runs fine.
There do not seem to be any errors that I can see, just that the browser spins indefinitely without actually ever loading the page/endpoint.
Note: this occurs for most any circumstance. Newly created project in VS with no changes, known working project from previous versions, etc.
You could follow or upvote the issue: https://developercommunity.visualstudio.com/content/problem/11391/aspnet-core-iis-express-httplocalhost51733-failed.html
Looks like our workarounds meanwhile are
dotnet run
Publish to local IIS. Which is working for me.
(Untested: downgrade from core-1.1 to core-1.0)
If you aren't familiar with VS2017/asp.net:
You have, or can reveal via View Menu-->Other Toolbars :
Debug toolbar --> dropdowncombobutton saying "[green arrow>] IIS Express"
Click on the dropdown downarrow part of the button.
You should see a Run {yourprojectname} option.
This is the equivalent of dotnet run {yourprojectname} from the commandline.
You can configure the options that appear in the dropdown with
Right-click on project in solution explorer --> Properties --> Debug
I had this same issue and after digging around for a while I discovered that I had dotnet preview v1.0.0-preview2 installed under Programs Files (x86) and a non-preview version in x64. I think VS is launching the x86 (preview) version but expecting to see the full version. To fix this, I did the following.
from programs and feature uninstall every visible dotnet core. (note: for me this did not remove the x86 preview)
go to https://www.microsoft.com/net/download/core#/sdk and install BOTH x86 and x64 SDK packages
open command line and from the root directory check run: dotnet --version (at the time of writing it was 1.0.4)
fire up .net core project in VS 2017 and run.
When I did all of the above, I was able to start up the site in IIS Express from VS.

Install and configure Backendless Standalone on a PC?

After Parse.com announced they're closing I've decided to find a new mbaas, and I found Backednless.
I downloaded their standalone version and installed it on my PC.
I would like to configure it in some way, in order to be able to deploy my custom Java/PHP server code from CodeRunner on InteliJ IDE to the Standalone version running on my PC.
Could show me how do you configure the config files properly, please?

how can I view the schema of my sqlite database in pycharm?

I have sqlite database in a django project and everything works fine.
But seeing django dbshell does not work with sqlite I found pycharm has a database connector/manager but I can't find where I can input sql commands or see the schema.
Thanks
Ok found it it is on the far right side of the window there is a "database" tab
In pycharm 5 pro at least
TL;DR: For anyone coming across this problem, I fixed it with JetBrains toolbox. Just upgrade PyCharm, using default configurations.
Detailed Instructions
Download JetBrains Toolbox, if you don't have it already.
If you installed PyCharm via JetBrains Toolbox, then skip this step. Otherwise, uninstall PyCharm and then reboot.
Launch Jetrbrains Toolbox, and enter your license information.
Install / Update PyCharm using the Toolbox.
Launch PyCharm using JetBrains Toolbox.
If you are prompted to import configuration files from an older version of PyCharm, do not import. If you need those configurations, then I recommend manually setting them afterward.
Open your existing project.
Open the Database tool window (View -> Tool Windows -> Database)
PyCharm should autodetect the Django Sqlite3 database.
Click the notification, and it should add a data-source called Django default.

How can I make Flash Builder 4 launch browser on run?

I recently installed Adobe Flash Builder 4 in standalone mode on a new installation of Windows 7 x64.
I can load and build an existing Flex 4.1 project I have been working on, but when I go to run the project in the browser (Firefox 3.6.15), I get:
'Launching BensApp' has encountered a problem.
An internal error occurred during: 'Launching BensApp'
Clicking the Details >> button reveals:
java.lang.NullPointerException
My project is creating the SWF and container HTML page as expected, but fails to load the browser.
Ok. Finally nutted this out.
The problem was that Flash Builder was trying to run the ASP.NET web server at:
c:\Program Files (x86)\Microsoft
Shared\9.0\WebDevServer.exe
This is the default location if you have VS2008 installed.
I only have VS2010 installed, which places these files at ...\Shared\10.0. The solution was to copy WebDevServer20.exe to the above location.
The other solution that would work is to change Flex Server \ Application Server type to "None\Other".
Check the launch configurations located in Project>Properties>Run/Debug Settings.
To open a browser when you run the project you will need to modify the 'URL or path to launch' parameter.
See the Adobe Flex help for more info: Managing Launch Configurations.
Select "Run As" in Green Debug Button. It Fixed My Problem.

Resources