Jump to content

Nathan Explosion

Clients
  • Posts

    6,990
  • Joined

  • Days Won

    127

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by Nathan Explosion

  1. If you are self-hosted, change your cookie prefix - immediately renders existing cookies useless.

    COOKIE_PREFIX

    If you currently have a constants.php file and have that defined in it, change it.

    If you currently have a constants.php file and do not have that defined in it, or you do not currently have a constants.php file then currently the prefix would be 'ips4_' so use something different.

     

     

  2. Just testing a few things out on my live site:

    1) Unable to sign in to Marketplace via ACP

    Clicked the "Sign in to Marketplace" button, selected my account and then...

    Could contain: File, Webpage, Business Card, Paper, Text, Computer Hardware, Electronics, Hardware, Monitor, Screen

    "There was an error authenticating with the Marketplace. Please try again later or contact technical support for assistance.

    The license key is not recognised. (invalid_request)"

     

    2) Unable to update license key

    As an investigation into that above, I decided to see if my license key has changed as a result of the recent acceptance of the new terms.

    License key is the same - if I do a "Refresh license data" all appears well. But if I decide to ensure that the correct license key is used, via the 'Change license key' button then I receive the following (key removed from dialog prior to screenshot taken:

    Could contain: Page, Text

  3. It's perfectly normal - I doubt anyone has named their application "appname", and I wrongly assumed that the following hint was enough:

    Quote

    appname = the names of the non-IPS folders for applications you have installed

    Look at the folders under /applications....they are the folders for the applications you have installed, figure out the non-IPS ones (which are forums/blog/cms/core/nexus/commerce/downloads/calendar/convert/gallery)

  4. If you want a quick and easy way of figuring it out...

    You're self-hosted so therefore can use FTP.

    1. Download the /applications/appname and the /plugins folder to your PC (appname = the names of the non-IPS folders for applications you have installed)
    2. Using a text editor such as Notepad++, do a "Find in files"
    3. Use getItemsWithPermission as your search term
    4. Search away

    There ya go - found one, contact the author after ensuring you are already running the latest version of that resource.

  5. Steps to reproduce:

    1. Install a new instance of the suite
    2. Put dev tools in place
    3. Enable IN_DEV
    4. Go to the Developer Center for 'System'
    5. In Modules - Front, expand the 'Referral' row
    6. Result is error below:
    UnexpectedValueException: DirectoryIterator::__construct(C:\wamp64\www\dev\ips_47_dev_b/applications/core/modules/front/referral): The system cannot find the file specifi (code: 2) (0)
    #0 C:\wamp64\www\dev\ips_47_dev_b\applications\core\modules\admin\applications\developer.php(290): DirectoryIterator->__construct('C:\\wamp64\\www\\d...')
    #1 C:\wamp64\www\dev\ips_47_dev_b\system\Helpers\Tree\Tree.php(135): IPS\core\modules\admin\applications\_developer->IPS\core\modules\admin\applications\{closure}('referral')
    #2 C:\wamp64\www\dev\ips_47_dev_b\system\Theme\Theme.php(4628) : eval()'d code(187): IPS\Helpers\Tree\_Tree->__toString()
    #3 C:\wamp64\www\dev\ips_47_dev_b\system\Theme\Dev\Template.php(171): IPS\Theme\theme_core_admin_global_tabs(Array, 'modules-front', Object(IPS\Helpers\Tree\Tree), Object(IPS\Http\Url\Internal))
    #4 C:\wamp64\www\dev\ips_47_dev_b\applications\core\modules\admin\applications\developer.php(150): IPS\Theme\Dev\_Template->__call('tabs', Array)
    #5 C:\wamp64\www\dev\ips_47_dev_b\system\Dispatcher\Controller.php(118): IPS\core\modules\admin\applications\_developer->manage()
    #6 C:\wamp64\www\dev\ips_47_dev_b\applications\core\modules\admin\applications\developer.php(69): IPS\Dispatcher\_Controller->execute('do')
    #7 C:\wamp64\www\dev\ips_47_dev_b\system\Dispatcher\Dispatcher.php(153): IPS\core\modules\admin\applications\_developer->execute()
    #8 C:\wamp64\www\dev\ips_47_dev_b\admin\index.php(13): IPS\_Dispatcher->run()
    #9 {main}

    Cause: there is no referral directory for that front module

    Could contain: Page, Text, Chart, Plot

     

  6. 1 minute ago, Kirill N said:

    /admin/upgrade gives me a blank page with any PHP version, including 8.1.

    In that case, you need to ensure that your PHP 8.1 installation meets the requirements. Download the following, upload it to the root of your IPS install and run it in the browser, correcting any flagged issues (most common one is that the SQL extensions aren't enabled)

     

  7. 3 minutes ago, Kirill N said:

    I believe it has to do with the PHP version

    Correct - you need to switch to PHP 8.0 or 8.1, but not 8.2

    3 minutes ago, Kirill N said:

    but when I switch the server to PHP 8, the site won’t load at all.

    Correct - because 4.5 doesn't support PHP 8.x

    4 minutes ago, Kirill N said:

    Any ideas on how to fix this and proceed with the upgrade?

    Leave the ACP and instead go straight to https://domain.com/admin/upgrade to begin the upgrade.

×
×
  • Create New...