Nathan Explosion

+Clients
  • Content count

    212
  • Joined

  • Last visited


About Nathan Explosion

Nathan Explosion's Activity

  1. Nathan Explosion added a post in a topic: Feedback: Suggestions To Cater For Multilingual Sites   

    Test against this instead maybe?
    \IPS\Member::loggedIn()->language()->bcp47() Found that in one of the templates.
    Throw this at the top of your page to check what is being output for the language:
    {expression="\IPS\Member::loggedIn()->language()->bcp47()"}  
  2. Nathan Explosion added a bug in Bug Tracker   

    [RC5] "lang_not_exists____indefart_content_db_lang_sl" during upgrade from 3.4.7
    error log displays following:
    ------------------------------------------------------------------------ Fri, 13 Mar 2015 09:25:10 +0000 (Severity: 3) 188.223.75.119 - http://test.ynwa.tv/admin/upgrade/?controller=upgrade&key=06026e70299face855e210867911d69f&mr=%7B%220%22%3A%221%22%2C%221%22%3A%22cms%22%2C%22extra%22%3A%7B%22_current%22%3A%22100018%22%2C%22_upgradeStep%22%3A1%2C%22lastSqlId%22%3A0%7D%7D&mr_error=1 (Upgrader step1) lang_not_exists____indefart_content_db_lang_sl ------------------------------------------------------------------------ Fri, 13 Mar 2015 09:25:10 +0000 (Severity: 3) 188.223.75.119 - http://test.ynwa.tv/admin/upgrade/?controller=upgrade&key=06026e70299face855e210867911d69f&mr=%7B%220%22%3A%221%22%2C%221%22%3A%22cms%22%2C%22extra%22%3A%7B%22_current%22%3A%22100018%22%2C%22_upgradeStep%22%3A1%2C%22lastSqlId%22%3A0%7D%7D&mr_error=1 Error : lang_not_exists____indefart_content_db_lang_sl #0 /var/www/vhosts/ynwa.tv/test.ynwa.tv/applications/cms/setup/upg_100018/upgrade.php(40): IPS\_Lang->get('__indefart_cont...') #1 /var/www/vhosts/ynwa.tv/test.ynwa.tv/applications/core/sources/Setup/Upgrade.php(407): IPS\cms\setup\upg_100018\_Upgrade->step1() #2 [internal function]: IPS\core\Setup\_Upgrade->step1(Array) #3 /var/www/vhosts/ynwa.tv/test.ynwa.tv/applications/core/sources/Setup/Upgrade.php(146): call_user_func(Array, Array) #4 /var/www/vhosts/ynwa.tv/test.ynwa.tv/applications/core/modules/setup/upgrade/upgrade.php(48): IPS\core\Setup\_Upgrade->process(Array) #5 [internal function]: IPS\core\modules\setup\upgrade\_upgrade->IPS\core\modules\setup\upgrade\{closure}(Array) #6 /var/www/vhosts/ynwa.tv/test.ynwa.tv/system/Helpers/MultipleRedirect/MultipleRedirect.php(71): call_user_func(Object(Closure), Array) #7 /var/www/vhosts/ynwa.tv/test.ynwa.tv/applications/core/modules/setup/upgrade/upgrade.php(109): IPS\Helpers\_MultipleRedirect->__construct(Object(IPS\Http\Url), Object(Closure), Object(Closure)) #8 /var/www/vhosts/ynwa.tv/test.ynwa.tv/system/Dispatcher/Controller.php(94): IPS\core\modules\setup\upgrade\_upgrade->manage() #9 /var/www/vhosts/ynwa.tv/test.ynwa.tv/system/Dispatcher/Setup.php(217): IPS\Dispatcher\_Controller->execute() #10 /var/www/vhosts/ynwa.tv/test.ynwa.tv/admin/upgrade/index.php(19): IPS\Dispatcher\_Setup->run() #11 {main} ------------------------------------------------------------------------  
    • 2 replies
    • 53 views
  3. Nathan Explosion added a post in a topic: Upgrade from IP. 3.4.x to IPS4.0 (updated)   

    As you said, you went to your site.
    Go to /admin/upgrade first instead.
  4. Nathan Explosion added a comment: [RC3] "Rebuilding posts" task appears to have crashed out   

    @Charles - I'm going to be running through another upgrade in a short while and I've got a possible theory on why this may be happening, which I'll expand on IF the rebuild completes successfully. I'll also set things up so that I can easily switch back to a pre-upgrade forum quickly for further testing.
  5. Nathan Explosion added a post in a topic: Community Competition to Name the new Stream   

    "What's going on?"
  6. Nathan Explosion added a bug in Bug Tracker   

    [RC3] "Rebuilding posts" task appears to have crashed out
    Spotted this on my last test upgrade to RC3 but wasn't 100% sure so ran through another test upgrade today to be sure. All went through fine with upgrade and tasks began processing via CRON - "Rebuilding posts" got to about 6% and then disappeared from the list of tasks in the dashboard. End result: I've got loads of posts to be rebuilt (all good fun in a thread littered with spoiler tags hehe)
    Is there any logging built into the tasks that can be used to track progress so we can check whether an issue has indeed occurred? In addition, any possible way of kicking off that task again?
    • 6 replies
    • 88 views
  7. Nathan Explosion added a post in a topic: Upgrade from IP. 3.4.x to IPS4.0 (updated)   

    A little tip regarding the setting up of the CRON job to handle the tasks for rebuilding - I upgraded my 3.4.7 test site, containing ~56,000 topics/2,600,000 posts, to RC3 on Wednesday and calculated out that the rebuilding tasks would take close to 72 hours to complete even with the CRON job set to every 1 minute (was seeing only a .02% increase every minute for the posts rebuild)
     
    The smallest interval that a CRON job can run at is every 1 minute - but there is a way to go lower: sleep xx; (where xx is the number of seconds to wait before running the command after the ; )
    I have 3 CRON jobs now set up to run the tasks, each every minute - first one is as presented by IPS when viewing the CRON options within the ACP , but the other two have sleep 20; and sleep 40; added prior to the same command.
    Result: the task processing was down to every 20 seconds, and I started seeing a .05%/.06% increase every minute for the posts rebuild as a result. So if you are in a position to know that running faster than a minute will not impact your hosting, then give it a try.
    Note: once the rebuild is complete, no real need to keep the extra 2 so just revert back to having the 1 running every minute.
  8. Nathan Explosion added a bug in Bug Tracker   

    [RC1] "preg_split(): Compilation failed: invalid UTF-8 string at offset 300" during upgrade from 3.4.7
    This occurs at step #18 - upgrade logs indicate:
     
    • 4 replies
    • 79 views
  9. Nathan Explosion added a comment: [Beta 8 ] Allowed to make blank post   

    In 3.4 (and earlier) you get a "Your post is empty" prompt, and it is not possible to post an empty post - so, yep you can prevent users posting blank posts (and it presents this if only a space is entered too)
    Good news - when I was implementing CKEDITOR in another site, this was an issue and it is possible to check upon submission using the getText() function in the ckeditor API. It strips the html from the content and checks if it does contain actual text. So away with the issue of a blank post as the <p></p> is covered. But what if someone enters a space - simple use jquery .trim function.
  10. Nathan Explosion added a bug in Bug Tracker   

    [Beta 8] "json_encode(): Invalid UTF-8 sequence in argument" during upgrade from 3.4.7
    Running a test upgrade of site from 3.4.7 to 4.0.0 Beta 8 utf8convert was run prior to upgrade, using the cli.php method. No errors experienced. Upgrade proceeds until following error displayed...
    latest_upgrade_error.cgi log file displays the following:
    Wed, 11 Feb 2015 16:38:27 +0000 (Severity: 3) 188.223.72.254 - http://test.ynwa.tv/admin/upgrade/?controller=upgrade&key=db1e2e179945ffb020dfdcd745560a31&mr={%220%22:%221%22,%221%22:%22core%22,%22extra%22:{%22lastSqlId%22:%220%22,%22_current%22:%2240000%22,%22_upgradeData%22:%22eyJsaW1pdCI6MCwic3RlcCI6InBvbGxzIn0=%22,%22_upgradeStep%22:%2214%22}}&mr_error=1 Error : json_encode(): Invalid UTF-8 sequence in argument #0 /var/www/vhosts/ynwa.tv/test.ynwa.tv/applications/core/modules/setup/upgrade/upgrade.php(48): IPS\core\Setup\_Upgrade->process(Array) #1 [internal function]: IPS\core\modules\setup\upgrade\_upgrade->IPS\core\modules\setup\upgrade\{closure}(Array) #2 /var/www/vhosts/ynwa.tv/test.ynwa.tv/system/Helpers/MultipleRedirect/MultipleRedirect.php(71): call_user_func(Object(Closure), Array) #3 /var/www/vhosts/ynwa.tv/test.ynwa.tv/applications/core/modules/setup/upgrade/upgrade.php(113): IPS\Helpers\_MultipleRedirect->__construct(Object(IPS\Http\Url), Object(Closure), Object(Closure)) #4 /var/www/vhosts/ynwa.tv/test.ynwa.tv/system/Dispatcher/Controller.php(94): IPS\core\modules\setup\upgrade\_upgrade->manage() #5 /var/www/vhosts/ynwa.tv/test.ynwa.tv/system/Dispatcher/Setup.php(210): IPS\Dispatcher\_Controller->execute() #6 /var/www/vhosts/ynwa.tv/test.ynwa.tv/admin/upgrade/index.php(19): IPS\Dispatcher\_Setup->run() #7 {main} ------------------------------------------------------------------------ Happy to provide any further data required - just let me know.
    • 4 replies
    • 140 views
  11. Nathan Explosion added a post in a topic: PageSpeed Insights -Going to Improve?   

    Yup.
  12. Nathan Explosion added a post in a topic: Must be doing something wrong   

    Your css/js references in your source are receiving a 500 Internal Server Error response.
    http://fmforums.net/forum/uploads/javascript_global/root_library.js.9adb7df5f1077f2e24eee0f0aff6d322.js?v=df898c0322070ba85672d8fbac929c54

Status Feed