Design903

PHPList on GoDaddy Hosting

I recently installed and setup PHPList for a client that uses GoDadddy shared Linux hosting. There were several modifications I had to make to get it to work:

1. GoDaddy does not support IMAP module for PHP. To get around this, I used some code that makes use of PEAR instead. Thanks to Bash Console for that workaround.

2. In the Send a Message screen, the code was getting an error and stopped processing page so you could never get the full page to fill out. Here is what I did to fix that. In the send_core.php file, replaced lines 1031 - 1044 with:

$maincontent .= '
<tr><td>'.Help("subject").' '.$GLOBALS['I18N']->
get("Subject").':</td>
<td><input type=text name="msgsubject"
value="'.htmlentities($subject,ENT_QUOTES,'UTF-8').'" size=40>
</td></tr>
<tr>
<td colspan=2>
</td></tr>
<tr><td>'.Help("from").' '.$GLOBALS['I18N']->get("fromline").':</td>
<td><input type=text name=from
value="'.htmlentities($from,ENT_QUOTES,'UTF-8').'" size=40>
</td></tr>
<tr><td colspan=2>
</td></tr>';

3. For some reason user_blacklist_data table was not created during installation. I ran this sql script to create the table:

CREATE TABLE `user_blacklist_data` (
`email` varchar(255) NOT NULL default '',
`name` varchar(100) default NULL,
`data` text,
UNIQUE KEY `email` (`email`)
) TYPE=MyISAM;

4. The remainder of the fixes were in the config.php file. These included the information for the SMTP to send the emails and the information for POP to process bounces.

The overall installation process took longer than I expected as I ran into the above issues that I did not foresee. Hopefully this information will help save someone time on installing PHPList on a GoDaddy server.

Comments
John Marston's Gravatar Thanks for offering some ideas on how to accomplish this with godaddy.com. Can I email you some lines from the top of my config file? I'm thinking I might still be held up at the basic connection step.
# Posted By John Marston | 1/11/10 2:50 AM
bashconsole's Gravatar Hello,
Can you say phplist version you used?
Thank you for your article!
# Posted By bashconsole | 1/24/10 9:43 PM
chajoe's Gravatar I followed all of the instructions... I'm on Phplist 2.10.10 version with Godaddy. I'm testing it with a message to my list... I'll post back the results (fingers crossed)
# Posted By chajoe | 1/28/10 8:27 PM
Jeff Pierson's Gravatar @bashconsole I am not sure off the top of my head. I will check tomorrow and let you know.
# Posted By Jeff Pierson | 2/12/10 12:05 AM
Jeff Pierson's Gravatar Sorry for the delay, version 2.10.10
# Posted By Jeff Pierson | 3/2/10 4:29 PM
Andre's Gravatar Do you offer installation services? Im interested in installing phplist on my godaddy hosting server.
# Posted By Andre | 1/24/11 3:40 PM
Ronald's Gravatar Do you offer installation services? Im interested in installing phplist on my godaddy hosting server. Which is the price?
# Posted By Ronald | 12/24/11 4:15 PM
Web Design Company Serving:

Longview
Tyler
Kilgore
Marshall
Jefferson
Texarkana
Nacogdoches
Lufkin
East Texas

© 2009 JMP Consulting, Inc. dba Design903 - Longview, Texas Web Design

Home | Contact Us | Site Map | Work | Services | Pricing