WorxWare.com Support Forum

Not logged in [Login - Register]
Go To Bottom
Printable Version  
Author: Subject: installation problem
tanjilkamal
Junior Member
**




Posts: 3
Registered: 26-10-2009
Member Is Offline


[*] posted on 26-10-2009 at 07:26 PM
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?:(
View user's profile View All Posts By User
andy.prevost
Super Administrator
*********




Posts: 185
Registered: 3-7-2009
Member Is Offline


[*] posted on 26-10-2009 at 08:19 PM


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
View user's profile View All Posts By User
summitscout
Junior Member
**




Posts: 8
Registered: 26-10-2009
Location: Seattle
Member Is Offline


[*] posted on 26-10-2009 at 08:32 PM
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.
View user's profile Visit user's homepage View All Posts By User
tanjilkamal
Junior Member
**




Posts: 3
Registered: 26-10-2009
Member Is Offline


[*] posted on 27-10-2009 at 05:49 PM


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?
View user's profile View All Posts By User
tanjilkamal
Junior Member
**




Posts: 3
Registered: 26-10-2009
Member Is Offline


[*] posted on 27-10-2009 at 05:59 PM
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.
View user's profile View All Posts By User
summitscout
Junior Member
**




Posts: 8
Registered: 26-10-2009
Location: Seattle
Member Is Offline


[*] posted on 27-10-2009 at 06:20 PM


That usually means that your .htaccess file has a syntax error. Please have your webhost support help you setting up that security file.
View user's profile Visit user's homepage View All Posts By User
andy.prevost
Super Administrator
*********




Posts: 185
Registered: 3-7-2009
Member Is Offline


[*] posted on 27-10-2009 at 11:28 PM


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
View user's profile View All Posts By User
danniemite
Newbie
*




Posts: 1
Registered: 16-11-2009
Member Is Offline


[*] posted on 16-11-2009 at 01:52 PM


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
View user's profile View All Posts By User
andy.prevost
Super Administrator
*********




Posts: 185
Registered: 3-7-2009
Member Is Offline


[*] posted on 21-11-2009 at 12:58 AM


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

View user's profile View All Posts By User
David
Newbie
*




Posts: 1
Registered: 2-12-2009
Member Is Offline


[*] posted on 2-12-2009 at 09:01 PM


I don't get it...

would that be:

AuthUserFile /mysite.com/mail/_acp-ml/.htpasswd

?!?

View user's profile View All Posts By User
andy.prevost
Super Administrator
*********




Posts: 185
Registered: 3-7-2009
Member Is Offline


[*] posted on 4-12-2009 at 11:50 PM


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
View user's profile View All Posts By User
tedwilder
Junior Member
**




Posts: 5
Registered: 11-12-2009
Member Is Offline


[*] posted on 11-12-2009 at 01:57 PM


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?!
View user's profile View All Posts By User
andy.prevost
Super Administrator
*********




Posts: 185
Registered: 3-7-2009
Member Is Offline


[*] posted on 11-12-2009 at 03:52 PM


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
View user's profile View All Posts By User
tedwilder
Junior Member
**




Posts: 5
Registered: 11-12-2009
Member Is Offline


[*] posted on 11-12-2009 at 07:10 PM


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 !
View user's profile View All Posts By User
andy.prevost
Super Administrator
*********




Posts: 185
Registered: 3-7-2009
Member Is Offline


[*] posted on 11-12-2009 at 10:22 PM


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
View user's profile View All Posts By User
tedwilder
Junior Member
**




Posts: 5
Registered: 11-12-2009
Member Is Offline


[*] posted on 12-12-2009 at 03:51 AM


"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..
View user's profile View All Posts By User
andy.prevost
Super Administrator
*********




Posts: 185
Registered: 3-7-2009
Member Is Offline


[*] posted on 14-12-2009 at 03:08 AM


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
View user's profile View All Posts By User
  Go To Top
Contents Copyright © 2004-2009, Worx International Inc. All Rights Reserved.
Powered by XMB – XMB Forum Software © 2001-2009 The XMB Group