Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PayPal WPP installation incomplete! Missing WPP_XML


nozynoz

Recommended Posts

Hi All

 

Been battling with the installation, nearly completed, just one final fence to jump, (I hope)

 

installed the payment module as stated in the instructions.

 

On testing the module, getting error stating.

 

PayPal WPP installation incomplete! There should be XML files located in /var/www/vhosts/name.co.uk/httpdocsincludes/wpp_xml/ !

(setExpressCheckout.xml)

Checked the location of the folder, which I can confirm which is correct.

 

Checked paypal_wpp.php, line 36 looks oky.

define('MODULE_PAYMENT_PAYPAL_DP_MISSING_XML', 'PayPal WPP installation incomplete! There should be XML files located in ' . DIR_FS_CATALOG . DIR_WS_INCLUDES . 'wpp_xml/ !');

 

I am out of ideas please could someone help or point me in the right direction.

 

Cheers many tkas in advance.

Link to comment
Share on other sites

Your DIR_FS_CATALOG define in includes/configure.php should have a forward slash at the end.

Brian and others,

 

In looking at other replies to the "Missing XML Files" problem, I have tried adding an "s" to the "http" portion of the DIR_FS_CATALOG and I have tried adding a forward slash. However, I think my situation is different. Here's the relevant line from my includes/configure.php file:

 

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/');

 

Unless I'm mistaken this automatically loads the directory name and appends a forward slash. I did try adding an S to the above $HTTP_SERVER_VARS line, but since that looks like a variable, I can understand why that didn't do any good.

 

Any help would be greatly appreciated.

 

Thanks,

Stace

The soul is greater than the hum of its parts. -- Douglas R. Hofstadter in Gödel, Escher, Bach

Link to comment
Share on other sites

  • 5 months later...

The file search is done using the DIR_FS_CATALOG value.

 

So make sure its right.

 

if it is then chek the needed xml files are there with needed permission.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

The file search is done using the DIR_FS_CATALOG value.

 

So make sure its right.

 

if it is then chek the needed xml files are there with needed permission.

 

Satish

 

hi,

 

here is what i have in the config file:

define('DIR_FS_CATALOG', '/home/mysitetext/');

 

in the paypal admin area i have:

 

API Certificate

/home/mysitetext/public_html/includes/paypal_wpp/cert/cert_key_pem.txt

 

what permission do the xml files need to be set at? right now the files are at 644 and the xml folder is at 755

 

thanks!

Link to comment
Share on other sites

ok, looking at this closer, the error says:

PayPal WPP installation incomplete! There should be XML files located in /home/xxxxx/includes/wpp_xml/ !

(setExpressCheckout.xml)

 

but in reality the xml files located at /home/xxxxx/includes/paypal_wpp/xml/

 

i did not rename any folders/subfolders when uploading the contribution files....how can i get it to look in the right place for the xml files?

Link to comment
Share on other sites

  • 2 months later...
  • 6 months later...

It appears that I fixed it by adding a slash after "dirname" on th following line in the configure.php file

 

 

define('DIR_FS_CATALOG', dirname/($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

 

 

Cheers!

 

 

 

Mark

Link to comment
Share on other sites

hmmm I can get Paypal express to work with the slash - but then I get an error relating to the slashing and division by zero on the payment page.

 

hmmmmmm..

 

This line does appear to be a major player in the problem.

 

 

define('DIR_FS_CATALOG', dirname/($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

Link to comment
Share on other sites

OKAY - So far the proper syntax for this line in condigure.php is:

 

 

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']).'/');

 

note the ).'/'); at the end of the line.

 

At the moment, works all the way around.

 

Thanks for being here so I can talk to myself.

 

 

Mark

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...