Flex Server Web Root
Hi Guys,
I am trying to configure a Flex Project so that it can use the php data services. Doing this for my local test server is easy web root is /applications/MAMP/htdocs/. But what should this web root be for my live server which is hosted by an ISP. I don't think I have visibility of the path to the web root on this server ...
... any ideas. All the examples on the web refer only to localhost installations.
Thanks
Richatd
this might help
http://www.youtube.com/watch?v=P333JuiX-V8
Similar Messages
-
FB4 Beta 2 error message on "validate configuration" for web root
Hello:
I have been working in FB4 beta 1 and had a php project working fine. After installing FB4 beta 2, i am now having problems with the flex server web root and/or root URL. i am now getting the following error message when I try and "validate configuration" for a configuration which had been working. The error message is:
"(the web root) is not a valid location because the project contains a linked resource at that location"
Here are my settings which had been workin g with FB4beta1, but which now result in the error message with FB4beta2:
>> web root c:\wamp\www
>> root URL: http://localhost
>> output folder: c:\wamp\www\projectname-debug
I am running wamp server on my local machine as my testing server; I run windows XP pro; this is a php project
Has anyone seen this problem in FB4 beta2?
thanks very muchI just recently had this issue myself but I did a Clean on my project and it seems to working fine now.
Hope this helps if you are still having this issue.
Keith -
Configure PHP Server: Why Can't I Create a Folder in the Web Root?
Hi,
I'm trying to create a new Flex 3 app with PHP as the application server type. I'm running: Flex 3.2, MAMP, Zend, PHP on an iMac with OS X 10.5.8.
Unfortunately, Flex won't let me validate my configuration.
a) I created a folder in htdocs called house.
b) I filled in Flex's Web root as: /Applications/MAMP/htdocs/house
c) Root URL: http://localhost
When I try to validate, it fails.
If I remove the folder house and try to validate as:
Flex's Web root: /Applications/MAMP/htdocs
Root URL: http://localhost
it works.
Why won't it let me create a folder in the web root? I've got a lot of other stuff in my htdocs folder and I'd like to keep things organized. Any suggestions on how to solve this problem?
Thank you.
-LaxmidiBefore anyone can help, they need information to work with. Basic stuff:
- What version of iPhoto.
- What version of the Operating System.
- Details. What were you doing when the problem arose?
- Did it ever work properly?
- Are there error messages?
- What steps have you tried already to solve the issue.
Anything else you can think of that might allow someone else to understand your issue. -
Flex mobile project: web root and root path for a remote web service?
Hi all,
i'm trying to set up the testdrive tutorial for flex mobile project, with flash builder 4.5
and php data.
I've uploaded the files on my remote web space (e.g. http://mywebsite.org, and the
test file is http://mywebsite.org/TestDrive/test/test.php... and it works
correctly)... But when i'm setting properties of the project, i don't know what
to write into the web root and root path fields... I thing root path is simply
http://mywebsite.org... and whatever i write in the other fields (output folder
too) i have errors when i click on "validate configuration"...
What should i put into those fields? is zend framework (and gateway.php)
strictly necessary?
As you can see... i'm a bit confused....
Many thanks for any help
Bye
AlexI thought it was a simple question...
No advice? -
Flex mobile project standalone flex server resets to J2EE and can not change
Developing an Android mobile project with FB 4.5. Set original project-->properties-->flex server to standalone with coldfusion as server. After setting web root, Root URL and Coldfusion root folder app works fine with CF. Sometime during development, flex server gets set to J2EE and CF access halts. Go back into project-->properties-->flex server and reset server to 'standalone' with original settings. click Apply or OK and assume that it is reset but it does not. Go back into flex server settings and it is still J2EE. I have seen this issue before and can not resolve it or find any other threads where there is a resolution to this. My only way to continue is to start a new mobile project, import the files and continue. This is not an acceptable way to design any mobile project!! HELP!!
Developing an Android mobile project with FB 4.5. Set original project-->properties-->flex server to standalone with coldfusion as server. After setting web root, Root URL and Coldfusion root folder app works fine with CF. Sometime during development, flex server gets set to J2EE and CF access halts. Go back into project-->properties-->flex server and reset server to 'standalone' with original settings. click Apply or OK and assume that it is reset but it does not. Go back into flex server settings and it is still J2EE. I have seen this issue before and can not resolve it or find any other threads where there is a resolution to this. My only way to continue is to start a new mobile project, import the files and continue. This is not an acceptable way to design any mobile project!! HELP!!
-
Web Root Flash Builder 4.5 mobile + PHP
hello everyone, i just want to know how to add the address of the web root when i do a flex mobile project, when i work locally in my server i put C:\xampp\htdocs, but when when i work remotelly how can i put this address.
for example if mi server is 200.100.1.12, and my root URL is http://200.100.1.12, how can i write de web root for this server, please help me, i dont know if i have to configure something else in the server or what i need to do, pleas any answer will be welcome.
ThanksEven though I spent a lot time, still my flex app on a mobile device cannot access to db on the remote server.
I made changes on the following files. Can you point out what was wrong? Thanks
.flexProperties file:
serverRoot="/var/www/vhosts/mydomain.com/httpdocs/public" serverRootURL="http://mydomain.com"
Web host's document root is /var/www/vhosts/mydomain.com/httpdocs/public
MyService.as file:
protected override function preInitializeService():void
super.preInitializeService();
// Initialization customization goes here
this._serviceControl.endpoint = "http://mydomain.com/gateway.php";
MyService.php
class MyService
public $username = "root";
public $password = "pwd_2";
public $server = "xx.xx.xxx.xx";
public $port = "3306";
public $databasename = "testdrive_db";
public $tablename = "mydb";
amf_config.ini
webroot = "/var/www/vhosts/mobilemenu.info/httpdocs/public"
zend_path ="/usr/local/php/ZendFramework-1.11.4-minimal/library"
library ="/var/www/vhosts/mydomain.com/httpdocs/library"
services ="/var/www/vhosts/mydomain.com/httpdocs/services"
[zendamf]
amf.directories[]=services
gateway.php
<?php
ini_set("display_errors", 1);
$dir = dirname(__FILE__);
$webroot = $_SERVER['DOCUMENT_ROOT'];
//Web Hosting Document Root: /var/www/vhosts/mydomain.com/httpdocs/public
$zenddir = '/usr/local/php/ZendFramework-1.11.4-minimal/library'; -
Issues with Error #2048 on deployed Flex/PHP Web Application
Hello,
I'm testing out Flash Builder for PHP and I'm running into the following error when deploying to a web servers:
Send failed
Channel.Security.Error error Error #2048 url: 'http://testsite.dreamhosters.com/LocatorPHP/public/gateway.php'
I have looked though documentation and tutorials without any luck. My application works great on the local Zend Server setup but as soon as I jump to a remote web server I get problems.
Here's what I've tried:
1) crossdomain.xml in web root
2) amf_config.ini updated so zend framework on server and gateway.php are reachable (connecting to gateway.php directly gives me no errors)
3) attemped to change the flex server option in my project but Flash Builder for PHP will not allow me to change this, so I had to change my php service.as endpoint entry to the gateway.php on the webserver
Is there a log that can help me troubleshoot the error?
Thanks in advance.Any solution I have just ran into the same issue. App works perfect on localhost phpmyadmin as soon I change everything to our public server ERROR#2048
I have tried same as above no results.
After countless hours of searching this worked for me!!!!
http://forums.adobe.com/thread/674871 -
Hi,
im building a mobile application with PHP Application Server Type.
Everything works good from localhost, so when im debuggin on Desktop.
Now i want export the release build, and i don't know how should change
Web root
Root URL
Output folder
in Flex Server Panel.
ThanksThank you Chris - I reposted my thread there.
Marc -
Need help with configuring web root and root url URL
Hello Folks,
I have been trying for a while to the flex 4 tutorial which asks you to connect to a mysql database. I have been able to configure the DB but cannot figure out what my web root and root url should be. Is there a web service that needs to be deployed or started. Would it be the IP address of the database that I created ( I tried that ) . I get the idea that an apache service must be started somehow on my flex environment and then I must find the root of the apache server. I dont see an apache directory anywhere. I am finding this difficult to know where to begin.Hi,
First you need to be running a web server on your computer something like wamp/mamp is usually the better choice as most people have had the best success with this server setup(and it has all the current services like php and myssql)
When you use the wizard the path to your webroot is usually whre you located the wamp/mamp install, for windows it maybe something like c:\wamp\www not 100% sure about macs but I think the 'www' folder on a mac is 'htdocs'.
your url is either http://localhost or http://127.0.0.1.
David. -
Clarification required regarding Flex Server
hi
I have been studying about the new flex 2 technology and have
downloaded the flex builder 2trail. I am able to build flex
application successfully and also have been able to deploy it on
Windows Office live . But i am very much confused about Flex Server
facility. First of all is Flex Server and Flex Data Services the
same. In the documentation provided in the Adobe website the Flex
server is said to be used to compile the mxml to appropriate swf,
but i have not downloaded any Flex server then how am i able to
compile the mxml to flash application.
Can some one plz give me a more clear idea about Flex Server
or give some useful link to read about it.Be happy to clear this up:
Flex 2 SDK (software development kit) is the Flex user
interface (we call it the 'framework') and the mxmlc and compc
compilers. This is free. It enables you to use HTTPService and
WebServices.
Flex Builder 2 is Eclipse (or a plug-in for Eclipse) and
includes the Flex 2 SDK. Which means it comes with the compilers.
Flex Server is part of Flex Data Services. Flex Server
includes Flex 2 SDK and allows you to deploy MXML and AS source
files to your web server so that when the main MXML file is
requested, it will be dynamically compiled into a SWF. We call this
the 'web tier' compiler.
Flex Data Services also includes Flex Data Management and
Messaging.
In addition to these there is also Flex Charting and the
ColdFusion 7.0.2 Flex Connectivity Kit.
HTH
--peter -
How to set up web root on mac os 10 cf 7 install?
I've finally gotten ColdFusion 7 up and running with Jrun 4
on a Mac running 10.4. Now I have a silly problem. Going to
http://localhost:8080 doesn't show
a web site. Neither does
http://localhost/. I know I'm
supposed to define the web root, but how do you do that on a mac?
I'm using the built-in server (not Apache) and therefore there
doesn't seem to be a "conf" directory to go into to set the
virtuals up. Also, on a mac, where do I find the hosts file???
Thanks. Sorry if this was answered before, but I've been
searching for an hour now and nothing comes up.Just a quick "bump" to see if anyone knows the final step in
setting up a site with CF 7 on a Mac. I need to know the equivalent
of the Apache VirtualHost and DocumentRoot settings for a
"Built-In" JRun4 configuration. Where are these settings? How do I
manipulate them? Can I set up multiple sites this way?
Thanks. -
Template changes wont update to server/web
So I'm trying to change a link in the uneditable region of my template and upload the changes to the server. For some reason I have one template.dwt in the primary folder, and a duplicate in the template folder. Don't know if this matters.
I "upload to server" and it alters all the child pages when I pull the local files up on Dreamweaver. However, the actual website does not reflect the link change on a single page. I can edit the content on child pages in editable regions and they update proper.
I disabled cloaking and some other random basic troubleshoots but nothing.
Not sure why I can edit the template, have it save to the child pages but have no changes reflected on the server/web.
Any thoughts?For some reason I have one template.dwt in the primary folder, and a duplicate in the template folder. Don't know if this matters.
It matters if the changes are being made to the one in the root folder rather than the one in the Templates folder. The former will fail, while the latter will not.
I "upload to server" and it alters all the child pages when I pull the local files up on Dreamweaver.
Huh? So your changes have propagated to the local files? Did you upload the altered template (that's what it sounds like you did) or all of the changed local files? DW templates *only* affect local files. Uploading the template is of no utility, unless you want to share it with someone.
Not sure why I can edit the template, have it save to the child pages but have no changes reflected on the server/web.
It's probably because you didn't upload the changed files. -
I can't setup flex server technology
starting a new project in flex the first thing the
application ask you is wich flex server technology you want to use.
After selecting Coldfusion Flash remoting service, it ask me
for a location. I have tried with severl paths with no results.
I always get the error:
Server root is invalid. Could not locate flex-config.xml or
flex-enterprise-services.xml.
COldfusion server is running, what am I doing wrong ?
What do I have to do to integrate fex 2.0 and coldfusion 7.01Check out ColdFusion/Flex Connectivity on Adobe Labs
http://labs.macromedia.com/technologies/cf_flexconnectivity/
It includes important connectivity elements required to
integrate Flex 2.0 apps with a ColdFusion server. -
Unfortunately I purchase a nice widescreen laptop cursed with
XP Home and
haven't made the migration to XP Pro yet. Can you get Flex
Server to run on
XP Home so I can test some of the applications I am building?
Wally Kolcz
Developer / Support
ProjectProofing.comHi Wally,
With Flex 2.0, you don't necessarily need a server to compile
and test Flex Applications. You can compile an mxml into a swf and
run in your web browser.
Once you get better acquainted with Flex 2.0, you can install
a server based on the application requirements.
Anjali Bhardwaj
Flex SDK Development Team -
Access files outside of web root?
Hello, everyone.
Hypothetical scenario.
Say I wanted to have a file that would set globally accessible variables for containing passwords, and I want to place said file outside of web root, so users cannot access it.
Logical paths obviously won't work. And the cfinclude tag doesn't use physical paths.
I've never done this, before. What are my options?
Thank you,
^_^Almost all your CFML files should not be in a web-browseable directory! Only the ones people actually browse to should be web accessible.
Files do not need to be web accessible to be <cfinclude>-ed or be instantiated as objects, or used as a custom tag.
EG:
C:\webapps\myapp <= this dir is the root as far as ColdFusion is concerned
C:\webapps\myapp\wwwroot <= that dir is the webroot as far as the web server goes
C:\webapps\myapp\includes <= files you <cfinclude>
C:\webapps\myapp\api <= CFCs
The only stuff that should be in that wwwroot dir is files people actually browse to (index.cfm, etc), and asset files like images, JS and CSS which need to be served to the browser.
The bulk of your CFM files should be in a subdir of C:\webapps\myapp.
So index.cfm needs to be browseable, and it needs to use the data in secretSecureStuff.cfm which is in the includes dir. So index.cfm just has:
include "/myapp/includes/secretSecureStuff.cfm";
If the file to be included isn't in the myapp subdir structure for whatever reason, then you can create a mapping in CFAdmin or Application.cfc to point to it, eg:
/external => C:\stuff\somewhere\else
And you'd reference C:\stuff\somewhere\else\outside.cfm via:
include "/external/outside.cfm";
Adam
Maybe you are looking for
-
Problem with serial number for Photoshop CS 6
I have installed Photoshop CS 6 on my new PC, I have a Serial number but got the answer that it is wrong ( I have checked With My Adobe and it is OK). I have also tried the Serial numbers for CS 5 and CS 4 but With the same results. What to do??
-
Problem moving folders with Lightroom 4.4 on Mac OS 10.7.5
I am trying to move a folder of recently edited files from my desktop to an external drive where I keep all my processed files using Lightroom but I keep getting a message that the folder can not be moved. If I try to create a new folder on the exter
-
Why are my search results for mail incomplete?
Why is it that when I search for emails that I KNOW are in my inbox I cannot find them? This never used to be a problem until I upgraded to Lion. My inbox has close to 7000 emails so it is not practical to manually search through it for an email that
-
Need a BAPI or FM to update the User filed ie., AFVGD-USR00 in Tcode CN22
Hi, I am updating the User field of Network in Tcode CN22 through BDC . Now, Please give me FM or BAPI to update User field AFVGD-USR00 in Tcode CN22. Regards, Deepthi.
-
Adding second airport express to network problem
Hi all. I currently have and airport extreme and airport express in range extending mode which have been working flawlessly for 3 years. I am trying to add an additional, newer airport express to put in another location. After setting the new one up