Download & Extend

mimemail not compatible with php 4

Project:Mime Mail
Version:6.x-1.0-alpha1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

When I deployed MimeMail to my Drupal 6.10 site, I got the white screen of death. I found some code to put in my index.php that trapped errors:

error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);

and then I got the following error:

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /modules/mimemail/mimemail_css_combiner.module on line 5

So I just deleted the MimeMail folder and everything is back up again. But I need Mimemail to work so...

What steps can I take to resolve this?

Comments

#1

I ran into a similar issue once and it was because I was using PHP4. Make sure you are using PHP5.

#2

Version:6.x-1.x-dev» 6.x-1.0-alpha1

if my hosting provider offered php 5 i would, but i thought drupal 6 was supposed to be compatible with php 4? i tried a patch offered in another post but it did not work, in fact it crashed my site... maybe we should be using Drupal 5 if we want to use mimemail?

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/content/79/5439979/html/modules/mimemail/modules/mimemail_compress/mimemail_compress.inc on line 32

edit - after much frustration and much site crashing i found that mimemail will work without enabling the compression module. A work-around solution for me until the hosting providers start coming into the 21st century..

#3

Title:unexpected T_STRING error?» mimemail not compatible with php 4
Status:active» closed (won't fix)

Considering that php 4 is no longer supported by the php team and that module authors can decide if they still support php 4 on their own, this is a "won't fix"