Jump to content

Fatal error: Cannot redeclare class Swift in tools/swift/Swift.php


Recommended Posts

Hola todos! despues de actualizar 1-Click upgrade from 1.6.1.3 to 1.6.1.6.

 

Tengo este mensaje:

Strict Standards: Declaration of Mail::Send() should be compatible with MailCore::Send($id_lang, $template, $subject, $template_vars, $to, $to_name = NULL, $from = NULL, $from_name = NULL, $file_attachment = NULL, $mode_smtp = NULL, $template_path = _PS_MAIL_DIR_, $die = false, $id_shop = NULL, $bcc = NULL, $reply_to = NULL) in /home/shop/override/classes/Mail.php on line 0

Fatal error: Cannot redeclare class Swift in /home/shop/tools/swift/Swift.php on line 31

 

Alguna ayudita :) 

Link to comment
Share on other sites

:) Muchas Gracias Ventura! Una vez mas me has ayudado!

 

efectivamente la primera parte del error ya no esta!

 

Nos queda el:

Fatal error: Cannot redeclare class Swift in /home/shop/tools/swift/Swift.php on line 31

 

Y nuestro experto M4 dice en el forum

 

 

I suggest to remove the /tools/swift directory and copy it back from the installation archive.

Entonces he descargado la ultima version  Prestashop 1.6.1.6
Y los ficheros  /tools/swift son identicos a los ficheros /tools/swift  de mi tienda actualizados por 1-Click upgrade no veo necesario volver a copiarlos?!?!

 

:wacko: 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...