Jump to content
Announcing Achievements! ×



  • Posts

  • Joined

  • Last visited

About VarunAgw

VarunAgw's Achievements See all achievements





  1. @CodingJungle Sounds great. Is it available for download? Thanks for the twig tip 🙂
  2. Hello, are there plugins related to Invision Community which add some IDE support. Functionalities I am looking for are: 1. Reformatting 2. Understanding Invision template syntax 3. Autocompletion for Invision templates
  3. I am talking about /admin area. It keep expiring the login very fast. If I take a break, I will be already logged out, and then I have to refresh all pages and open all the sub-tabs inside them (like multiple HTML templates). Is it possible to increase to timeout to perhaps a day in local dev installation?
  4. @DawPi I am talking about this statement $rootPath = \IPS\Http\Url::external( \IPS\Settings::i()->base_url )->data['path'];
  5. In ips/system/Output/Output.php::buildMetaTags() There is this statement $rootPath = \IPS\Http\Url::external( \IPS\Settings::i()->base_url )->data['path']; which is executing for every row in \IPS\Db::i()->select( '*', 'core_seo_meta' ) Turns out, we have 8000+ rows in core_seo_meta rows in database, so this statement executes 8000 times, causing ~300ms delay in response It would be better if the statement is moved out of forloop and executed only once.
  6. Just want to report the issue. ips/dev/Whoops/Exception/Inspector.php This file has this statement "xdebug_is_enabled()" https://xdebug.org/docs/upgrade_guide According to the docs, the function is removed now. Would be nice if IPS also update it's code now.
  7. @bfarber I have tried that, but still JS resources doesn't load in production when upgraded.
  8. Here is my problem. sitemap generator task for IPS execute this function. ips/system/Sitemap/Sitemap.php:buildNextSitemap() This function has this statement $extension->getFilenames(). which points to applications\cms\extensions\core\Sitemap\Databases.php:getFilenames() But the problem is this function (Databases.php:getFilenames()) never executes (I tried adding breakpoint), and IPS instead returns a old cached result of the function. As soon as I turn on dev mode, this function start executing and uncached result returns. How do I clear all the caching or regenerate the cache so that returned output of the function is latest. IPS version: v4.5.4.2 Caching method: Filesystem only (I already deleted datastore directory as well as rebooting the system, and also clearing cache in support page several times)
  9. I have this file "applications\abc\dev\js\admin\controllers\configuration\ips.configuration.form.js" which I load via $form = new Form('form', 'save', NULL, array('data-controller' => 'abc.admin.configuration.form')); Now I face some problems: 1. When I turn off dev mode, the file doesn't load at all. 2. Sometime it loads, but it keep showing the old cached version. 3. I compile it and then create a new version. After that, I upgrade the production with the new archive. But production doesn't load the JS at all. I have to enable dev mode in production, compile JS, and clear cache in support page several times, and then it works. How to fix this strange behavior?
  10. If there is an update to it, please do let me know. I am curious if I am doing something wrong.
  11. \applications\cms\sources\Databases\Databases.php:hasReciprocalLinking($databaseId) if ( $data['database'] == $databaseId and $data['crosslink'] ) This line in hasReciprocalLinking() method throws notice error for me. 14 => array (size=7) 0 => array (size=1) 'database' => string '10' (length=2) 1 => array (size=1) 'database' => string '12' (length=2) 2 => array (size=1) 'database' => string '12' (length=2) 3 => array (size=1) 'database' => string '7' (length=1) 4 => array (size=1) 'database' => string '26' (length=2) 5 => array (size=1) 'database' => string '13' (length=2) 6 => array (size=1) 'database' => string '13' (length=2) 15 => array (size=1) 0 => array (size=1) 'database' => string '13' (length=2) 16 => array (size=4) 0 => array (size=1) 'database' => string '7' (length=1) 1 => array (size=2) 'database' => string '16' (length=2) 'crosslink' => boolean true 2 => array (size=2) 'database' => string '16' (length=2) 'crosslink' => boolean true 3 => array (size=1) 'database' => string '9' (length=1) 17 => array (size=3) 0 => array (size=1) 'database' => string '16' (length=2) That's how the $values object looks like. Note when crosslink is false, it's not set to false by IPS in $values, instead the crosslink key is removed from the array, which causes `if ( $data['database'] == $databaseId and $data['crosslink'] )` to throw a notice.
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy