[phorm] [Phorm:] Re: Can't open ACK file

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 15 May 2003 12:56:36 -0000

The following new message has been posted on Phorm Support Forum at 
<http://www.phorm.com/support/>. 

*************************************************************************** 

  MESSAGE:  (#2706) Re: Can't open ACK file 
            <http://www.phorm.com/support/?rev=2706> 
  AUTHOR:   Holotech 
  DATE:     May 15, 2003 at 8:56 a.m. EST 

  Reply To: (#2681) Can't open ACK file 
  Author:   adam 
  Date:     May 12, 2003 at 5:47 p.m. EST 

> ----------------begin old message--------------- 
> I have a form at 
> http://www.lvinstitute.org/calendar/submit_event.php 
> that works without a hitch. 

> There it is running on a Linux box with Apache. My 
> problem lies in trying to run the same form on my own 
> box. My address is 
> http://adamm.is-a-geek.com/calendar/submit_event.php 
> it is a win98 box running PHP 4.3.0 and apache 1.3.x. 
> i get the following error generated from the page: 

> 040 - I'm sorry, this page only processes the contents 
> of a form. You cannot access it directly. 

> the following is sent to my inbox: 

> Phorm Variables: 
> PHORM_ALERTTO: myaddress@xxxxxxxxxxxx 
> PHORM_CONFIG: 
> PHORM_LDELIM: 

Phorm generates a 040 when: $PHORM_RCONFIG is not "N" and $PHORM_CONFIG is not 
set and $PHORM_URL is not set. It wouldn't have anything to do with whether it 
can find or open your ack file. As you can see from the email, for whatever 
reason, Phorm is not getting the value of $PHORM_CONFIG. 

Since you were using v2.5.1, my guess is that your PHP installation has 
register_globals turned off (that's now the default in the PHP distribution, 
so if you didn't change it, that's the case). Before v3.0 Phorm could not 
handle that. 

> OK, so i tried v 3.0.4 and my inbox has this: 
> (snipped for what i think is important) 

> PHORM_ACK: ./submit_event_confirm.php 

The ./ means "the current directory"; in other words, Phorm is looking for the 
config file in the directory it's in. If it's in some other location, you'll 
need to specify it using the phormbase file and $PHORM_BASE or $PHORM_NAME 
(you can use either one, but using PHORM_BASE in the form is deprecated; you 
should use PHORM_NAME). 

*************************************************************************** 

This is an automatically-generated notice.  If you'd like to be removed from 
the mailing list, please visit Phorm Support Forum at 
<http://www.phorm.com/support/>, or send your request to webbbs@xxxxxxxxxx  If 
you wish to respond to this message, please post your response directly to the 
board.  Thank you! 
-------------------------------------------------
You are receiving this message because you are subscribed to the Phorm mailing 
list. To send messages to the mailing list, simply send email to 
phorm@xxxxxxxxxxxxx from the address you have subscribed. You may unsubscribe 
from the list by sending email to phorm-request@xxxxxxxxxxxxx with 
'unsubscribe' in the SUBJECT field.

Other related posts: