Jump to content

[SOLVED] modules/paypal/about.php returns blank page


Recommended Posts

Hi everybody, I'm a PS newbie from Italy, but already know some ecommerce CMSs.

 

I am having a problem with the free Paypal module (version 3.2.4): I simply get a blank page when I click on Paypal's advertising block, that links to modules/paypal/about.php.

 

The server's error log says:

mod_fcgid: stderr: PHP Fatal error: Class 'BWDisplay' not found in /var/www/vhosts/myserver/httpdocs/mywebsite.it/modules/paypal/about.php on line 37, referer: http://mywebsite.it/it/

 

Of course it's a fresh PS installation.

  • Like 1
Link to comment
Share on other sites

@Lachlan, I saw the problem can be easily solved by doing like this:

 

Go to line 37, on your about.php file, located in modules/prestashop folder

Check that there is code: $display = new BWDisplay();

Now replace with:

 

if (_PS_VERSION_ < '1.5')

$display = new BWDisplay();

else

$display = new FrontController();

 

Works fine for me. It's the same solution as: www.prestashop.com/forums/topic/189878-paypal-bwdisplay-express-checkout/page__st__20

  • Like 6
Link to comment
Share on other sites

Hello Lachlan and enli78, thank you for the information and a confirmed solution. I will be sure to report this issue and fix to the team. :) This is how we all can make PrestaShop better everyday. For now, I will go ahead and mark this thread as Solved, I'm sure it will help other Merchants. Thank you for choosing PrestaShop!

 

Regards,

 

Benjamin

  • Like 2
Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
  • 2 weeks later...
  • 2 weeks later...
  • 7 months later...
Go to line 37, on your about.php file, located in modules/prestashop folder

Check that there is code: $display = new BWDisplay();

Now replace with:

 

if (_PS_VERSION_ < '1.5')

$display = new BWDisplay();

else

$display = new FrontController();

 

I have the same problem, I am on Prestashop 1.5.4.1 and PayPal 3.5.5

I tried the above workaround but it does not fix the problem. Any idea?

Thanks

Link to comment
Share on other sites

  • 8 months later...
×
×
  • Create New...