Jump to content

Paypal 3.5.5. internal server error


Recommended Posts

My version of prestashop is 1.5.2.0 (I'm not going to update it because I made a lot of changes so I keep it like that) and I updated the paypal module to 3.5.5

It doesn't works, at the time of concluding the order and then selecting the payment with paypal gives me an error page with code

 

500: Internal Server Error

 

I searched for a solution, I tried to change the configuration of the module but nothing, the problem persists. I therefore went back to 3.4.5 and running again.

If anyone has a solution or point me know how to resolve would be grateful.

Is not decisive, since the form "old" works and allows me to sell but would like to have the latest release or know if it is a bug, and then wait for the next.

Link to comment
Share on other sites

if you changed what you mentioned above it mean that your store is under debug mode now.

All you have to do now: try to order something and use paypal as payment method

iif any error will appear - please paste it here

Link to comment
Share on other sites

Smarty Debug Console - Total Time 0.75922

included templates & config files (load time in seconds)

/web/htdocs/www.my.site.com/home/catalogo/modules/favoriteproducts/views/templates/hook/favoriteproducts-header.tpl (compile 0.00000) (render 0.00054) (cache 0.00000)

/web/htdocs/www.my.site.com/home/catalogo/modules/feeder/feederHeader.tpl (compile 0.00000) (render 0.00126) (cache 0.00000)

/web/htdocs/www.my.site.com/home/catalogo/modules/paypal/views/templates/hook/paypal.js (compile 0.00000) (render 0.00028) (cache 0.00000)

/web/htdocs/www.my.site.com/home/catalogo/modules/blocklanguages/blocklanguages.tpl (compile 0.00000) (render 0.00035) (cache 0.00000)

/web/htdocs/www.my.site.com/home/catalogo/modules/blockcurrencies/blockcurrencies.tpl (compile 0.00000) (render 0.00042) (cache 0.00000)

/web/htdocs/www.my.site.com/home/catalogo/modules/blockpermanentlinks/blockpermanentlinks-header.tpl (compile 0.00000) (render 0.00000) (cache 0.00039)

/web/htdocs/www.my.site.com/home/catalogo/modules/blocksearch/blocksearch-top.tpl (compile 0.00000) (render 0.00000) (cache 0.00064)

/web/htdocs/www.my.site.com/home/catalogo/modules/blockuserinfo/blockuserinfo.tpl (compile 0.00000) (render 0.02496) (cache 0.00000)

/web/htdocs/www.my.site.com/home/catalogo/modules/blocktopmenu/blocktopmenu.tpl (compile 0.00000) (render 0.00000) (cache 0.00085)

/web/htdocs/www.my.site.com/home/catalogo/themes/default/modules/blockcart/blockcart.tpl (compile 0.00000) (render 0.00448) (cache 0.00000)

/web/htdocs/www.my.site.com/home/catalogo/themes/default/modules/blockcategories/blockcategories.tpl (compile 0.00000) (render 0.00000) (cache 0.00098)

/web/htdocs/www.my.site.com/home/catalogo/themes/default/modules/blockviewed/blockviewed.tpl (compile 0.00000) (render 0.00147) (cache 0.00000)

/web/htdocs/www.my.site.com/home/catalogo/themes/default/modules/blockmanufacturer/blockmanufacturer.tpl (compile 0.00000) (render 0.00338) (cache 0.00000)

/web/htdocs/www.my.site.com/home/catalogo/themes/default/modules/blocksupplier/blocksupplier.tpl (compile 0.00000) (render 0.00262) (cache 0.00000)

/web/htdocs/www.my.site.com/home/catalogo/themes/default/modules/blockcms/blockcms.tpl (compile 0.00000) (render 0.00160) (cache 0.00000)

/web/htdocs/www.my.site.com/home/catalogo/modules/blockadvertising/blockadvertising.tpl (compile 0.00000) (render 0.00000) (cache 0.00033)

/web/htdocs/www.my.site.com/home/catalogo/themes/default/modules/blocknewsletter/blocknewsletter.tpl (compile 0.00000) (render 0.00040) (cache 0.00000)

/web/htdocs/www.my.site.com/home/catalogo/themes/default/modules/blocknewproducts/blocknewproducts.tpl (compile 0.00000) (render 0.00147) (cache 0.00000)

/web/htdocs/www.my.site.com/home/catalogo/themes/default/modules/blockspecials/blockspecials.tpl (compile 0.00000) (render 0.00121) (cache 0.00000)

/web/htdocs/www.my.site.com/home/catalogo/themes/default/modules/blockstore/blockstore.tpl (compile 0.00000) (render 0.00000) (cache 0.00033)

/web/htdocs/www.my.site.com/home/catalogo/themes/default/modules/blockcontact/blockcontact.tpl (compile 0.00000) (render 0.00000) (cache 0.00040)

/web/htdocs/www.my.site.com/home/catalogo/modules/paypal/views/templates/hook/column.tpl (compile 0.00000) (render 0.00030) (cache 0.00000)

/web/htdocs/www.my.site.com/home/catalogo/modules/homeslider/homeslider.tpl (compile 0.00000) (render 0.01931) (cache 0.02888)

/web/htdocs/www.my.site.com/home/catalogo/themes/default/modules/homefeatured/homefeatured.tpl (compile 0.00000) (render 0.00531) (cache 0.00000)

/web/htdocs/www.my.site.com/home/catalogo/modules/blockreinsurance/blockreinsurance.tpl (compile 0.00000) (render 0.00000) (cache 0.00080)

/web/htdocs/www.my.site.com/home/catalogo/themes/default/modules/blockcategories/blockcategories_footer.tpl (compile 0.00000) (render 0.00000) (cache 0.00082)

/web/htdocs/www.my.site.com/home/catalogo/themes/default/modules/blockmyaccountfooter/blockmyaccountfooter.tpl (compile 0.00000) (render 0.00000) (cache 0.00072)

/web/htdocs/www.my.site.com/home/catalogo/themes/default/modules/blocksocial/blocksocial.tpl (compile 0.00000) (render 0.00000) (cache 0.00063)

/web/htdocs/www.my.site.com/home/catalogo/themes/default/modules/blockcontactinfos/blockcontactinfos.tpl (compile 0.00000) (render 0.00000) (cache 0.00065)

/web/htdocs/www.my.site.com/home/catalogo/themes/default/index.tpl (compile 0.00000) (render 0.00124) (cache 0.00000)

/web/htdocs/www.my.site.com/home/catalogo/themes/default/layout.tpl (compile 0.00000) (render 0.00520) (cache 0.00000)

/web/htdocs/www.my.site.com/home/catalogo/themes/default/header.tpl (compile 0.00000) (render 0.00075) (cache 0.00000)

/web/htdocs/www.my.site.com/home/catalogo/themes/default/footer.tpl (compile 0.00000) (render 0.00035) (cache 0.00000)

assigned template variables

$HOOK_FOOTER Smarty_Variable Object (3)

->value = "<!-- MODULE Block reinsurance --> <di..."

->nocache = false

->scope = "Smarty root"

$HOOK_HEADER Smarty_Variable Object (3)

->value = "<script type="text/javascript"> var ..."

->nocache = false

->scope = "Smarty root"

$HOOK_HOME Smarty_Variable Object (3)

->value = "<!-- Module HomeSlider --> <script ty..."

->nocache = false

->scope = "Smarty root"

$HOOK_LEFT_COLUMN Smarty_Variable Object (3)

->value = "<!-- Block categories module --> <div..."

->nocache = false

->scope = "Smarty root"

$HOOK_RIGHT_COLUMN Smarty_Variable Object (3)

->value = " <!-- MODULE Block new products --> <..."

->nocache = false

->scope = "Smarty root"

$HOOK_TOP Smarty_Variable Object (3)

->value = " <!-- Block languages module --> <!--..."

->nocache = false

->scope = "Smarty root"

$PS_ALLOW_MOBILE_DEVICE Smarty_Variable Object (3)

->value = true

->nocache = false

->scope = "Smarty root"

$PS_CATALOG_MODE Smarty_Variable Object (3)

->value = false

->nocache = false

->scope = "Smarty root"

$PS_SHOP_NAME Smarty_Variable Object (3)

->value = "Schede Daikin"

->nocache = false

->scope = "Smarty root"

$SCRIPT_NAME Smarty_Variable Object (3)

->value = "/catalogo/index.php"

->nocache = false

->scope = "Global"

$add_prod_display Smarty_Variable Object (3)

->value = 1

->nocache = false

->scope = "Smarty root"

$b2b_enable Smarty_Variable Object (3)

->value = false

->nocache = false

->scope = "Smarty root"

$base_dir Smarty_Variable Object (3)

->value = "http://www.my.site.com/..."

->nocache = false

->scope = "Smarty root"

$base_dir_ssl Smarty_Variable Object (3)

->value = "http://www.my.site.com/..."

->nocache = false

->scope = "Smarty root"

$base_uri Smarty_Variable Object (3)

->value = "http://www.my.site.com/..."

->nocache = false

->scope = "Smarty root"

$cart Smarty_Variable Object (3)

->value = Cart Object (23)

->id = 3

->id_shop_group = "1"

->id_shop = "1"

->id_address_delivery = "5"

->id_address_invoice = "5"

->id_currency = "1"

->id_customer = "2"

->id_guest = "2"

->id_lang = "1"

->recyclable = "0"

->gift = "0"

->gift_message = ""

->mobile_theme = "0"

->date_add = "2013-07-22 18:27:56"

->secure_key = "f5cf6f2609d6c13c4bdca2c20cbd04f0"

->id_carrier = "0"

->date_upd = "2013-07-24 12:59:14"

->checkedTos = false

->pictures = null

->textFields = null

->delivery_option = ""

->allow_seperated_package = "0"

->id_shop_list = null

->nocache = false

->scope = "Smarty root"

$cart_qties Smarty_Variable Object (3)

->value = 1

->nocache = false

->scope = "Smarty root"

$come_from Smarty_Variable Object (3)

->value = "http://www.my.site.com/..."

->nocache = false

->scope = "Smarty root"

$conditions Smarty_Variable Object (3)

->value = "1"

->nocache = false

->scope = "Smarty root"

$content_dir Smarty_Variable Object (3)

->value = "http://www.my.site.com/..."

->nocache = false

->scope = "Smarty root"

$content_only Smarty_Variable Object (3)

->value = 0

->nocache = false

->scope = "Smarty root"

$cookie Smarty_Variable Object (3)

->value = Cookie Object (0)

->nocache = false

->scope = "Smarty root"

$css_dir Smarty_Variable Object (3)

->value = "http://www.my.site.com/..."

->nocache = false

->scope = "Smarty root"

$css_files Smarty_Variable Object (3)

->value = Array (24)

/catalogo/themes/default/css/grid_prestashop.css => "all"

/catalogo/themes/default/css/global.css => "all"

/catalogo/modules/blockbestsellers/blockbestsellers.css => "all"

/catalogo/modules/blockpermanentlinks/blockpermanentlinks.css => "all"

/catalogo/modules/blockviewed/blockviewed.css => "all"

/catalogo/modules/blockcart/blockcart.css => "all"

/catalogo/modules/blockcontact/blockcontact.css => "all"

/catalogo/modules/blockspecials/blockspecials.css => "all"

/catalogo/modules/blockcurrencies/blockcurrencies.css => "all"

/catalogo/modules/blocknewproducts/blocknewproducts.css => "all"

/catalogo/modules/blockmyaccountfooter/blockmyaccount.css => "all"

/catalogo/modules/blockuserinfo/blockuserinfo.css => "all"

/catalogo/modules/blocklanguages/blocklanguages.css => "all"

/catalogo/modules/blocktags/blocktags.css => "all"

/catalogo/js/jquery/plugins/autocomplete/jquery.autocomplete.css => "all"

/catalogo/themes/default/css/product_list.css => "all"

/catalogo/modules/blocksearch/blocksearch.css => "all"

/catalogo/modules/favoriteproducts/favoriteproducts.css => "all"

/catalogo/modules/homefeatured/homefeatured.css => "all"

/catalogo/modules/blocknewsletter/blocknewsletter.css => "all"

/catalogo/modules/paypal/css/paypal.css => "all"

/catalogo/modules/blocktopmenu/css/superfish-modified.css => "all"

/catalogo/modules/homeslider/bx_styles.css => "all"

/catalogo/modules/blockreinsurance/style.css => "all"

->nocache = false

->scope = "Smarty root"

$currencies Smarty_Variable Object (3)

->value = Array (1)

0 => Array (12)

id_currency => "1"

name => "Euro"

iso_code => "EUR"

iso_code_num => "978"

sign => "€"

blank => "1"

format => "2"

decimals => "1"

conversion_rate => "1.000000"

deleted => "0"

active => "1"

id_shop => "1"

->nocache = false

->scope = "Smarty root"

$currency Smarty_Variable Object (3)

->value = Currency Object (14)

->id = 1

->name = "Euro"

->iso_code = "EUR"

->iso_code_num = "978"

->sign = "€"

->blank = "1"

->conversion_rate = "1.000000"

->deleted = "0"

->format = "2"

->decimals = "1"

->active = "1"

->prefix = ""

->suffix = " €"

->id_shop_list = null

->nocache = false

->scope = "Smarty root"

$customerName Smarty_Variable Object (3)

->value = "Filippo Araniti"

->nocache = false

->scope = "Smarty root"

$display_footer Smarty_Variable Object (3)

->value = true

->nocache = false

->scope = "Smarty root"

$display_header Smarty_Variable Object (3)

->value = true

->nocache = false

->scope = "Smarty root"

$display_tax_label Smarty_Variable Object (3)

->value = true

->nocache = false

->scope = "Smarty root"

$errors Smarty_Variable Object (3)

->value = Array (0)

->nocache = false

->scope = "Smarty root"

$favicon_url Smarty_Variable Object (3)

->value = "/catalogo/img/favicon.ico"

->nocache = false

->scope = "Smarty root"

$hide_left_column Smarty_Variable Object (3)

->value = false

->nocache = false

->scope = "Smarty root"

$hide_right_column Smarty_Variable Object (3)

->value = false

->nocache = false

->scope = "Smarty root"

$id_cart Smarty_Variable Object (3)

->value = 3

->nocache = false

->scope = "Smarty root"

$id_cgv Smarty_Variable Object (3)

->value = "3"

->nocache = false

->scope = "Smarty root"

$id_currency_cookie Smarty_Variable Object (3)

->value = 1

->nocache = false

->scope = "Smarty root"

$img_cat_dir Smarty_Variable Object (3)

->value = "http://www.my.site.com/..."

->nocache = false

->scope = "Smarty root"

$img_col_dir Smarty_Variable Object (3)

->value = "http://www.my.site.com/..."

->nocache = false

->scope = "Smarty root"

$img_dir Smarty_Variable Object (3)

->value = "http://www.my.site.com/..."

->nocache = false

->scope = "Smarty root"

$img_lang_dir Smarty_Variable Object (3)

->value = "http://www.my.site.com/..."

->nocache = false

->scope = "Smarty root"

$img_manu_dir Smarty_Variable Object (3)

->value = "http://www.my.site.com/..."

->nocache = false

->scope = "Smarty root"

$img_prod_dir Smarty_Variable Object (3)

->value = "http://www.my.site.com/..."

->nocache = false

->scope = "Smarty root"

$img_ps_dir Smarty_Variable Object (3)

->value = "http://www.my.site.com/..."

->nocache = false

->scope = "Smarty root"

$img_ship_dir Smarty_Variable Object (3)

->value = "http://www.my.site.com/..."

->nocache = false

->scope = "Smarty root"

$img_store_dir Smarty_Variable Object (3)

->value = "http://www.my.site.com/..."

->nocache = false

->scope = "Smarty root"

$img_sup_dir Smarty_Variable Object (3)

->value = "http://www.my.site.com/..."

->nocache = false

->scope = "Smarty root"

$img_update_time Smarty_Variable Object (3)

->value = "1374571105"

->nocache = false

->scope = "Smarty root"

$js_dir Smarty_Variable Object (3)

->value = "http://www.my.site.com/..."

->nocache = false

->scope = "Smarty root"

$js_files Smarty_Variable Object (3)

->value = Array (11)

0 => "/catalogo/js/jquery/jquery-1.7.2.min.js"

1 => "/catalogo/js/jquery/plugins/jquery.ea..."

2 => "/catalogo/js/tools.js"

3 => "/catalogo/modules/blockcart/ajax-cart.js"

4 => "/catalogo/themes/default/js/tools/tre..."

5 => "/catalogo/js/jquery/plugins/autocompl..."

6 => "/catalogo/modules/favoriteproducts/fa..."

7 => "/catalogo/modules/blocktopmenu/js/hov..."

8 => "/catalogo/modules/blocktopmenu/js/sup..."

9 => "/catalogo/modules/homeslider/js/jquer..."

10 => "/catalogo/modules/homeslider/js/homes..."

->nocache = false

->scope = "Smarty root"

$lang_iso Smarty_Variable Object (3)

->value = "it"

->nocache = false

->scope = "Smarty root"

$languages Smarty_Variable Object (3)

->value = Array (1)

0 => Array (10)

id_lang => "1"

name => "Italiano (Italian)"

active => "1"

iso_code => "it"

language_code => "it"

date_format_lite => "Y-m-d"

date_format_full => "Y-m-d H:i:s"

is_rtl => "0"

id_shop => "1"

shops => Array (1)

1 => true

->nocache = false

->scope = "Smarty root"

$link Smarty_Variable Object (3)

->value = Link Object (2)

->protocol_link = "http://"

->protocol_content = "http://"

->nocache = false

->scope = "Smarty root"

$logged Smarty_Variable Object (3)

->value = true

->nocache = false

->scope = "Smarty root"

$logo Smarty_Variable Object (3)

->value = "/catalogo/modules/paypal/img/logos/IT..."

->nocache = false

->scope = "Smarty root"

$logo_image_height Smarty_Variable Object (3)

->value = "52"

->nocache = false

->scope = "Smarty root"

$logo_image_width Smarty_Variable Object (3)

->value = "209"

->nocache = false

->scope = "Smarty root"

$logo_url Smarty_Variable Object (3)

->value = "/catalogo/img/logo.jpg?1374571105"

->nocache = false

->scope = "Smarty root"

$mail_dir Smarty_Variable Object (3)

->value = "/catalogo/mails/"

->nocache = false

->scope = "Smarty root"

$meta_description Smarty_Variable Object (3)

->value = "Negozio powered by PrestaShop"

->nocache = false

->scope = "Smarty root"

$meta_keywords Smarty_Variable Object (3)

->value = "negozio, prestashop"

->nocache = false

->scope = "Smarty root"

$meta_language Smarty_Variable Object (3)

->value = "it"

->nocache = false

->scope = "Smarty root"

$meta_title Smarty_Variable Object (3)

->value = "Schede Daikin"

->nocache = false

->scope = "Smarty root"

$mobile_device Smarty_Variable Object (3)

->value = false

->nocache = false

->scope = "Smarty root"

$modules_dir Smarty_Variable Object (3)

->value = "/catalogo/modules/"

->nocache = false

->scope = "Smarty root"

$navigationPipe Smarty_Variable Object (3)

->value = ">"

->nocache = false

->scope = "Smarty root"

$opc Smarty_Variable Object (3)

->value = false

->nocache = false

->scope = "Smarty root"

$page_name Smarty_Variable Object (3)

->value = "index"

->nocache = false

->scope = "Smarty root"

$pic_dir Smarty_Variable Object (3)

->value = "http://www.my.site.com/..."

->nocache = false

->scope = "Smarty root"

$priceDisplay Smarty_Variable Object (3)

->value = 0

->nocache = false

->scope = "Smarty root"

$priceDisplayPrecision Smarty_Variable Object (3)

->value = 2

->nocache = false

->scope = "Smarty root"

$request Smarty_Variable Object (3)

->value = "http://www.my.site.com/..."

->nocache = false

->scope = "Smarty root"

$request_uri Smarty_Variable Object (3)

->value = "/catalogo/index.php"

->nocache = false

->scope = "Smarty root"

$roundMode Smarty_Variable Object (3)

->value = 2

->nocache = false

->scope = "Smarty root"

$shop_name Smarty_Variable Object (3)

->value = "Schede Daikin"

->nocache = false

->scope = "Smarty root"

$show_taxes Smarty_Variable Object (3)

->value = 0

->nocache = false

->scope = "Smarty root"

$static_token Smarty_Variable Object (3)

->value = "138f001d5778c5080a7c7b105f2c5e3c"

->nocache = false

->scope = "Smarty root"

$template Smarty_Variable Object (3)

->value = " <!-- Module HomeSlider --> <script t..."

->nocache = false

->scope = "Smarty root"

$time Smarty_Variable Object (3)

->value = 1374663588

->nocache = false

->scope = "Smarty root"

$token Smarty_Variable Object (3)

->value = "a76df26c065725ed9a186d0be16d6894"

->nocache = false

->scope = "Smarty root"

$tpl_dir Smarty_Variable Object (3)

->value = "/web/htdocs/www.my.site..."

->nocache = false

->scope = "Smarty root"

$use_taxes Smarty_Variable Object (3)

->value = 1

->nocache = false

->scope = "Smarty root"

$vat_management Smarty_Variable Object (3)

->value = 0

->nocache = false

->scope = "Smarty root"

assigned config file variables (outer template scope)

Link to comment
Share on other sites

I have modified the file defines.inc.php but the result is always the same:

Internal Server Error

 

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at postmaster@...........

 

I receive only a popup with smarty debug.

Link to comment
Share on other sites

Sorry for interrupting. I think I have the same problem, too.

 

I uninstalled the module and reinstall many times but it did not work.

 

It is appreciated if you can give how to solve the problem.

 

Presta version : 1.5.4.1 with default theam

Module : Paypal version 3.5.5

 

Error message as shown below

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

 

Display.php code

 

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

Izraelviz-san

 

I live in Japan, so I thought I cound not install it.

I installed the latest 3.5.7 europe version but still the same error comes up. :(

 

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

 

Does someone have any good solutions?

 

Thank you.

Hiro

Link to comment
Share on other sites

I'm sorry to hear it didn't solve anything for you.

 

I'm not a php [spam-filter], so the only thing I can come up with is to go backwards in the paypal versions (just to see if you at least get another error or something) (And of corse I take it to that you have enabled "Force Compile" and disabled "Cache" in performance)

 

That's what I would have done while waiting for someone with a little more knowledge to drop by =)

 

Hope it works out for you in the end!

 

Regards from Norway

Link to comment
Share on other sites

I was seeking in the code - /modules/paypal/backward_compatibility and so on - but didn't find a reason of this message. It is definitely an issue in code, not templates, themes etc.

 

I suggest to debug that in NetBeans or similar debugger or if you can't than put die() functions with a message on 100 places in code and try to find the exact place and reason against PayPal test account through small steps ahead.

Link to comment
Share on other sites

Izraelviz-san, and Tuk66-san

 

Thank you very much for your support! I understand that it takes time to be solved. I am a beginner of Presta shop and not good at programming skills. I will wait for a possible solutions coming to this forum. Anyway, thank you again :D

Link to comment
Share on other sites

×
×
  • Create New...