can't delete "by delivery/index.html" file from my server

insomnia

New Member
Hi Stan,

Sill on my mlm vs server problem... Trying to solve this, I tried to delete the lm folder from my server to reinstall everything clean. But surprisingly, I have an error message when I attempt to do it :

Impossible de supprimer le fichier /httpdocs//var/www/vhosts/insomnia-sales.com/httpdocs/lm: filemng failed: rm: cannot remove `/var/www/vhosts/insomnia-sales.com/httpdocs/lm/lists/index.html': Permission denied

It seems that the index.html can't be deleted as the permissions are owned by Apache.

Is there a way to solve this fastly ?

Thanks.
Luc[
 

stanbusk

Administrator
Staff member
Re: can't delete "by delivery/index.html" file from my serve

Yes, using the 'Uninstall' command this way:
Code:
lm.php?cmd=uninstall&pwd=password
This command allows the administrator (you) to remove all the folders and files created by MLM. Be careful, in the case you are using mySQL, it will also remove the list table from the database! The Uninstall command restore MLM back to its initial state. Note that deleted lists are not recoverable.
 

insomnia

New Member
Re: can't delete "by delivery/index.html" file from my serve

Hi Stan,

Where must I run this command ?
In my ftp tool application or in MBM ?

Thanks.
 

stanbusk

Administrator
Staff member
Re: can't delete "by delivery/index.html" file from my serve

You have to run this command in a web browser.
 

stanbusk

Administrator
Staff member
Re: can't delete "by delivery/index.html" file from my serve

Have you tried to deleted the files manually?
 

insomnia

New Member
Re: can't delete "by delivery/index.html" file from my serve

Yes but I still and always have the below error message :

And whatever I tried manually or with your command, it always ends with this message.
 

stanbusk

Administrator
Staff member
Re: can't delete "by delivery/index.html" file from my serve

What version of MLM was installed?
 

stanbusk

Administrator
Staff member
Re: can't delete "by delivery/index.html" file from my serve

I mean MLM, MLM version is inside the lm.php file
 

insomnia

New Member
Re: can't delete "by delivery/index.html" file from my serve

Sorry... it's MLM v.2.2.3 that was previously installed.

Luc
 

stanbusk

Administrator
Staff member
Re: can't delete "by delivery/index.html" file from my serve

Create a plain text file and paste the following:
Code:
<?php

include( 'lm_prefs.php' );
include( 'lm_functions.php' );

DeleteAllFilesFromDir( $path_to_lists );
DeleteAllFilesFromDir( $path_to_offlists );
DeleteAllFilesFromDir( $path_to_traffic );
DeleteAllFilesFromDir( $path_by_delivery );
DeleteAllFilesFromDir( $path_by_recipient );
DeleteAllFilesFromDir( $path_to_uploads );
DeleteAllFilesFromDir( $path_to_imports );
DeleteAllFilesFromDir( $path_to_requests );
DeleteAllFilesFromDir( $path_to_sqlqueue );
DeleteAllFilesFromDir( $path_to_mailqueue );
DeleteAllFilesFromDir( $path_to_templates );

?>
Name that file for example lm_del.php and upload it to the 'lm' folder. Then launch it with your browser.
 
Top