Qacer Posted June 20, 2003 Posted June 20, 2003 Hi all, Warning: Failed opening '/home/sites/site47/html/catalog/includes/languages/english/modules/payment/payflowpro.php' for inclusion (include_path='.:/home/build/cron/distrib/build/tmp/stronghold-php4-4.1.2/usr/local/redhat/lib/php') in /home/sites/site47/html/catalog/admin/modules.php on line 121 Here is what the payflowpro.php looks like: <?php/* $Id: PAYFLOWPRO.php,v 1.9 2002/01/04 10:45:18 hpdl Exp $ The Exchange Project - Community Made Shopping! http://www.theexchangeproject.org Copyright © 2000,2001 The Exchange Project Released under the GNU General Public License */ define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_TITLE', 'Payflow Pro'); define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_TITLE1', 'This payment will be processed by Payflow Pro. Your information will be kept '); define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_TITLE2', 'secure and private'); define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_CREDIT_CARD_HOLDER_FIRST_NAME', 'First Name'); define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_CREDIT_CARD_HOLDER_LAST_NAME', 'Last Name'); define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_DESCRIPTION', 'Credit Card Test Info:<br><br>CC#: 4111111111111111<br>Expiry: Any'); define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_TYPE', 'Type:'); define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_CREDIT_CARD_NUMBER', 'Credit Card Number:'); define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_CREDIT_CARD_EXPIRES', 'Expiration:'); define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_CREDIT_CARD_CSC', 'Card Verification Number'); define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_CREDIT_CARD_CSC_TEXT', '(On the back of your card, locate the final 3 digit number)'); define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_CREDIT_CARD_CSC_HELP', 'Help Finding Card Verification Number'); define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_CREDIT_CARD_CSC_AMEX', 'Using Amex?'); define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_JS_CC_NUMBER', '* The credit card number must be at least ' . CC_NUMBER_MIN_LENGTH . ' characters.n'); define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_ERROR_MESSAGE', 'There has been an error processing you credit card, please try again.'); define('MODULE_PAYMENT_PAYFLOWPRO_TEXT_ERROR', 'Credit Card Error!'); ?> How do I fix it? Thanks!
Guest Posted June 20, 2003 Posted June 20, 2003 I never used the mod but on line: credit card csc text, I do believe the final part should be number'); and not number)');
mdfst13 Posted June 20, 2003 Posted June 20, 2003 No, there is an ( inside the ' ' that the ) is closing. )') is correct. From the error, I would guess a file permissions problem. Check to make sure that everyone has read access. Numerically, you would want the file to be at least 644. You can also check the file to make sure that there are no extraneous blank lines at the end. Apparently PHP can be picky about that. Good luck, Matt I love deadlines. I like the whooshing sound they make as they fly by. ---Douglas Adams
mdfst13 Posted June 20, 2003 Posted June 20, 2003 OK, I double-checked my install, and it needs execute permissions as well (755 numerically). It is also worth noting that the default is to create files *without* execute permissions (since most files are not intended to be executed), so this is a likely reason to have a problem. Good luck, Matt I love deadlines. I like the whooshing sound they make as they fly by. ---Douglas Adams
Guest Posted June 20, 2003 Posted June 20, 2003 sorry for the miss cue, never saw the close, the next line help
Qacer Posted June 20, 2003 Author Posted June 20, 2003 Thanks for the reply! :) However, I changed the permissions and it still isn't working. Another question. How do I "set the path" of directory? I created two directories in my webhosting account. I want to have those directories visible to any script that requires them. My webhost runs on Linux. Thanks!
Qacer Posted June 20, 2003 Author Posted June 20, 2003 I'm so stupid! Heheh.. I forgot to upload the file to the specified directory.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.