v13.4 PHP Warning message after insert or delete

eugenio

Administrator
Staff member
With user entities enabled ($enable_user_entities = 1, as it is by default), adding or deleting a record from a table that is not defined as user entity table generates a PHP warning message.

This bug, which affected version 13.4, has been fixed and version 13.4 has just been silently updated.

If you downloaded v13.4 before this post, you can re-download it (your download link is still valid); if you have already installed it, you can just replace these files
/include/business_logic.php
/permissions_manager.php

Best,
 

eugenio

Administrator
Staff member
Hello,
unfortunately, the new FastSpring store does not allow re-downloading updated files as I initially thought. If you attempted to re-download v13.4, you have received the same (unpatched) ZIP file.

To obtain the patched version of v13.4, a new order must be placed depending on your case.

Recap:

1) If you placed your (free or paid) v13.4 order after Saturday, March 21 at 15:28 CET
→ You already have the patched version, no action is required.

2) If you placed your free upgrade v13.4 order before that date/time
→ Please visit: dadabik.com/upgrade and request a new download using your serial number.

3) If you placed a paid order (new license or maintenance) before that date/time
→ Please contact us and we will provide you with updated download instructions.

For cases 2 and 3, after downloading the patched version:

As mentioned in the previous post, you only need to replace the following two files:

/include/business_logic.php
/permissions_manager.php

For additional safety, I recommend verifying that the file sizes differ from the previous versions before replacing them.

I apologize for the inconvenience; thank you for your understanding!
 

dh

Well-known member
In my case, the free upgrade downloaded on March 18 came with something called a serial number, but fastspring rejected it, saying it was an order number not a serial number. To make this free download work, I had to revert to the S/N I got with my last paid upgrade in February. Incidentally this confusion was also the cause of my initial up.php crash in upgrading 12.6->13.4 (pre-patch). Initially I had changed the S/N in custom config to the March 18 one, but after the upgrade was refused, I realized I needed to revert to the S/N that came with the last paid upgrade in February.
 

eugenio

Administrator
Staff member
Hi,
free upgrades does not come with a serial number, it's impossible that a free upgrade had generated a serial number.
You get a serial number only when you buy a new license or a maintenance license.
 

dh

Well-known member
OK, I got confused on that. But the S/N that came with my last purchase (Platinum) was rejected. I needed to use the S/N from the v. 12 (Enterprise).
 

eugenio

Administrator
Staff member
A serial number from an Enterprise purchase provides the access to the latest Enterprise package, not Platinum, I recommend not to upgrade a platinum installation with the enterprise files.
Please share the rejected platinum serial via the email ticket.
 
Top