Jump to content

soap_box

Clients
  • Joined

  • Last visited

  1. Sorry, resolved this, the issue that I forgot I changed during the test, was that I have a custom admin URL defined in constants.php and a custom admin folder. Renamed my folder back before I started, overwrote it, and commented out the definition.
  2. I'm on php 8.1, a fresh copy of the old files, with the zip file contents uploaded (with "include converters" checked) and the permissions for `/datastore` set to writeable. Also checked the ips4 file to confirm all green ticks. (Tried to put this in an edit but, short timer!)
  3. When I followed these steps in a test, everything went fairly smoothly in the end. However now I've come to do it for real, and I'm hitting this error when I go to the ugprade path: Too few arguments to function IPS\Theme\theme_forms_core_setup_login(), 1 passed in /var/www/(...)/public_html/system/Theme/Dev/Template.php on line 171 and exactly 2 expected The only difference I can think of between the two attempts is that 1) this time the forum was switched off before I started and 2) perhaps last time I was already logged in before I changed from php 7.4 to 8.1 and this time I wasn't
  4. Thanks again for your help, it went mostly smoothly from there. The only issue I ran into was this: Out of range value for column 'achievements_points' at row 1222 /var/www/mysite.com/public_html/applications/core/setup/upg_106100/upgrade.php::351 UPDATE core_members core_members SET achievements_points=member_posts Not sure why it would be out of range as the highest member_posts value was only ~40k I had to comment out this line to proceed in the end, and will maybe deal with setting achievements_points later if it's necessary
  5.    soap_box reacted to a post in a topic: Upgrade path from a very old version?
  6. Ahh thanks, in my defence I had downloaded the file days ago so that little tickbox was no longer in my head 🫣
  7. Thank you for this. I got as far as step 7 fairly smoothly. However, it is now telling me that I don't have all the updated versions of the files in the /applications/convert/ directory. Sure enough, the zip file I have downloaded from the client area does not even contain this directory. Could I have downloaded from the wrong place? (Client Area > Manage this purchase > Download Invision Community) ?
  8.    soap_box reacted to a post in a topic: Upgrade path from a very old version?
  9. Hello I have inherited an old hosted version of Invision - 4.2.6 I'm trying to upgrade to the latest version. The problem I have is that the site/upgrade tool won't run on a version of php higher than 7.4, but the upgrade process won't run on a version lower than 8.0. It's trivial for me to switch versions of PHP but I can't proceed on the upgrade tool with either version Is my only option to start with a fresh copy of the files and try and migrate content?
  10. soap_box replied to Pete T's post in a topic in Marketplace
    I didn't need the require or the front-end session, in fact they crashed my page, but getting the logged in user with $member = \IPS\Member::loggedIn(); worked great for me. I then solved the problem I mentioned above using $member->inGroup();
  11. soap_box replied to Pete T's post in a topic in Marketplace
    This widget is great for me, the only problem I have is that "groups who can see this", behaves differently to the way it does on advertisements (native invision) If I have a member who is in group A and group B, and I decide to hide show adverts to everyone except group B, they are hidden from that member. However, if I do the same for TXT & PHP Widget, the member will still be able to see the widget, because he is in Group A. Logically your way makes the most sense compared to the description of the field, but it's less useful in my experience.