Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin CP link error #57

Closed
mike537 opened this issue Feb 17, 2013 · 3 comments
Closed

Admin CP link error #57

mike537 opened this issue Feb 17, 2013 · 3 comments

Comments

@mike537
Copy link

mike537 commented Feb 17, 2013

done as requested going from version 1.4.2 to 1.5 Deactivate in ACP, Overwrite previous files
and then Activated again.

Now when i try to either use the link in the configuration section of the Admin CP or the Manage sidebox link in the plugin section i get this error.

Fatal error: Call to undefined method DirectoryIterator::getExtension() in /home/*******/public_html/testforum/inc/plugins/adv_sidebox/adv_sidebox_classes.php on line 1796

WildcardSearch pushed a commit that referenced this issue Feb 17, 2013
In PHP 5.3.6 and older, DirectoryIterator::getExtension() is broken. Replaced with pathinfo()
@WildcardSearch
Copy link
Owner

Apparently you are using a version of PHP older than 5.3.6

http://www.php.net/ChangeLog-5.php#5.3.6

I hadn't considered that so I am dropping back to using pathinfo()

Should clear up the problem. Please let me know.

@mike537
Copy link
Author

mike537 commented Feb 17, 2013

PHP version host using is 5.3.5

But the fix has sorted the problem out Wildcard, previous versions of the Sidebox plugin have been used without any problems as mentioned on the MyBB forum .

Many thanks for sorting out this problem, going to update this plugin on our main forum tomorrow, it gets better every time.

Michael

@WildcardSearch
Copy link
Owner

Thanks for your kind words.

I hadn't realized that DirectoryIterator was that new.

Will close this now.

Cheers 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants