The module keeps returning blank pages (right after install, while doing checkout ...).

This is the error that shows on the log:
Cannot modify header information - headers already sent by (output started at \sites\all\modules\uc_comprafacil\uc_comprafacil.module:1) em \includes\common.inc na linha 345.

Comments

introfini’s picture

Do you have the correct settings at admin/store/settings/payment/edit/methods, login and password?

You must have the SOAP extension installed.

Let me know if this fixes the problem.

introfini’s picture

Assigned: Unassigned » introfini
Status: Active » Fixed

Fixed BOM signature, encoded in UTF-8 without BOM

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

kyuubi’s picture

Status: Closed (fixed) » Active

Hello,

I am experiencing this problem with blank pages since I installed the module.

Already have SOAP extension installed and the correct login details on the config page.

Do you have any idea of what can be causing it? I have tried to enable errors to see debug info but it still appears blank.

Thanks in advance for your help and this module!

Kind regards,

Duarte

kyuubi’s picture

Figured it out.

There was an issue with the .module file encoding.

Removing the line below the initial php declaration solved it.

Thanks,

Duarte

LarsKramer’s picture

This how I fixed the problem:

1. Disable and uninstall the module.

2. Check your database with PHPMyadmin, and if the table "uc_comprafacil" is still there, delete it.

3. Open the file "uc_comprafacil.module" in an editor, for example Komodo Edit. From menu select "Edit -> Current File Settings". Find the option called "Encoding - Use Signature (BOM)" and make sure it is deactivated, (and UTF-8 should be selected as encoding). Then save the file.

4. Reinstall the module.

Then hopefully, everything should work.

introfini’s picture

Component: User interface » Code
Status: Active » Fixed

Fixed in dev. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.