Jump to content

[Solved] PayPal Logo redirects to Blank page


Recommended Posts

Hi vekia,

I changed the

define('_PS_MODE_DEV_', false); To define('_PS_MODE_DEV_', true);

 

and then uploaded again via FTP, I went to my site but I don't see any error report.

By the way I don't get the 500 internal server error as your screenshot, I am only redirected to a blank page without any warning. My browser is FireFox 22 for Mac.

Please advice.

Thanks

Edited by bruce-rez (see edit history)
Link to comment
Share on other sites

El Patron,

Thanks. I've already read and tried this workaround (your link) but it didn't work for me. I think this solution is not for v 1.5.4.1.

This is what I tried with no success:

$display = new BWDisplay();

With :

if (_PS_VERSION_ < '1.5')

$display = new BWDisplay();

else

$display = new FrontController();

 

Thanks.

Edited by bruce-rez (see edit history)
Link to comment
Share on other sites

...backward compatibility module

I searched for this module in my BO but couldn't find it. Could be it under another name?

 

El Patron

I get

Fatal error: Cannot redeclare class BWDisplay in /home3/david008/public_html/modules/paypal/backward_compatibility/Display.php on line 24

I confirm that I get the same error message after turn on error reporting.

Edited by bruce-rez (see edit history)
Link to comment
Share on other sites

good lawd...I hate looking through threads....you get one thread on subject...and people post every sort of issue they might have that is not even related to the original post....the in ref to the Fatal error: Cannot redeclare class BWDisplay search.

 

if you can't find the module then it's not loaded.

 

There are some fixes suggested there but at this point not sure what advice to give you...other than maybe finding an earlier version of paypal 3.5.5 and/or unintalling the paypal you have and reinstalling...

Link to comment
Share on other sites

El Patron,

Thanks for your assistance, I understand that could be sometimes frustration as a moderator to read and find the solution to different threads.

Anyway I found the Display.php file, I am going to copy/paste it here and hopefully get some help .

Thanks anyway.

 

Here is the error message I get:

Fatal error: Cannot redeclare class BWDisplay in /home3/david008/public_html/modules/paypal/backward_compatibility/Display.php on line 24

 

Here is the /my theme/modules/paypal/backward_compatibility/Display.php:

<?php

 

/**

* Class allow to display tpl on the FO

*/

class BWDisplay extends FrontController

{

// Assign template, on 1.4 create it else assign for 1.5

public function setTemplate($template)

{

if (_PS_VERSION_ >= '1.5')

parent::setTemplate($template);

else

$this->template = $template;

}

 

// Overload displayContent for 1.4

public function displayContent()

{

parent::displayContent();

 

echo Context::getContext()->smarty->fetch($this->template);

}

}

Link to comment
Share on other sites

×
×
  • Create New...