I could not launch Php files using Aptana Studio 3 - wamp

I recently downloaded the Aptana Studio 3 and installed it on my computer..I also configure the webserver in aptana by navigating in window > preferences > webservers, and then i click new button i choose "external web server". then filled all fields ,
Name:WampSerever
Base URL://localhost
C:\wamp\www
Start Command: NET START wampapache
stop Command: NET STOP wampapache
After that, when i am going to test my php by clicking the green button above in the Aptana Studio select "Run firefox-Internal Server"...the firefox open but it displays blank page...
This is what is displayed in the URL
http://127.0.0.1:8020/TestAptana/Hello.php

If your code is correct then try this. I use XAMMP as my server so I'm not sure if this will work with WAMMP.
Go to run configurations select Web Browser then choose which browser you want to use. Then in the main tab under Server find "Use base URL" and click on it. Enter http://localhost/ and make sure that you check the "Append project name".
Make sure that your index page's name is index.html or index.php if you are using php and try running it.

I have this problem too, but one additional thing you need to is to set the path for PHP.exe.
Do this by going to Preferences/Aptana Studio/Editors/PHP/PHP Interpreter. Add and fill in blanks (browse) to php.exe.

Related

How do I use Chrome extension in WebStorm?

I making web using React in VSCode.
In VSCode, I can configure the debug configuration, which is executed by pressing F5.
launch.json…
"runtimeArgs":
"--remote-debugging-port=9222"
I want to have the same effect in WebStorm. How can I do this?
You can specify Chrome command line arguments (like --load-extension) in Settings | Tools | Web Browsers and Preview: select Chrome there, click Edit on the toolbar and type the required keys in the Command Line Options field of the Chrome Settings dialog that opens.
For information about debugging React apps in WebStorm, see https://www.jetbrains.com/help/webstorm/react.html#react_running_and_debugging

To change the browser of localhost/phpMyadmin in WAMP

I have installed WAMP. But at the time of installation me selected internet explorer as default browser for opening localhost.Now my browser(internet explorer) is not working properly,so I have to change the browser to google chrome.What are the steps to follow to do the same?
This is an already answered question on this site
By the user: Sonal
and also here
By the user: Buru
I thought it would not work because those answers are from 10 and 5 years ago, but it does.
Just in case, I will use that answer adding some details:
Open C:\wamp or C:\wamp64 in Windows Explorer (or wherever you
installed wampserver)
Open wampmanager.conf file in a text editor
Find the section [main]
Find the following line:
navigator = "C:\Program Files\Internet Explorer\IEXPLORE.EXE"
Replace it with the location of the desired browser (firefox in this case):
navigator = “C:\Program Files\Mozilla Firefox\firefox.exe”
Save the the file
Restart WAMP with right click on the tray icon and selecting
'Refresh'. Then your default browser should be changed.

WebStorm Deployment menu options greyed out?

I have decided to use WebStorm it seems good however most of the time if I go to Tools - Deployment the upper menu options are greyed out? I can configure and I can go to Options but I cannot download from the server? I can open the remote host just fine and scroll through documents that way but from what I understand WebStorm loses a lot of functionality if you develop this way.
I have no Git and am just working by myself so this workflow is fine for me right now.....if I can download from the server!
In my Deployment Menu from Tools all of the tests work and I can autofind my folder and all that. Whats going on?
Here is the Mappings section:
Your Local path has to be part of your current project (root or a subfolder).
The deployment path a folder of your server where it should be stored - if it should be stored on the root it is just a slash: '/'.
If your connection is successful you should be able to select a folder with the dialog (on the right).
Make also sure your server is marked as 'default' which is your default connection for this project - based on that link.
The projects has been indexed by WebStorm so you can easily refactor and other fancy stuff.
Every project has a root folder with a config folder .idea.
For those that are convinced their mappings are set up the right way, here's one key thing to check. It seems like their SFTP usage does not follow symbolic links (on the remote) correctly. And you can see that if you go to the Mappings tab and click on the "..." for the Deployment path - when it shows the list, symlinked dirs do not show up. By avoiding symlinks in the path, I was able to get the upper part of the Tools/Deployment menu to be active again (non-grey)
I was using PyCharm Pro 2017.3

ColdFusion 9.0.1 trouble adding hot fix

I'm trying to add the cumulative hotfix to ColdFusion 9.0.1. The instructions say to click on the 'i' in CFAdministrator and In the "Update File" text box, browse and select chf9010004.jar located under CF901/lib/updates.
The issue seems to be that whatever browser plugin that is being used is no longer supported by the current JRE version. Is there a way to manually add the hotfix without this step requiring to use the Java file browser?
In Safari the Java file uploader plugin says java out-of-date even though I'm running the latest version.
In Chrome a message comes up that says This site uses a plugin JAVA (TM) that will soon be unsupported. The plugin seems to load, but never goes past saying retreiving initial directories
Do not use the Browse Server button, just type the full path to the extracted chf9010004.jar file into the Update File text box then click the Submit Changes button.
The path should be something like:
C:\directory_where_you_extracted_the_zip\CF901\lib\updates\chf9010004.jar

Saiku-Clicking on New query not displaying anything

I downloaded saiku (Saiku Server 2.4 (Including Foodmart DB)) from the following link -http://analytical-labs.com/downloads.php.
Following the installation notes, I have downloaded latest Apache software, JDK. As per instructions if I now go to localhost 8080 I see log on page. Upon logging with username and password as admin and admin I am into the Saiku main page.
When I click on 'New Query' button nothing is happening. I am not able to see any Foodmart Databse or Dimensions or anything.
Can someone help me where I have gone wrong?
I have got it working. Problem was after running start-saiku.bat file, the command prompt file was still running with 'Press enter to continue..'. Upon clicking this, the cmd prompt ended and now am able to browse through Saiku from localhost.