DennisSkov
Active member
Oh well, too late
Good Morningi have a question for the add on if it is at all possible, limit the notifications to only show if the user has the site open.
This issue was posted by RoldanLT where an exception is thrown when the 'unread' alert count is set a negative value which occurred while marking an alert read.
I didn't get you, sorry.Is it possible to realise that this alerts only will be shown when the user is present in the forum, like the core alerts?
Looks like the uninstall process didn't get executed correctly.How do I get around this?
<?php
$startTime = microtime(true);
$fileDir = dirname(__FILE__);
require($fileDir . '/library/XenForo/Autoloader.php');
XenForo_Autoloader::getInstance()->setupAutoloader($fileDir . '/library');
XenForo_Application::initialize($fileDir . '/library', $fileDir);
XenForo_Application::set('page_start_time', $startTime);
@set_time_limit(0);
$deps = new XenForo_Dependencies_Public();
$deps->preLoadData();
$i = new GFNNotify_Data_Sql_1000411();
$i->uninstall();
$i = new GFNNotify_Data_Sql_1000111();
$i->uninstall();
I get this now when trying to install:Log into your AdminCP to see if there is any new server error log. If not then you can install the latest version
mkdir(): Permission denied
XenForo_Application::handlePhpError()
mkdir() in XenForo/Helper/File.php at line 72
XenForo_Helper_File::createDirectory() in GFNCore/Helper/Directory.php at line 31
GFNCore_Helper_Directory::copy() in GFNCore/Installer/Handler/Style.php at line 36
GFNCore_Installer_Handler_Style->handle() in GFNCore/Installer/Abstract.php at line 74
GFNCore_Installer_Abstract::initiate() in GFNCore/Installer/Abstract.php at line 16
GFNCore_Installer_Abstract::install()
call_user_func() in XenForo/Model/AddOn.php at line 215
XenForo_Model_AddOn->installAddOnXml() in XenForo/Model/AddOn.php at line 169
XenForo_Model_AddOn->installAddOnXmlFromFile() in XenForo/ControllerAdmin/AddOn.php at line 187
XenForo_ControllerAdmin_AddOn->actionInstall() in XenForo/FrontController.php at line 347
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
XenForo_FrontController->run() in /home/nginx/domains/sectioneighty.com/public/forum/admin.php at line 13
Thank you, that worked. Can I donate some where to show my gratitude?Upload and overwrite Style.php file inside /library/GFNCore/Installer/Handler/ directory with the attached one.
From the resource description:Thank you, that worked. Can I donate some where to show my gratitude?
P.S. If you want to support my free developments with a small (or big ) donation, please visit this link
That means the JS file is being cached. If you are using CloudFlare you might want to purge the cache from there...hmmm i installed the update but clicking the pop up dont mark the alert read
hmmm i just cleared the cache in my browser and it workedThat means the JS file is being cached. If you are using CloudFlare you might want to purge the cache from there...
I get this now when trying to install:
Code:mkdir(): Permission denied XenForo_Application::handlePhpError() mkdir() in XenForo/Helper/File.php at line 72 XenForo_Helper_File::createDirectory() in GFNCore/Helper/Directory.php at line 31 GFNCore_Helper_Directory::copy() in GFNCore/Installer/Handler/Style.php at line 36 GFNCore_Installer_Handler_Style->handle() in GFNCore/Installer/Abstract.php at line 74 GFNCore_Installer_Abstract::initiate() in GFNCore/Installer/Abstract.php at line 16 GFNCore_Installer_Abstract::install() call_user_func() in XenForo/Model/AddOn.php at line 215 XenForo_Model_AddOn->installAddOnXml() in XenForo/Model/AddOn.php at line 169 XenForo_Model_AddOn->installAddOnXmlFromFile() in XenForo/ControllerAdmin/AddOn.php at line 187 XenForo_ControllerAdmin_AddOn->actionInstall() in XenForo/FrontController.php at line 347 XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134 XenForo_FrontController->run() in /home/nginx/domains/sectioneighty.com/public/forum/admin.php at line 13
For the record, I just tried updating to 1.0.6 as well, and I had this exact same issue. The file you patched it with worked perfectly and now I am upgraded and running.Upload and overwrite Style.php file inside /library/GFNCore/Installer/Handler/ directory with the attached one.
Server Error Log
Error Info
ErrorException: mkdir(): Permission denied - library/XenForo/Helper/File.php:72
Generated By: jflory7, 1 minute ago
Stack Trace
#0 [internal function]: XenForo_Application::handlePhpError(2, 'mkdir(): Permis...', '/var/www/crysta...', 72, Array)
#1 /var/www/crystalcraftmc.com/public_html/library/XenForo/Helper/File.php(72): mkdir('/var/www/crysta...')
#2 /var/www/crystalcraftmc.com/public_html/library/GFNCore/Helper/Directory.php(31): XenForo_Helper_File::createDirectory('/var/www/crysta...', false)
#3 /var/www/crystalcraftmc.com/public_html/library/GFNCore/Installer/Handler/Style.php(38): GFNCore_Helper_Directory::copy('/var/www/crysta...', '/var/www/crysta...')
#4 /var/www/crystalcraftmc.com/public_html/library/GFNCore/Installer/Abstract.php(74): GFNCore_Installer_Handler_Style->handle('GFNNotify')
#5 /var/www/crystalcraftmc.com/public_html/library/GFNCore/Installer/Abstract.php(16): GFNCore_Installer_Abstract::initiate('install', Array)
#6 [internal function]: GFNCore_Installer_Abstract::install(Array, Array, Object(SimpleXMLElement))
#7 /var/www/crystalcraftmc.com/public_html/library/XenForo/Model/AddOn.php(215): call_user_func(Array, Array, Array, Object(SimpleXMLElement))
#8 /var/www/crystalcraftmc.com/public_html/library/XenForo/Model/AddOn.php(169): XenForo_Model_AddOn->installAddOnXml(Object(SimpleXMLElement), 'GFNNotify')
#9 /var/www/crystalcraftmc.com/public_html/library/XenForo/ControllerAdmin/AddOn.php(236): XenForo_Model_AddOn->installAddOnXmlFromFile('/tmp/phpBiO6Qh', 'GFNNotify')
#10 /var/www/crystalcraftmc.com/public_html/library/XenForo/FrontController.php(347): XenForo_ControllerAdmin_AddOn->actionUpgrade()
#11 /var/www/crystalcraftmc.com/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#12 /var/www/crystalcraftmc.com/public_html/admin.php(13): XenForo_FrontController->run()
#13 {main}
Request State
array(3) {
["url"] => string(61) "http://crystalcraftmc.com/admin.php?add-ons/GFNNotify/upgrade"
["_GET"] => array(1) {
["add-ons/GFNNotify/upgrade"] => string(0) ""
}
["_POST"] => array(3) {
["server_file"] => string(0) ""
["_xfConfirm"] => string(1) "1"
["_xfToken"] => string(8) "********"
}
}
Wow, Another Centminmod userI get this now when trying to install:
Code:mkdir(): Permission denied XenForo_Application::handlePhpError() mkdir() in XenForo/Helper/File.php at line 72 XenForo_Helper_File::createDirectory() in GFNCore/Helper/Directory.php at line 31 GFNCore_Helper_Directory::copy() in GFNCore/Installer/Handler/Style.php at line 36 GFNCore_Installer_Handler_Style->handle() in GFNCore/Installer/Abstract.php at line 74 GFNCore_Installer_Abstract::initiate() in GFNCore/Installer/Abstract.php at line 16 GFNCore_Installer_Abstract::install() call_user_func() in XenForo/Model/AddOn.php at line 215 XenForo_Model_AddOn->installAddOnXml() in XenForo/Model/AddOn.php at line 169 XenForo_Model_AddOn->installAddOnXmlFromFile() in XenForo/ControllerAdmin/AddOn.php at line 187 XenForo_ControllerAdmin_AddOn->actionInstall() in XenForo/FrontController.php at line 347 XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134 XenForo_FrontController->run() in /home/nginx/domains/sectioneighty.com/public/forum/admin.php at line 13
Yeah... I'll push the fix soon.You may want to release the fix in XenForo because I imagine if two people had the issue, there are more as well.
Yeah, the error will still be logged. That's because the style directory shouldn't be read only so you might want to check the permissions...Edit: Still threw a server error, but it worked.
This version fixes an issue with a core file (and some other code refactoring).
We use essential cookies to make this site work, and optional cookies to enhance your experience.