tanjilkamal
Junior Member

Posts: 3
Registered: 26-10-2009
Member Is Offline
|
|
installation problem
Hi,
I am having difficulty installing phpmailer ml in my hosting. My domain name is and i am installing phpmailer ml into mail9 sub directory. After
installing i can not login to admin and even i could not understand what is my admin user and pass? I could not understand also fully what i need to
put in the following fields:
// NOTE: You should not have to edit anything below here. If you do, make sure you know what you are doing.
$phpml['iProtocol'] = "http://"; // option is "https://";
$phpml['path_base'] = getBasePath(); // PHPMailer-ML (Mailing List) root path
$phpml['path_root'] = $_SERVER['DOCUMENT_ROOT'] . '/' . $phpml['path_base'];
$phpml['path_admin'] = $phpml['path_root'] . "/mail9/_acp-ml" . $_SESSION['acp'];
$phpml['url_root'] = $phpml['iProtocol'] . $_SERVER["HTTP_HOST"] . 'http://tradedealmarketing.com/' . $phpml['path_base'];
$phpml['url_admin'] = $phpml['url_root'] . "http://tradedealmarketing.com/mail9/_acp-ml/" . $_SESSION['acp'];
$phpml['PHPMailer_path'] = $phpml['path_admin'] . "/phpmailer"; // Path to PHPMailer class
$phpml['LangPref'] = 'en';
$phpml['ListName'] = 'PHPMailer-ML';
$phpml['ReturnPage'] = "index.php"; // default return page if HTTP_REFERER not found
$phpml['useBcc'] = false;
$phpml['EmailSend'] = true;
$phpml['adminBcc'] = true;
$phpml['progressmin'] = 25;
//$phpml['editor'] = 'none'; //'spaw2'; //'ckeditor'; // 'none' is default meaning textarea only
//$phpml['filemgr'] = 'none'; // 'kfm'; //'none' is default meaning no file manager installed
if ( file_exists('spaw2/spaw.inc.php') ) {
$phpml['editor'] = 'spaw2';
$phpml['userdir'] = $phpml['path_admin'] . '/spaw2/uploads/images';
$phpml['userURL'] = $phpml['url_admin'] . '/spaw2/uploads/images';
$phpml['editorincl'] = 'spaw2/spaw.inc.php';
} elseif ( file_exists('ckeditor/ckeditor.js') ) {
$phpml['editor'] = 'ckeditor';
$phpml['userdir'] = $phpml['path_admin'] . '/user_imgs';
$phpml['userURL'] = $phpml['url_admin'] . '/user_imgs';
$phpml['editorinit'] = '<script type="text/javascript" src="ckeditor/ckeditor.js"></script>' . "\n";
if ( file_exists('kfm/configuration.php') ) {
$phpml['filemgr'] = 'kfm';
$phpml['kfmpath'] = 'kfm/';
} else {
Can anyone help me please?:(
|
|
|
andy.prevost
|
|
The only file to edit is "_acp-ml/inc.settings_db.php" to add your MySQL database settings.
Once you install PHPMailer-FE, you can go to the Configuration tab and edit directly there for the other settings.
Read the DOCS folder. It explains how to get to your admin control panel. If you have it installed at then to get to the admin control panel you type
in:
In terms of password protection, there is nothing in the PHP code to protect your control panel. The documentation is clear that you need to use the
htaccess/htpasswd authentication and provides a link where you can create your own passwords on the PHPMailer site.
Andy
|
|
|
summitscout
Junior Member

Posts: 8
Registered: 26-10-2009
Location: Seattle
Member Is Offline
|
|
server permissions problem
tanjilkamal - first you need to go to your server via FTP client or cPanel file manager and change the permissions for to 755.
|
|
|
tanjilkamal
Junior Member

Posts: 3
Registered: 26-10-2009
Member Is Offline
|
|
Hi, I change the mail9/_acp-ml/index.php to 755. But it does not work. I am getting following error message when try to access admin.
You don't have permission to access /mail9/_acp-ml/index.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I check the error log and got this reason for the error:
Permission denied: /home/tradedea/public_html/mail9/_acp-ml/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
any solution?
|
|
|
tanjilkamal
Junior Member

Posts: 3
Registered: 26-10-2009
Member Is Offline
|
|
i am getting following error now
Quote: Originally posted by andy.prevost  | The only file to edit is "_acp-ml/inc.settings_db.php" to add your MySQL database settings.
Once you install PHPMailer-FE, you can go to the Configuration tab and edit directly there for the other settings.
Read the DOCS folder. It explains how to get to your admin control panel. If you have it installed at then to get to the admin control panel you type
in:
In terms of password protection, there is nothing in the PHP code to protect your control panel. The documentation is clear that you need to use the
htaccess/htpasswd authentication and provides a link where you can create your own passwords on the PHPMailer site.
Andy |
Hi,
I change the permission for hatchees file to 0755 and can access the but still getting following error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@tradedealmarketing.com and inform them of the time the error occurred, and anything you might have
done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
|
|
|
summitscout
Junior Member

Posts: 8
Registered: 26-10-2009
Location: Seattle
Member Is Offline
|
|
That usually means that your .htaccess file has a syntax error. Please have your webhost support help you setting up that security file.
|
|
|
andy.prevost
|
|
You are using the default .htaccess and .htpasswd files included in the distribution package. Please read the instructions, you need to edit the
.htpasswd file to have your own user login name and password.
If you already edited that, then see the message above - you have a syntax error in one of those two files.
Andy
|
|
|
danniemite
Newbie
Posts: 1
Registered: 16-11-2009
Member Is Offline
|
|
Quote: Originally posted by andy.prevost  | You are using the default .htaccess and .htpasswd files included in the distribution package. Please read the instructions, you need to edit the
.htpasswd file to have your own user login name and password.
If you already edited that, then see the message above - you have a syntax error in one of those two files.
Andy |
Hi Andy, i have the same problem, althought i've changed my password with worxware pass generator which produces a htpasswd. file, and i'm using the
default htaccess. file, but still i'm getting the:
"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, tomcpu@colors-computer.hu and inform them of the time the error occurred, and anything you might have done
that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.2.3 (Debian) PHP/5.2.0-8+etch15 mod_ssl/2.2.3 OpenSSL/0.9.8c Server at Port 80"
What could be the problem?
Thank You!
Daniel
|
|
|
andy.prevost
|
|
Please read the documentation.
You have to edit the .htaccess file. There is one line that needs to have the real path of your server:
AuthUserFile /your/path/to/_acp-ml/.htpasswd
|
|
|
David
Newbie
Posts: 1
Registered: 2-12-2009
Member Is Offline
|
|
I don't get it...
would that be:
AuthUserFile /mysite.com/mail/_acp-ml/.htpasswd
?!?
|
|
|
andy.prevost
|
|
David,
I have no idea what it would be for your server. It is unique for your environment and whether you use Linux or Windows, then which version of Linux,
then which web server software, etc.
Consult with your web hosting provider, or create a PHP script check it.
That's pretty simple to build:
<?php
phpinfo();
?>
Andy
|
|
|
tedwilder
Junior Member

Posts: 5
Registered: 11-12-2009
Member Is Offline
|
|
The user who is having problem is right . your install how to is CRAP !
or you didnt even try to install from the .zip file for 1.8 :
first in the install you tell us to edit a file settings.. but in reality it's 2 file : one for db and one for smtp.
Then nothing can work because on the root you put a .htaccess that disable php !! I dont know why you did put that ! it makes firefox and internet
explorer 500 internal error, or they try to download some file ! thats a serious bug and thats why the guy cant make it works.
THen, you say nothing about all the chmod that have to be made on some files.
Then we have to set the quickscv modulewith correct DB setting.
None of this is explain in your how to install.. do you bill some support service or what?!
|
|
|
andy.prevost
|
|
tedwilder,
The installation works as it is and does not require explanation other than the notes in the documentation site.
There is only one file to edit as documented. It is the database file. There is no need to edit the SMTP file.
Once you go to the admin section of the PHPMailer-ML site, all the flags that need to be set for read/write permissions will be displayed.
Mistakes like you describe are usually from someone trying to rush through without some basic reading of instructions. Read the documentation ... and
further, if you don't like the software, the documentation or the installation procedure, use something else -- no one is twisting your arm.
We don't charge for the software, we don't charge for help, and we try to make the use of the software and installation as simple as possible.
Suggestions otherwise are wrong.
Andy
|
|
|
tedwilder
Junior Member

Posts: 5
Registered: 11-12-2009
Member Is Offline
|
|
Well maybe you dont know the software yourself so please take your time to read it, and dl -ML1.8 in zip.
informations are from :http://www.worxware.com/kb/index.php/article/mlinstall
Line 1 : "After unzipping the files, edit the "_acp-ml/inc.settings.php" file "
-> WRONG ( thats why the guys doesnt know what to do right from the start) : the only file that has to be edit is "_acp-ml/inc.settings_db.php
Line 2: "your SMTP server settings (if you plan on using SMTP)"
->As you point out yourself this is not in the _acp-ml/inc.settings.php but in "_acp-ml/inc.settings_smtp.php and it's not necessary to edit it
right now.
->After that none is said about the inc.db.php in quickcsv directory to be edited.
->the worst is that the root / contains a .htaccess with this inside : AddHandler application/x-httpd-php5 .php
RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html
It just made any browser stops working..
Now try and say I didnt read your install file. I'm not complaining about the software, but about the fact that you dare to tell ppl here they didnt
read it and thats why it doesnt work.. Well It's BECAUSE they DID read it that they dont know what to do !
|
|
|
andy.prevost
|
|
tedwilder,
The installation notes at the documentation site is correct for version 1.7 and should have been updated for 1.8.x but wasn't.
The sole two files to edit are:
_acp-ml/inc.settings_db.php (to insert your own MySQL settings)
_acp-ml/.htaccess (to insert your own path to find the .htpasswd) file
There is no need to edit the "inc.settings_smtp.php" file or the QuickCSV "inc.db.php" file. The SMTP settings are set through the Configuration
option in the application. The QuickCSV database settings are identical to the PHPMailer-ML settings and will not "initialize" to variables anyhow if
loaded through PHPMailer-ML.
Again, read the documentation and follow the instructions.
Andy
|
|
|
tedwilder
Junior Member

Posts: 5
Registered: 11-12-2009
Member Is Offline
|
|
"There is no need to edit the "inc.settings_smtp.php""
-> I agree
" file or the QuickCSV "inc.db.php" file."
-> WRONG : if you dont, like I did the first time when you click on quickcsv you get : permission denied for user 'apache'@'localhost'
When db setting are entered it then worked ok.
But you still doesnt saynothing about this .htaccess in root. I spent like 30 minutes, because hidden file are not showed by default in my ftpclient
that suppress html and php handling...
I think what you say is ok for ver 1.7 maybe but you should test 1.8..
|
|
|
andy.prevost
|
|
tedwilder,
First, thank you for being persistent with your 1.8 issues. We have been working diligently to determine possible problems with 1.8 and found quite a
few.
With the assistance of several power users, we have fixed a number of problems with 1.8 and have now released 1.8.1.
There are some notable changes:
QuickCSV Suite has two files edited to properly load the PHPMailer-ML database configuration information. There are no files to edit in QuickCSV Suite
on installation or on upgrade.
Largely because of some dumb mistakes on my part, I've added a new feature to 1.8.1 so that users can now view email messages as online HTML pages,
complete with personalization.
We've also worked at implementing a feature where images in emails are embedded ... so email client software like MS Outlook will display the images
immediately without user intervention.
There are a few key changes to the SPAW2 and CKEditor configuration if a user wants to use those. They are documented at in the installation
notes.
Again, many thanks for your persistence.
Andy
|
|
|