Test is Succesfull but Uninstall is Not

Started by Elmacik, October 28, 2005, 03:56:52 AM

Previous topic - Next topic

Elmacik

I newly wrote a mod,
I tested it with 1.1 beta 3 and 1.1 rc 1. No problem in these. I did several actions and all were succesfull.
But when it came to 1.0.5, it didnt uninstall.
Installation was succesfull, and the mod works well. Unintallation tests are succesfull, but when I click, Continue (to uninstall)
it comes up with this:

2: unlink(Upload.php) [<a href='function.unlink'>function.unlink</a>]: No such file or directory
Dosya: G:\PHP\xampp\htdocs\smf\Sources\Subs-Package.php
satır: 829


whats wrong with it?
Home of Elmacik

Oldiesmann

You need to specify the full path of the file you want to remove...

<remove-file name="/full/path/to/file" />

In this case, you probably want to do this:

<remove-file name="$sourcedir/Upload.php" />
Michael Eshom
Christian Metal Fans

Elmacik

Hmm.. I didnt experience this problem although I didnt specifty the full path.
I guessed this would be the case, I changed the paths like,
$sourcedir --> $boarddir/Sources

but didnt work. I will try yours, thanks ;)
note: In SMF 1.0.5, $sourcedir is not defined for package manager I think..
Home of Elmacik

Advertisement: