Problem's installing A4D

View: New views
9 Messages — Rating Filter:   Alert me  

Problem's installing A4D

by Yogi Jivanandanatha :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Aloha,

I'm having some trouble installing Active4D. I think I have everything
installed properly but I can't get a page to load in the "web"
directory in my structure file folder.

If I put a file in the web_decoy folder, I can view ".html" files but
not ".a4d" files.

I get a "404 Not Found. The requested resource could not be found." If
I try and go to a ".a4d" file.

As far as I can tell, I can view all of the tables and method installed
using 4d Insider, but when I use the Active4D menu (say session viewer)
I installed into one of my forms, I get an error saying in so many
words that the variables are of the wrong type (usually means not
defined at all).

Any ideas?

Sadhaka Jivanandanatha



Re: Problem's installing A4D

by aparajita :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I'm having some trouble installing Active4D. I think I have everything
> installed properly but I can't get a page to load in the "web"
> directory in my structure file folder.

Did you install On Web Connection? Did you call A4D_DebugInit and
A4D_Init in your startup sequence? Did you configure the web settings
according to the documentation?

Regards,

    Aparajita
    Victory-Heart Productions
    aparajita@...
    www.aparajitaworld.com

    "If you dare to fail, you are bound to succeed."
    - Sri Chinmoy   |   www.srichinmoylibrary.com



Re: Problem's installing A4D

by Yogi Jivanandanatha :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Aloha,

I got it to work.

2 things were wrong. 1.  I forgot to do "Check both “Send  Extended
Characters Directly” and “Use 4DVAR Comments instead of  Brackets”." as
per the instruction manual. Once I did this, I was able to read a
".html" file from the "web" directory.

2. I goofed on the extension of my "default.a4d" file. Because of
hidden extensions I had "default.a4d.html".

Now it's working great.

Thanks for your help.

Sadhaka Jivanandanatha
On Sep 4, 2004, at 9:54 AM, Aparajita Fishman wrote:

>> I'm having some trouble installing Active4D. I think I have
>> everything installed properly but I can't get a page to load in the
>> "web" directory in my structure file folder.
>
> Did you install On Web Connection? Did you call A4D_DebugInit and
> A4D_Init in your startup sequence? Did you configure the web settings
> according to the documentation?
>
> Regards,
>
>    Aparajita



Re: Problem's installing A4D

by jcapy3 () :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, I am new to a4d and this list I cannot yet create threads so this one seems the best place for me to post a message.

I am having an installation problem. I downloaded the latest demo and shell with all the plugins followed the installation directions for installing the shell into an existing applicatioon and while it will serve pages it does not interpet the active4d tags.

Because the demo works I also tried coping the pages and plugins from the demo into my app figuring maybe I missed something but I still get the same results the a4d tags are just displayed as html. Here is an example of  a call to http://localhost:8080

<% // $Id: index.a4d 1076 2006-06-19 02:28:01Z aparajita $ global($fbx_self) c_string(255; $fbx_self) $fbx_self := current file if (undefined($attributes)) $attributes := 0 end if fusebox.core(directory of(current path); $attributes) %>

I traced the incoming calls in both the demo and my app as they came into the on web connection with the runtime explorer open.
Both applications were running the a4d_console and a4d_housekeeper, but I a noticed two things

First calls made the demo created the processes  /index.a4d?action=root.main to handle the requests when "A4D Execute 4D request" was executed, my app creates one named /layouts/css/main.css
Could this be a path problem? If, so where do I make the setting changes I have checked the ini and it is the same as the demo's. I have also confirmed that all the pages and directories are in the correct place in my app to support this call.

Second when on web connection is invoked the second time my app has 0 bytes in the blob "A4D_Response" when "A4D Execute 4D request" was executed the second time.


So next I created a data file from the shells' .4db and moved all the plugins/max4dx and webpages in, retested and got the same result.

Can anyone please help point me in the right direction. I has spent many hours going over the installation configuration and I can't figure out what I have done wrong. I really, want to use this shell in an upcoming project and hopefully forever, but I just need a little help with this.

Thank you in advance
Joshua


aparajita wrote:
> I'm having some trouble installing Active4D. I think I have everything
> installed properly but I can't get a page to load in the "web"
> directory in my structure file folder.

Did you install On Web Connection? Did you call A4D_DebugInit and
A4D_Init in your startup sequence? Did you configure the web settings
according to the documentation?

Regards,

    Aparajita
    Victory-Heart Productions
    aparajita@aparajita.com
    www.aparajitaworld.com

    "If you dare to fail, you are bound to succeed."
    - Sri Chinmoy   |   www.srichinmoylibrary.com


Parent Message unknown Re: Problem's installing A4D

by aparajita :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I am having an installation problem.

What is your OS and 4D version?

Regards,

    Aparajita
    www.aparajitaworld.com

    "If you dare to fail, you are bound to succeed."
    - Sri Chinmoy   |   www.srichinmoy.org


_______________________________________________
Active4D-dev mailing list
Active4D-dev@...
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Re: Problem's installing A4D

by jcapy3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

osx tiger, 4d 2004.6

I don't think it could be an os issue I am running the demo on the  
same machine and it works. Its the shell both installed in my app and  
running on its own that don't work. I have been through every method  
in the shell and compared it to its counter part in the demo and they  
are identical and I am calling them in the same way. I have also  
compared database prefs and they are also the same.

On May 27, 2008, at 11:38 AM, Aparajita Fishman wrote:

>> I am having an installation problem.
>
> What is your OS and 4D version?
>
> Regards,
>
>   Aparajita
>   www.aparajitaworld.com
>
>   "If you dare to fail, you are bound to succeed."
>   - Sri Chinmoy   |   www.srichinmoy.org
>
>
> _______________________________________________
> Active4D-dev mailing list
> Active4D-dev@...
> http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
> Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

_______________________________________________
Active4D-dev mailing list
Active4D-dev@...
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Re: Problem's installing A4D

by aparajita :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I need to see the directory structure of your app (starting from the  
structure folder).

Regards,

    Aparajita
    www.aparajitaworld.com

    "If you dare to fail, you are bound to succeed."
    - Sri Chinmoy   |   www.srichinmoy.org


_______________________________________________
Active4D-dev mailing list
Active4D-dev@...
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Parent Message unknown Re: Problem's installing A4D

by aparajita :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I am having an installation problem. I downloaded the latest demo  
> and shell
> with all the plugins followed the installation directions for  
> installing the
> shell into an existing applicatioon and while it will serve pages it  
> does
> not interpet the active4d tags.

It didn't work because you had a copy of index.a4d in web_decoy. On  
Web Connection is not called by 4D's web server unless the requested  
file does NOT exist in the configured web directory -- which is  
web_decoy. So 4D's web server found index.a4d in web_decoy and  
returned it as HTML without ever going through On Web Connection.

Take index.a4d out of web_decoy, or use a name other than index.a4d  
for the default file and change it in Active4D.ini ('fusebox page' and  
'default page').

Regards,

    Aparajita
    www.aparajitaworld.com

    "If you dare to fail, you are bound to succeed."
    - Sri Chinmoy   |   www.srichinmoy.org


_______________________________________________
Active4D-dev mailing list
Active4D-dev@...
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Re: Problem's installing A4D

by jcapy3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Thanks that did it. I didn't realize it was in there I must have left  
it in from an earlier trouble shooting session.
Thank you for your time and patience.

On May 27, 2008, at 5:01 PM, Aparajita Fishman wrote:

>> I am having an installation problem. I downloaded the latest demo  
>> and shell
>> with all the plugins followed the installation directions for  
>> installing the
>> shell into an existing applicatioon and while it will serve pages  
>> it does
>> not interpet the active4d tags.
>
> It didn't work because you had a copy of index.a4d in web_decoy. On  
> Web Connection is not called by 4D's web server unless the requested  
> file does NOT exist in the configured web directory -- which is  
> web_decoy. So 4D's web server found index.a4d in web_decoy and  
> returned it as HTML without ever going through On Web Connection.
>
> Take index.a4d out of web_decoy, or use a name other than index.a4d  
> for the default file and change it in Active4D.ini ('fusebox page'  
> and 'default page').
>
> Regards,
>
>   Aparajita
>   www.aparajitaworld.com
>
>   "If you dare to fail, you are bound to succeed."
>   - Sri Chinmoy   |   www.srichinmoy.org
>
>
> _______________________________________________
> Active4D-dev mailing list
> Active4D-dev@...
> http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
> Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

_______________________________________________
Active4D-dev mailing list
Active4D-dev@...
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/