[SOLVED] Could not instantiate mail function in PHPMailer

By |2011-05-20T01:50:50+01:00May 20th, 2011|Ramblings|

(This article has an advanced technical level, written for people with PhpMailer experience.)

PHPMailer 5.1 in PrestaShop 1.4

Trying to integrate PHPMailer in Prestashop and use it instead of SWIFT Mailer 3 (which is the default mailer script included with Prestashop 1.4), I spent hours to no avail and was getting the Could not instantiate mail function error.

mail() function

The mail() function by itself  was working correctly before and after loading Prestashop and every passed argument seemed to be correct. I did get the “Bad parameters to mail() function, mail not sent” error for mail() too.

Debugging and Abracadabra!

I’ve done lots of debugging and found in my case that the following functions were causing the error, when passing the $Subject parameter to mail():

SecureHeader();
EncodeHeader();

To solve the “Could not instantiate mail function” error in PHPMailer, […]

Bug Prestashop, la liste des magasins n'apparait pas

By |2011-05-16T13:57:50+01:00May 16th, 2011|Ramblings|

Cette article est sponsorisé par odience.net¦works

En plein developpement

En plein développement de plusieurs modules PrestaShop, j’ai rencontrer plusieurs souci dans les code du package PrestaShop. Ce qui m’étonne, c’est qu’il y a beaucoup de gens qui utilise PrestaShop, même si c’est du gros n’importe quoi en terme de codage et programmation.

 

Alors pourquoi je créer des module?

Tout simplement parcequ’il y a de la demande.

(Restez connecté pour avoir des nouvelles de mes modules:

Must have mobile applications – Part 3

By |2009-07-25T22:38:48+01:00July 25th, 2009|Ramblings|

Here’s  “Must have mobile applications” Part 3. Be sure to read the  Intro , the First Part and the Second Part.


ybrowser_iconY-Browser


Here’s another Symbian file browser which lets you browse all the system folders and drives on your phone. It comes with plugins to let you access your inbox and message folders for easy file transfers from your messages to your phone’s memory card. More details here.


Mobiola Web Camera

If you need to use your mobile phone as a wireless webcam, here’s Mobiola Web Camera, which is very reliable and supports bluetooth, wifi, and even USB cable connection, read more on this in Use you mobile phone as a wireless webcam.



Comments Off on Must have mobile applications – Part 3

Must have mobile applications – Part 2

By |2009-07-25T22:37:54+01:00July 25th, 2009|Ramblings|

Here comes the second part of  “Must have mobile applications” articles. Be sure to read the  Intro , and the First Part.


Interactive Voice Call Manager

This application by Mobisophy provides you with tons of features and is one of the best and most reliable call manager applications available on the market. Use this application to record voice conversations (without beep), have a personalized answering machine, send busy tone when you don’t want to answer a call, reply with text message when you’re not available, mute the ringer on scheduled hours and so on…


salling_clicker_icon1 Salling Clicker


Salling Clicker is the ultimate bluetooth remote control from your computer. With Salling Clicker you can use your phone as […]

Comments Off on Must have mobile applications – Part 2

Must have mobile applications – Part 1

By |2009-07-25T22:36:32+01:00July 25th, 2009|Ramblings|

Once you’re through the Intro, let’s see the first part on “Must have mobile applications”:


icon_vodafone SFR Vodafone Live (French users)


Download and install the SFR Vodafone Live application, and run the application from your phone to get it updated with the lastest version.


mobitubia_icon MobiTubia

MobiTubia application is one of the best YouTube players available. You can search, watch and save YouTube mmovie clips on your phone. If for any reason MobiTubia is not the right choice for you, I recommend using either YouTube Player or emTube.


Nokia Photo Browser

This is a very easy to use and cool photo browsing application with stunning 3D effects from Nokia […]

Comments Off on Must have mobile applications – Part 1

Mark Gibni.com's History

By |2009-04-22T02:20:21+01:00April 22nd, 2009|Blogging, Money Talks, Ramblings, Web Development|

Have you found an article, post or comment useful on this site and it saved you time or/and money?

Many people have visited Gibni.com since its first day and the number grows everyday. Do you want to mark the history of this site by bringing some help to it?


Comments Off on Mark Gibni.com's History

Optimizing Global Translator Plugin for WordPress

By |2008-10-27T03:43:41+01:00October 27th, 2008|Ramblings|

UPDATE: Version 0.2 released
In the new theme designed for Gibni.com, one of the main goals is to attain maximum speed and shorter page loading times. This post is for people who have the basics of website optimizations. In this post, I’ll discuss a very popular WordPress Plugin, Global Translator, made by www.Nothing2Hide.net, which is used to provide translated version of your blog to visitors. This plugin improved a lot over time, and it gives better and better results after each upgrade. Latest version till date is 1.0.7.1, which is a stable version.
In the process of optimizing my website, I found out that this plugin consumes a large amount of loading time and keeps pages in a loading state for a long period of time, and it […]