Guest Posted April 14, 2004 Share Posted April 14, 2004 Can anyone help? I have downloaded and installed the Protx modules from the site and am using the latest version of the osCommerce system (downloaded and installed 14 april 2004). I keep getting this error message in the Admin section: Fatal error: Cannot redeclare class protx in /usr/wwws/users/larchet/catalog/includes/modules/payment/protx.php on line 13 Does anybody know how to eliminate this problem? I have searched all the forums and cannot find the solution. any help would be greatly appreciated. Quote Link to comment Share on other sites More sharing options...
Guest Posted April 14, 2004 Share Posted April 14, 2004 You should be using this module: Protx Matti Quote Link to comment Share on other sites More sharing options...
Guest Posted April 14, 2004 Share Posted April 14, 2004 Thanks for the swift response Matti. I downloaded and installed the version '16 Mar 2004 - Protx Form V 1.05' - thats what is causing the error. Any suggestions? I'm sure its something I'm not doing properly Quote Link to comment Share on other sites More sharing options...
Mark Evans Posted April 14, 2004 Share Posted April 14, 2004 Looks like you have uploaded the main module to the language directory by mistake ;) Quote Mark Evans osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops) --------------------------------------- Software is like sex: It's better when it's free. (Linus Torvalds) Link to comment Share on other sites More sharing options...
Guest Posted April 14, 2004 Share Posted April 14, 2004 Actually Matti, I have eliminated the error message. For some reason the system wouldnt recognise my payment modules if they were at a https:// address on the server (I am hosting with Pair, have you come across that problem before?). My problem now is that, although there is no error message, the protx payment module will show up in the admin section (although all others do). Quote Link to comment Share on other sites More sharing options...
Guest Posted April 14, 2004 Share Posted April 14, 2004 Thanks Mark, i'll check that out Quote Link to comment Share on other sites More sharing options...
Guest Posted April 14, 2004 Share Posted April 14, 2004 Still no luck. Just cant get the module to show up in the admin screen Quote Link to comment Share on other sites More sharing options...
kagg Posted April 15, 2004 Share Posted April 15, 2004 Fatal error: Cannot redeclare class protx in /usr/wwws/users/larchet/catalog/includes/modules/payment/protx.php on line 13 The module contains the files named protx_form.php, and the above error shows that you were having problems in protx.php. Have you changed the file names and the class names inside the files accordignly? Quote Link to comment Share on other sites More sharing options...
Guest Posted April 15, 2004 Share Posted April 15, 2004 BRILLIANT! Got it sorted, thanks very much. I had protx.php and protx_form.php in the same directory - protx.php was in there from an older module and must have been causing a conflict. It know works....pity the protx test server is down Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.