aksolanki Posted October 19, 2005 Share Posted October 19, 2005 Hello, I am trying to install the Protx Form payment module, but I get an error once I have installed the module. I have installed the module into catalog/includes/modules/payment/ I install two files, 1. decrypt_protx.php 2. protx_form.php I am using MS2 v2.2 of osCommerce, and I have tried installing several versions of the Protx Form payment module, including version 1.0.8 1.0.6 1.0.5. And get an error in Admin with all of these modules. The error with the latest version 1.0.8 looks like this: Warning: main(/home/httpd/vhosts/gollygoshonline.com/httpdocs/store/includes/languages/english/modules/payment/decrypt_protx.php): failed to open stream: No such file or directory in /home/httpd/vhosts/gollygoshonline.com/httpdocs/store/admin/modules.php on line 128 Warning: main(): Failed opening '/home/httpd/vhosts/gollygoshonline.com/httpdocs/store/includes/languages/english/modules/payment/decrypt_protx.php' for inclusion (include_path='.:/usr/share/pear') in /home/httpd/vhosts/gollygoshonline.com/httpdocs/store/admin/modules.php on line 128 Fatal error: Cannot redeclare class cc in /home/httpd/vhosts/gollygoshonline.com/httpdocs/store/includes/modules/payment/cc.php on line 13 If anyone could help me I would be very grateful. All the best, Anil. Link to comment Share on other sites More sharing options...
aksolanki Posted October 20, 2005 Author Share Posted October 20, 2005 I am still looking for assistance, without Protx the site is useless. PLEASE can any one help? Many thanks, Anil. Link to comment Share on other sites More sharing options...
Mighty Mike Posted October 20, 2005 Share Posted October 20, 2005 it looks like a configuration problem, to me, that file path does not look correct. post your config file without all the db names,passwords etc. Link to comment Share on other sites More sharing options...
aksolanki Posted October 20, 2005 Author Share Posted October 20, 2005 Thank you Mike, Just want to make sure which configuration.php you want, the file in the admin folder? Anil. Link to comment Share on other sites More sharing options...
aksolanki Posted October 20, 2005 Author Share Posted October 20, 2005 Here is my config file from catalog/includes/ <?php // Please, note that all changes in this file will be lost // after reconfiguring application by Plesk define('HTTP_SERVER', 'http://gollygoshonline.com'); define('HTTPS_SERVER', 'http://gollygoshonline.com'); define('ENABLE_SSL', 'false'); define('HTTP_COOKIE_DOMAIN', 'gollygoshonline.com'); define('HTTPS_COOKIE_DOMAIN', 'gollygoshonline.com'); define('HTTP_COOKIE_PATH', '/store/'); define('HTTPS_COOKIE_PATH', '/store/'); define('DIR_WS_HTTP_CATALOG', '/store/'); define('DIR_WS_HTTPS_CATALOG', '/store/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'storedatabase'); define('DB_SERVER_PASSWORD', 'password'); define('DB_DATABASE', 'database name'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); ?> Here's hoping you can help. Anil. Link to comment Share on other sites More sharing options...
mike_jackson Posted October 20, 2005 Share Posted October 20, 2005 Hello, I am trying to install the Protx Form payment module, but I get an error once I have installed the module. I have installed the module into catalog/includes/modules/payment/ I install two files, 1. decrypt_protx.php 2. protx_form.php I am using MS2 v2.2 of osCommerce, and I have tried installing several versions of the Protx Form payment module, including version 1.0.8 1.0.6 1.0.5. And get an error in Admin with all of these modules. The error with the latest version 1.0.8 looks like this: Warning: main(/home/httpd/vhosts/gollygoshonline.com/httpdocs/store/includes/languages/english/modules/payment/decrypt_protx.php): failed to open stream: No such file or directory in /home/httpd/vhosts/gollygoshonline.com/httpdocs/store/admin/modules.php on line 128 Warning: main(): Failed opening '/home/httpd/vhosts/gollygoshonline.com/httpdocs/store/includes/languages/english/modules/payment/decrypt_protx.php' for inclusion (include_path='.:/usr/share/pear') in /home/httpd/vhosts/gollygoshonline.com/httpdocs/store/admin/modules.php on line 128 Fatal error: Cannot redeclare class cc in /home/httpd/vhosts/gollygoshonline.com/httpdocs/store/includes/modules/payment/cc.php on line 13 If anyone could help me I would be very grateful. All the best, Anil. I have just posted v1.09 which has better installation instructions - see the readme file. install the new version, and put decrypt_protx.php in the catalog (in your case that looks like store) folder. That should solve your first problem. If you still have problems remove the decrypt_protx.php file, it is only needed for testing, instead uncomment the line: $this->form_action_url = 'https://ukvpstest.protx.com/VSPSimulator/VSPFormGateway.asp'; You will need to ring protx technical support and get a different password for this, for some reason the one they issue won?t work with the simulator. If you still can?t get it to work post the errors back here. Mike Link to comment Share on other sites More sharing options...
aksolanki Posted October 20, 2005 Author Share Posted October 20, 2005 Hi Mike, Thanks for the new files, my previous problem has been fixed, but unfortunately another error is appearing in admin. Fatal error: Cannot redeclare class protx_form in /home/httpd/vhosts/gollygoshonline.com/httpdocs/store/includes/modules/payment/protx_form.php on line 13 It seems I am getting closer, any ideas on how to fix this? Your help is much appreciated. All the best, Anil. Link to comment Share on other sites More sharing options...
aksolanki Posted October 21, 2005 Author Share Posted October 21, 2005 Hi, I am posting this to keep this topic on the 1st page of the forum. Anil. Link to comment Share on other sites More sharing options...
K3D Posted October 21, 2005 Share Posted October 21, 2005 Hi, I am posting this to keep this topic on the 1st page of the forum. Anil. You better not do that... It is against the rules Bumping Bumping postings to the top of the forum channel listing, made to get more attention to the post, will not be tolerated. When no one has replied to a posting you have made, it is recommended to reply in the same thread with more information that may help in resolving the issue. Incidentally I had the same problems installing this update to the protx form module (on a fresh osc install) but went back to the old version as it was not working properly (protx language file missing and putting decrypt_protx into payment modules directory will cause the errors) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.