yep, does not work, actual error:
Code:
Database error in vBulletin 4.2.0:
Invalid SQL:
UPDATE pm AS pm
SET attach = (SELECT COUNT(*) FROM attachment WHERE contentid = pm.pmid AND attachment.contenttypeid = );
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 2
Error Number : 1064
Request Date : Thursday, September 6th 2012 @ 09:48:49 AM
Error Date : Thursday, September 6th 2012 @ 09:48:51 AM
Script : http://#########/admincp/plugin.php?do=productimport
Referrer : https://#########/admincp/plugin.php?do=productadd
IP Address : ###.###.###.###
Username : ########
Classname : vB_Database
MySQL Version : 5.0.95-community
the problem is, that:
vB_Types::instance()->getContentTypeId('PMAttachments_PrivateMessage' )
returns an empty value.
for everyone with that duplicate errors, thats because database fields get added to existing tables before the script breaks.
need to remove a few:
from table "pm" remove "attach" and "attachmap"
from usergroup remove "advpmpermissions"
from packages remove the entry "PMAttachments"
from contenttype remove the entry "PrivateMessage"
the productinstaller of vbulletin is unable the remove database entries when theyre duplicate, even if you choose overwrite as an option, plus the script actually breaks before putting the entry into the products manager...
ps: bitte koenntest du die titel fuer die plugins ins englische umbenennen, fuer unsere uebersee freunde;-)