PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old May 13th, 2003, 09:16 AM
nubie_gurl nubie_gurl is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 6 nubie_gurl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to nubie_gurl
Form processor, please help


-------------
I got the error messages below, I don't know what to do. I aatached the formprocessor package in zip form, http://www.tajpacal.com/formproc.zip
ihope anyone could take a look and tell me what i need to do. thanks a lot.
:CCG :uhoh::uhoh:

Warning: Failed opening '/httpd/docs/formproc/includes/func.tpl.inc' for inclusion (include_path='.:/php/includes:/usr/share/php') in /home/httpd/docs/formproc/config.inc on line 31

Warning: Failed opening '/httpd/docs/formproc/includes/constants.inc' for inclusion (include_path='.:/php/includes:/usr/share/php') in /home/httpd/docs/formproc/config.inc on line 32

Warning: Failed opening '/httpd/docs/formproc/includes/forms.config.inc' for inclusion (include_path='.:/php/includes:/usr/share/php') in /home/httpd/docs/formproc/config.inc on line 33

Warning: Failed opening '/httpd/docs/formproc/includes/functions.inc' for inclusion (include_path='.:/php/includes:/usr/share/php') in /home/httpd/docs/formproc/config.inc on line 34

Warning: Failed opening '/httpd/docs/formproc/includes/prepend.inc' for inclusion (include_path='.:/php/includes:/usr/share/php') in /home/httpd/docs/formproc/config.inc on line 35

Fatal error: Call to undefined function: perform_actions() in /home/httpd/docs/formproc/formproc.php on line 41


Reply With Quote
  #2  
Old May 13th, 2003, 03:59 PM
Denver Dave Denver Dave is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Denver, CO USA
Posts: 26 Denver Dave User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Form processor, please help

Sorry if this is too elementary, and I'm not sure of the product, but when I've gotten messages like the ones that you displayed, the problem has been my path was not set directly.

You might try modifying the code and with a echo 'hi I'm here'; exit; and then try running it from the address bar in your browser to test the path.

I've also seen some strange things on some servers with .inc files included from other includes that did not seem to work right.

.... something to read while you are waiting for help.

Reply With Quote
  #3  
Old May 14th, 2003, 06:24 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Form processor, please help

Thanks for your quick, Denver Dave, I will try that.

I appreciate any suggestions from anyone, I hope to get more replies to solve my problem.

Reply With Quote
  #4  
Old May 14th, 2003, 06:27 AM
nubie_gurl nubie_gurl is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 6 nubie_gurl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to nubie_gurl
RE: Form processor, please help

Ooops, that was me Nubie_gurl, I forgot to log in.
Thanks again,CCG

Reply With Quote
  #5  
Old May 14th, 2003, 02:34 PM
brut brut is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 367 brut User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 30 sec
Reputation Power: 2
RE: Form processor, please help

Did you get these files from the server you are running them on? Your ftp log shows the path as:

/htdocs/form/includes/functions.inc

Reply With Quote
  #6  
Old May 15th, 2003, 01:07 AM
nubie_gurl nubie_gurl is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 6 nubie_gurl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to nubie_gurl
RE: Form processor, please help

Actually, I am running this package to another server. You can check this out at http://www.pizzahut.com.ph/formproc/order.html

Reply With Quote
  #7  
Old May 15th, 2003, 01:29 PM
Denver Dave Denver Dave is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Denver, CO USA
Posts: 26 Denver Dave User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Form processor, please help

Oh I see - prices are in the Philippines - seems a little high in US dollars.

Reply With Quote
  #8  
Old May 16th, 2003, 06:23 AM
nubie_gurl nubie_gurl is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 6 nubie_gurl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to nubie_gurl
RE: Form processor, please help

Yeah, so if you want cheaper pizza you can order here lol!

Anyway, I made that part to work, and now I got a new error :uhoh::uhoh:

Quote:
"No input to work on! $HTTP_POST_VARS and $HTTP_GET_VARS empty."


Maybe you can help me analyze my form.config.inc, here:

php Code:
Original - php Code
  1. <?php
  2.  
  3. /***************************************
  4. ** Forms data
  5. ***************************************/
  6.  
  7.     /***************************************
  8.     ** Method that should be used when
  9.     ** processing this form.
  10.     ***************************************/
  11.     $FORMS['form1']['method']   = FP_POST;
  12.  
  13.     /***************************************
  14.     ** Actions to perform on completion of
  15.     ** form processing.
  16.     ***************************************/
  17.     $FORMS['form1']['actions'] = FP_EMAIL | FP_TEMPLATE;
  18.     $FORMS['form1']['actions_data']['fp_email'][0]['to'][]      = 'ciela@aranetacenter.net';
  19.     $FORMS['form1']['actions_data']['fp_email'][0]['bcc'][]   = 'ciela@aranetacenter.net';
  20.     $FORMS['form1']['actions_data']['fp_email'][0]['from']      = 'ciela@aranetacenter.net';
  21.     $FORMS['form1']['actions_data']['fp_email'][0]['headers'][]  = 'To: "Pizzahut" <'ciela@aranetacenter.net'>';
  22.     $FORMS['form1']['actions_data']['fp_email'][0]['subject']      = 'Pizzahut Order Form';
  23.     $FORMS['form1']['actions_data']['fp_email'][0]['smtp_server']      = 'smtp.aranetacenter.net';
  24.     $FORMS['form1']['actions_data']['fp_email'][0]['smtp_helo']  = 'www.aranetacenter.net';
  25.     $FORMS['form1']['actions_data']['fp_email'][0]['tpl_html']    = 'email.html';
  26.     $FORMS['form1']['actions_data']['fp_email'][0]['tpl_text']    = 'email.txt';
  27.     $FORMS['form1']['actions_data']['fp_email'][0]['include_files']  = TRUE;
  28.     $FORMS['form1']['actions_data']['fp_email'][0]['parse_options']  = FALSE;
  29.  
  30.  
  31.     $FORMS['form1']['actions_data']['fp_template']['template']    = 'thankyou.html';
  32.  
  33.     $FORMS['form1']['actions_data']['fp_redirect']['url']            = 'http://www.pizzahut.com.ph/';
  34.  
  35.     /***************************************
  36.     ** These are the domains that are allowed
  37.     ** to appear in the referer, (and whether
  38.     ** to perform this check or not).
  39.     ***************************************/
  40.     $FORMS['form1']['referer_check']        = TRUE;
  41.     $FORMS['form1']['referer_domains'][]    = 'www.pizzahut.com.ph';
  42.     $FORMS['form1']['referer_domains'][]    = 'www.aranetacenter.net';
  43.     $FORMS['form1']['referer_tpl']    = 'err_referer.html';
  44.  
  45.     /***************************************
  46.     ** Host address check. IP/hostnames you
  47.     ** don't want using your form.
  48.     ***************************************/
  49.     $FORMS['form1']['bad_hosts_check']  = TRUE;
  50.     $FORMS['form1']['bad_hosts'][]    = '10.1.1.1';
  51.     $FORMS['form1']['bad_hosts'][]    = 'jkl.example.com';
  52.     $FORMS['form1']['bad_hosts_tpl']        = 'err_bad_host.html';
  53.  
  54.     /***************************************
  55.     ** Specific stuff for form inputs/elements
  56.     ***************************************/
  57.     $FORMS['form1']['form_elements']['Surname']['type']  = INPUT_TYPE_REGEX;
  58.     $FORMS['form1']['form_elements']['Surname']['regex']        = REGEX_ALPHA_WS;
  59.     $FORMS['form1']['form_elements']['Surname']['template'] = 'err_textbox.html';
  60.     $FORMS['form1']['form_elements']['Surname']['required'] = TRUE;
  61.  
  62.     $FORMS['form1']['form_elements']['Name']['type']        = INPUT_TYPE_REGEX;
  63.     $FORMS['form1']['form_elements']['Name']['regex']      = REGEX_ALPHA_WS;
  64.     $FORMS['form1']['form_elements']['Name']['template']        = 'err_textbox.html';
  65.     $FORMS['form1']['form_elements']['Name']['required']        = TRUE;
  66.  
  67.  
  68.     $FORMS['form1']['form_elements']['address']['type']  = INPUT_TYPE_REGEX;
  69.     $FORMS['form1']['form_elements']['address']['regex']        = REGEX_ALPHA_WS;
  70.     $FORMS['form1']['form_elements']['address']['template'] = 'err_textbox.html';
  71.     $FORMS['form1']['form_elements']['address']['required'] = TRUE;
  72.  
  73.     $FORMS['form1']['form_elements']['City']['type']        = INPUT_TYPE_REGEX;
  74.     $FORMS['form1']['form_elements']['City']['regex']      = REGEX_ALPHA_WS;
  75.     $FORMS['form1']['form_elements']['City']['template']        = 'err_textbox.html';
  76.     $FORMS['form1']['form_elements']['City']['required']        = TRUE;
  77.  
  78.     $FORMS['form1']['form_elements']['ZipCode']['type']  = INPUT_TYPE_REGEX;
  79.     $FORMS['form1']['form_elements']['ZipCode']['regex']        = REGEX_NUM;
  80.     $FORMS['form1']['form_elements']['ZipCode']['template'] = 'err_textbox.html';
  81.     $FORMS['form1']['form_elements']['ZipCode']['required'] = TRUE;
  82.  
  83.     $FORMS['form1']['form_elements']['email']['type']      = INPUT_TYPE_REGEX;
  84.     $FORMS['form1']['form_elements']['email']['regex']    = REGEX_EMAIL;
  85.     $FORMS['form1'][