fmwebschool.com
Top Experts [learn more]Top 4-10
webko

9743 K
bandmandq

2458 K
Genx

1525 K
4. tcmeyers
5. kbata
6. Martie
7. Hammerton
8. rrenfrow
9. bneeman
10. plegler
Welcome, Guest. Please login or register.
June 19, 2013, 09:59:09 AM

Login with username, password and session length
Search:     Advanced search
FMWebschool releases more educational FMStudio webinars - check them out here:
http://www.fmwebschool.com/webinars.php
27508 Posts in 6074 Topics by 1524 Members
Latest Member: fmwebster
* Home Help Search Calendar Login Register
+  fmwebschool.com
|-+  PHP Web Publishing Technologies
| |-+  FileMaker PHP, FX.php custom web publishing
| | |-+  PHP Errors
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: PHP Errors  (Read 2517 times)
cscrofani
Jr. Member
**
Offline Offline

Posts: 37


« on: March 13, 2006, 03:26:06 PM »

Hi Everyone,

I installed FXCart and set it up exactly according to the instructions (I think), and when I try to submit an order I get the following screen, which stays up for a split second and then moves on to a 'page cannot be found' screen.  Any ideas what this means?  You can take a look at the site and see the error for yourself at data.honoluluacademy.org

Logged
cscrofani
Jr. Member
**
Offline Offline

Posts: 37


« Reply #1 on: March 17, 2006, 01:25:47 PM »

OK, I figured out what was wrong with some help from Allyson - Apparently the code for config.inc.php and process.php aren't formatted correctly.  Am I the only one here who has setup the newest version of FX Cart?  Well, in any case, here's what needs to be changed:

In config.inc.php, all instances of these:
Code:
$paypal[business]="user@yourplace.org";
Should look like this:
Code:
$paypal['business']="user@yourplace.org";
and all instances of these:
Code:
$paypal[firstname]="_POST[firstname]";
Should look like this:
Code:
$paypal['firstname']='$_POST[firstname]';


Also, in process.php, this line:
Code:
<form method="post" name="paypal_form" action="<?=$paypal[url] ?>">
Should be:
Code:
<form method="post" name="paypal_form" action="<?=$paypal['url'] ?>">

Hope that helps anyone else experiencing this problem.

Edit:  This works with PHP 4 and 5, with IIS 6
« Last Edit: March 17, 2006, 01:34:18 PM by cscrofani » Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!