advice on moving MLM to a new sever & subscription confirms

SAW

Member
Re: move MLM to new server
We need to move our long-time-running MLM running MySQL database to a completely new server (with a new host.)

What is your advise, or tips, on the best way to do this.

Is it as simple as:

1) copy files over
2) copy the MySQL database over
3) update the lm_settings.php to reflect the new server settings
4) CHMOD the 'lm' folder to 777 (or 775, 755 or 705)

Re: most current version of MLM
I am also thinking of upgrading from Maxprog List Manager 3.1.6 to 3.1.7.
But I am unsure of which specific files to replace (and which ones to leave intact.)

Is the most current version Maxprog List Manager 3.1.7 ?
If not, can you please aim me towards the most recent stand alone download link. Thanks!

I will also need to be reminded of which files to write over - and which files to *avoid* writing over with my FTP program. :D

We are running the MLM on a MySQL database.


Re: Unsubscription Confirmation emails
Also, regarding the Unsubscription Confirmation emails - are those email sent via a MBM MLM Mail Server? Or do those somehow go out from our Server MySQL database?

The lm_setting.php file just has standard From & Signature, but it does not have outgoing server settings (so far as I can see.)

Here is the intel from the long header:

Code:
Received: from mail-yw0-f198.google.com (mail-yw0-f198.google.com [209.85.161.198])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))...

Received: from iad1-shared-relay1.dreamhost.com (iad1-shared-relay1.dreamhost.com. [208.113.157.50])...
it looks like the emails go from:
Code:
signature.dreamhost.com  —>  iad1-shared-relay1.dreamhost.com  —>  mx.google.com
Please advise.


Re: error when resubscribing
When I click the link resubscribe:
“If you wish to subscribe again in the future, please click on the following link (or copy and paste it to your browser):”
Code:
http://clients.saw-art.com/mbmmlm/lm/lm.php?cmd=subscribe&list=&email=stephen@saw-art.com&lang=en
I always get this error:
Error - You forgot to provide the list name parameter: &list=listname

Even when I am sure that the email was sent from a remote List on MLM.

Is there a specific file I need to replace on the MLM server?

This has been a long time problem we have never been able to fix.

I think we have had MLM running since 2010. :)
And only replace certain files when a new MLM update comes out.

Maybe there is an important file we have missed updating ??

Any ideas as to why we still get this error now (and for all these years.)

Would love to sort all this out.

We are doing everything we can to have MBM & MLM operate to their highest potential!

Thank you for all your help, Stan, as we fine tune! :D
 

stanbusk

Administrator
Staff member
Re: advice on moving MLM to a new sever & subscription confi

I am abroad in a country try with a very bad internet connection so I will be fast, I can give you better answers next Wednesday when back to the office.

Yes, moving MLM is just a matter of moving the database and the LM folder. You may have to update the lm_settings.php file with your new mySQL server data.

If you update to new MLM you can overwrite all files but remember that lm_settings.php contains your settings and if you modified lm_prefs.php your will have to update it again. The lm folder privileges depends sometimes on the server.

The lm_prefs.php file is the one that contains SMTP server data. This is only to use when default PHP mail() doesn't work well.

About the resubscribe error you get, it looks like you send a message without selecting a list first, is that possible?

--
Follow maxprog.com on Facebook | Google+ | Linkedin | Twitter | YouTube
and keep up-to-date with the latest Max Programming updates!
 

SAW

Member
Re: advice on moving MLM to a new sever & subscription confi

Stan, thank you for writing when were away on vacation. :p

Does MLM support php 7 yet?

I get this error in php 7:

PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in lm_functions.php:2198

Thank you & welcome back!
 

stanbusk

Administrator
Staff member
Re: advice on moving MLM to a new sever & subscription confi

Thanks!

About the error you get, you just need to use very last MLM version which use 'mysqli' libraries rather than 'mysql', the error will then go away.

--
Follow maxprog.com on Facebook | Google+ | Linkedin | Twitter | YouTube
and keep up-to-date with the latest Max Programming updates!
 

SAW

Member
Re: advice on moving MLM to a new sever & subscription confi

Great. :D

Can you please tell which exact files to replace?

I have MLM inside the MBM 8.6 folder.

Should I replace every single MLM file
except for —> lm_settings.php ?

Thx!
 

SAW

Member
Re: advice on moving MLM to a new sever & subscription confi

perfect. thanks of the detailed instruction.
 
Top