Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sage Pay missing file error in administration, can't alter settings...


dantiatto

Recommended Posts

Hello all,

 

I'm using the standard administration module in oscommerce; when I click on 'Payment' in the 'modules' menu I get the following error:

 

Warning: main(/var/www/vhosts/#.com/httpdocs/shop/includes/languages/english/modules/payment/protx_formSAFE.php): failed to open stream: No such file or directory in /var/www/vhosts/#.com/httpdocs/shop/admin/modules.php on line 128

 

Warning: main(/var/www/vhosts/#.com/httpdocs/shop/includes/languages/english/modules/payment/protx_formSAFE.php): failed to open stream: No such file or directory in /var/www/vhosts/#.com/httpdocs/shop/admin/modules.php on line 128

 

Warning: main(): Failed opening '/var/www/vhosts/#.com/httpdocs/shop/includes/languages/english/modules/payment/protx_formSAFE.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/vhosts/#.com/httpdocs/shop/admin/modules.php on line 128

 

Fatal error: Cannot redeclare class protx_form in /var/www/vhosts/#.com/httpdocs/shop/includes/modules/payment/protx_formSAFE.php on line 13

 

 

sorry, I've deleted the full URL cos I'm paranoid!

 

anyway this is stopping me from changing settings in any module; obviously the protx_formSAFE.php file is missing, but what do I need to do to sort it? will simply copying the protx_form.php and renaming it cure this? do I need to alter some code? can anyone help an idiot out here?

 

many thanks in advance...

 

nick

Link to comment
Share on other sites

it seems to me incorrect paths, as the system errors shows that protx_formSAFE.php file is missing.

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

it seems to me incorrect paths, as the system errors shows that protx_formSAFE.php file is missing.

 

thanks for reply,

 

the protx_formSAFE.php doesn't exist; and I'm wondering why and from where it's making the call for that particular file... is it trying load it as a separate module to the existing protx_form.php file? it must be a hangover from a 'trial run' I did on protx / sagepay when I set it up initially; it works fine by the way... I suppose it may even be a problem from an old restored backup - the trouble is I don't know where to find the file that's calling the protx_formSAFE.php to comment it out!

 

many thanks for any further help...

Link to comment
Share on other sites

thanks for reply,

 

the protx_formSAFE.php doesn't exist; and I'm wondering why and from where it's making the call for that particular file... is it trying load it as a separate module to the existing protx_form.php file? it must be a hangover from a 'trial run' I did on protx / sagepay when I set it up initially; it works fine by the way... I suppose it may even be a problem from an old restored backup - the trouble is I don't know where to find the file that's calling the protx_formSAFE.php to comment it out!

 

many thanks for any further help...

 

 

durr... just ignore me, there was a protx_formSAFE.php file in the modules folder it was trying to load, I'd backed it up when changing things in the proper file and left it in there, I was simply being thick! removed it and all appears fine again.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...