WildcardSearch / Advanced-Sidebox

A plugin for MyBB forums that displays custom boxes on various forum pages.
GNU General Public License v3.0
20 stars 10 forks source link

Admin CP link error #57

Closed mike537 closed 11 years ago

mike537 commented 11 years ago

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 commented 11 years ago

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 commented 11 years ago

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 commented 11 years ago

Thanks for your kind words.

I hadn't realized that DirectoryIterator was that new.

Will close this now.

Cheers :smile: