SMF icon indicating copy to clipboard operation
SMF copied to clipboard

Package Manager

Open smfbigguy opened this issue 11 years ago • 26 comments

Not to sure if this has been fixed yet but I get an error when trying to install any package now. Uncaught exception or something. I will post it when I try again after I get back from supper. In any event, the package manager is not working at all.

smfbigguy avatar Apr 05 '15 19:04 smfbigguy

I guess I should also say that I just updated from github like 15 minutes ago.

smfbigguy avatar Apr 05 '15 19:04 smfbigguy

For me, the package manager works. Last Release download from 04.04.2015. I could install my chat-Mod (http://www.smfportal.de/index.php/topic,10989.msg85814.html#msg85814) install without error message.

My testboard => http://smf.wintstar.de/index.php

wintstar avatar Apr 05 '15 20:04 wintstar

Hmm, I will try again now but it doesn't seem to work for me. It could be my server. I was playing with it not to long ago and may have screwed something up.

smfbigguy avatar Apr 05 '15 20:04 smfbigguy

Oh, wait a minute...it worked for one mod. Lets try another.

smfbigguy avatar Apr 05 '15 20:04 smfbigguy

Nope got one installed and that was it. Here is part of the error:

Fatal error: Uncaught exception 'UnexpectedValueException' with message 'RecursiveDirectoryIterator::__construct

smfbigguy avatar Apr 05 '15 20:04 smfbigguy

Have you activated the Emulation Support for 2.1 Beta1? emulation

wintstar avatar Apr 05 '15 20:04 wintstar

Yes

smfbigguy avatar Apr 05 '15 20:04 smfbigguy

And what was the mod that threw the error?

margarett avatar Apr 05 '15 22:04 margarett

Faq's mod won't install neither will the downloads mod. scared to try Eh Portal, lol

smfbigguy avatar Apr 05 '15 22:04 smfbigguy

Slide tab mod installed fine.

smfbigguy avatar Apr 05 '15 22:04 smfbigguy

Faq's mod won't install neither will the downloads mod

Both from the mod site?

On Sun, Apr 5, 2015 at 3:27 PM, Bigguy [email protected] wrote:

Slide tab mod installed fine.

— Reply to this email directly or view it on GitHub https://github.com/SimpleMachines/SMF2.1/issues/2816#issuecomment-89865420 .

live627 avatar Apr 05 '15 23:04 live627

The slide tab mod is from my site. Not yet submitted to the mod site. Faq's mod from Suki Oddly enough Suki helped make my slide tab mod if I recall right and it will install fine but the Faq's mod wont.

smfbigguy avatar Apr 06 '15 00:04 smfbigguy

The error I get quotes this line as what is messing it up:

Subs-Package.php on line 2992

smfbigguy avatar Apr 06 '15 00:04 smfbigguy

Line 2989 to line 2995

foreach ($dirs as $dir => $dest)
{
    $iter = new RecursiveIteratorIterator(
        new RecursiveDirectoryIterator($dir, RecursiveDirectoryIterator::SKIP_DOTS),
        RecursiveIteratorIterator::SELF_FIRST,
        RecursiveIteratorIterator::CATCH_GET_CHILD // Ignore "Permission denied"
    );

smfbigguy avatar Apr 06 '15 00:04 smfbigguy

Ah, it's related to the package backups.

live627 avatar Apr 06 '15 00:04 live627

Please remove

 RecursiveIteratorIterator::SELF_FIRST,

and report back.

live627 avatar Apr 06 '15 00:04 live627

That seems to have worked. I can now install mods.

smfbigguy avatar Apr 06 '15 00:04 smfbigguy

One more thing, than I can hopefully stop using you as a guinea pig for this issues.

Can you insert this code exactly where you removed thee previous line?

RecursiveIteratorIterator::SELF_FIRST,

On Sun, Apr 5, 2015 at 5:36 PM, Bigguy [email protected] wrote:

That seems to have worked. I can now install mods.

— Reply to this email directly or view it on GitHub https://github.com/SimpleMachines/SMF2.1/issues/2816#issuecomment-89873935 .

live627 avatar Apr 06 '15 01:04 live627

I can but thats the same line I took out is it not ??

smfbigguy avatar Apr 06 '15 01:04 smfbigguy

It works.

smfbigguy avatar Apr 06 '15 01:04 smfbigguy