1
Sargon
Unable to delete module
  • 2008/4/29 18:25

  • Sargon

  • Just popping in

  • Posts: 21

  • Since: 2008/4/26


I have copied XMail to my module folder.
I pressed the install icon, but it didn't install well.
So I pressed again, and it again didn't installed well.
So I have 2 badly installed modules of XMail.
I have delete the XMail folder from modules.
Then I pressed uninstall but I get: "There is a problem with the page you are trying to reach and it cannot be displayed."

What should I do?

2
trabis
Re: Unable to delete module
  • 2008/4/29 18:57

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


The uninstall procedure needs the module to be present. You have to upload the files again, then uninstall, then remove the files.

3
Sargon
Re: Unable to delete module
  • 2008/4/29 20:17

  • Sargon

  • Just popping in

  • Posts: 21

  • Since: 2008/4/26


I have uploaded the file and it still doesn't work.
If I press the information button it says file not found.
The problem is that I have the module installed twice.

4
trabis
Re: Unable to delete module
  • 2008/4/29 20:28

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Quote:

Sargon wrote:
I have uploaded the file and it still doesn't work.
If I press the information button it says file not found.
The problem is that I have the module installed twice.

How did you manage to do that? hehe! Can you be more specific? What file is not found? What went wrong during the instalation?
Is theres a xoops_version.php in modules/XMail?

5
Sargon
Re: Unable to delete module
  • 2008/4/30 5:26

  • Sargon

  • Just popping in

  • Posts: 21

  • Since: 2008/4/26


Yes there is a xoops_version.php file.
Is there a way to recover?
If I have some older DBBackup file, will it fix this?
I am using XOOPS DB Backup & restore, but I dont know how to load the gzp file.
In the info or credits I get:
"Module File for Not Found"

6
trabis
Re: Unable to delete module
  • 2008/4/30 12:31

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Probably there was only the entry on the modules table that was not deleted. You need to look into your database, table "modules", and manualy delete the entry corresponding to XMail. Also check xoops_version.php to see what tables correspond to XMail. If they still exist in your database then delete them to.

7
Alex_Grey
Re: Unable to delete module
  • 2008/4/30 12:52

  • Alex_Grey

  • Just popping in

  • Posts: 43

  • Since: 2007/6/16


Quote:

trabis wrote:
Probably there was only the entry on the modules table that was not deleted. You need to look into your database, table "modules", and manualy delete the entry corresponding to XMail. Also check xoops_version.php to see what tables correspond to XMail. If they still exist in your database then delete them to.

and if you are doing this all manually. make a note of what id number is assigned to that module and remove any blocks, template data in the database, permissions for that module. but.

using modules/xmail/xoops_version.php file would be easier. I would check the database table to see what info is set for that module like the dirname to make sure it is looking in the right spot. then chceking the xoops_version.php file to see if it has an onUninstall function. and then check what files the xoops_version.php file is including (possibly a file for the admin menu, the image file). and make it load up right and you can uninstall it.
“There is nothing impossible to him who will try.” ~Alex The Great~
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

8
Sargon
Re: Unable to delete module
  • 2008/5/1 9:47

  • Sargon

  • Just popping in

  • Posts: 21

  • Since: 2008/4/26


Edit: I already managed to load the DB file.

I couldn't find any xmail entries in my sql databes.
There is a module entry, but pressing on it didn't give me any sub entries.
I also saw some other modules entries, so I thougt it should have been at the same "folder".
So I have deleted the whole public html and copied some backup I had.
Of course the modules are still there, so what I need to do now is to restore a .gzp backup file I have saved using XOOPS DB backup & restore.
How do I restore this file?
When I select restore from the backup module, I don't see any files to select in the drop down menu. (Of course I copied the backup file into the backup folder).
How do overwrite my backuped database?
I believe the best solution in these cases is to go back to your backup, so I better learn how to use this backup feature.
Please help me out. :)

9
j5171985
Re: Unable to delete module
  • 2008/5/4 1:01

  • j5171985

  • Just popping in

  • Posts: 2

  • Since: 2008/5/4 0


Hmm,

I have exact same problem with eCal module. I have successful install messages but... is not working, so, I install it again - same thing. now I have 2 eCal module showing but you can't remove them... let me know the solution(s).

Jen.

10
Sargon
Re: Unable to delete module
  • 2008/5/4 9:55

  • Sargon

  • Just popping in

  • Posts: 21

  • Since: 2008/4/26


My solution?
Simply restore your website to the last backup you made.
Luckily I made backup after installing protector and the likes, so I had less work to do from that point.

Login

Who's Online

176 user(s) are online (68 user(s) are browsing Support Forums)


Members: 0


Guests: 176


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits