• Support will be limited until May 1st, as I will be out of the office travelling. Thank you for your patience and understanding.
Status
Not open for further replies.

craigoflazer

Customer
Manage Criteria -> Change -> Field "Posts" to "Points" -> Save -> Error:

Fatal error: Cannot pass parameter 2 by reference in /usr/local/apache/htdocs/board/dbtech/vbactivity/includes/class_dm_condition.php on line 133
 
I put up a hotfix for Pro customers which should fix this, if you re-download and re-upload it should be fixed :)
 
Thank you for fast reply and fixing, but i got some more bugs:

- XML Export: Invalid Action
- XML Import: Masses of errors

and while editing archievments:

Invalid SQL:

SELECT * FROM dbtech_vbactivity_condition
WHERE `typeid` = '26'
AND `type` = 'value'
AND `comparison` = '>='
AND `value` = 2500AND `conditionid` != '7';

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 '`conditionid` != '7'' at line 5
Error-Nr. : 1064
Skript : /admincp/vbactivity.php?do=criteria
Referrer : /admincp/vbactivity.php?do=criteria&action=modify&conditionid=7
MySQL-Version : 5.1.53-0.dotdeb.0
 
Please check to see if you have any of the following files on your server in /includes/xml:
  • bitfield_vbactivity.xml
  • bitfield_vbactivity_pro.xml
  • cpnav_vbactivity.xml
  • cpnav_vbactivity_pro.xml
  • hooks_vbactivity.xml
  • hooks_vbactivity_pro.xml

If that doesn't help, then you're going to have to be more specific than "Masses of errors" :p

I've uploaded another hotfix for that SQL error :)
 
No, shall i upload these files? Where can i get them?

---

Export: Invalid Action

Import: See below (shortcut)

Schwerer Fehler: Field description is not defined in $validfields in class vBActivity_DataManager_Backup in [path]/includes/class_dm.php (Zeile 515)
#0 vb_error_handler(256, Field description is not defined in $validfields in class vBActivity_DataManager_Backup, /usr/local/apache/htdocs/board/includes/class_dm.php, 515, Array ([fieldname] => description,[value] => Achievements for posting posts.,[doverify] => 1,[this] => vBActivity_DataManager_Backup Object ([validfields] => Array ([backupid] => Array ([0] => 3,[1] => 3,[2] => _-_mEtHoD_-_,[3] => verify_nonzero),[title] => Array ([0] => 7,[1] => 1,[2] => _-_mEtHoD_-_),[dateline] => Array ([0] => 6,[1] => 2),[backupdata] => Array ([0] => 0,[1] => 1,[2] => _-_mEtHoD_-_,[3] => verify_serialized)),
=> dbtech_vbactivity_backup,[condition_construct] => Array ([0] => backupid = %1$d,[1] => backupid),[bitfields] => Array (),[setfields] => Array ([title] => 1),[rawfields] => Array (),[registry] => vB_Registry Object ([datastore] => vB_Datastore_XCache Object ([store_result] => ,[defaultitems] => Array ([0] => options,[1] => bitfields,[2] => attachmentcache,[3] => forumcache,[4] => usergroupcache,[5] => stylecache,[6] => languagecache,[7] => products,[8] => pluginlist,[9] => cron,[10] => profilefield,[11] => loadcache,[12] => noticecache),[registry] => vB_Registry Object ( *RECURSION*,[dbobject] => vB_Database Object ([functions] => Array ([connect] => mysql_connect,[pconnect] => mysql_pconnect,[select_db] => mysql_select_db,[query] => mysql_query,[query_unbuffered] => mysql_unbuffered_query,[fetch_row] => mysql_fetch_row,[fetch_array] => mysql_fetch_array,[fetch_field] => mysql_fetch_field,[free_result] => mysql_free_result,[data_seek] => mysql_data_seek,[error] => mysql_error,[errno] => mysql_errno,[affected_rows] => mysql_affected_rows,[num_rows] => mysql_num_rows,[num_fields] => mysql_num_fields,[field_name] => mysql_field_name,[insert_id] => mysql_insert_id,[escape_string] => mysql_escape_string,[real_escape_string] => mysql_real_escape_string,[close] => mysql_close,[client_encoding] => mysql_client_encoding,[ping] => mysql_ping),[registry] => vB_Registry Object ( *RECURSION*,[fetchtypes] => Array ([2] => 2,[1] => 1,[0] => 3),[appname] => vBulletin,[appshortname] => vBulletin,[database] => board,[connection_master] => Resource id #7,[connection_slave] => Resource id #7,[connection_recent] => Resource id #7,[multiserver] => ,[shutdownqueries] => Array ([lastvisit] => UPDATE user SET lastactivity = 1296012463 WHERE userid = 3 ,[0] => INSERT INTO adminlog(userid, dateline, script, action, extrainfo, ipaddress) VALUES (3, 1296012463, 'vbactivity.php', 'impex', '', '93.217.120.120') ),[sql] => ,[reporterror] => 1,[error] => ,[errno] => 0,[maxpacket] => 0,[locked] => ,[querycount] => 8),[prefix] => ,[checked_options] => 1),[input] => vB_Input_Cleaner Object ([shortvars] => Array ([f] => forumid,[t] => threadid,[p] => postid, => userid,[a] => announcementid,[c] => calendarid,[e] => eventid,[q] => query,[pp] => perpage,[page] => pagenumber,[sort] => sortfield,[order] => sortorder),[superglobal_lookup] => Array ([g] => _GET,[p] => _POST,[r] => _REQUEST,[c] => _COOKIE, => _SERVER,[e] => _ENV,[f] => _FILES),[scriptpath] => ,[reloadurl] => ,[wolpath] => , => ,[ipaddress] => ,[alt_ip] => ,[.... Please shorten it to 20000 characters long.
 
Field description is not defined in $validfields in class vBActivity_DataManager_Backup, 256) called at [/usr/local/apache/htdocs/board/includes/class_dm.php:515] #2 vB_DataManager->verify(description, Achievements for posting posts., 1) called at [/usr/local/apache/htdocs/board/includes/class_dm.php:343] #3 vB_DataManager->set(description, Achievements for posting posts.) called at [/usr/local/apache/htdocs/board/dbtech/vbactivity_pro/actions/admin/impex.php:233] #4 include_once(/usr/local/apache/htdocs/board/dbtech/vbactivity_pro/actions/admin/impex.php) called at [/usr/local/apache/htdocs/board/admincp/vbactivity.php:79]

ERROR CONSTRUCTING THUMBNAIL
click here to retry from this position
 
Last edited:
I've fixed the $validfields error.

Sadly it's not possible for me to fix the "invalid action" error as it stems from having the cpnav_vbactivity_pro.xml file in the /includes/xml folder which has references to old, now defunct files.

Re-download and re-upload the files to make importing work again :)


Closing this thread as the original issue has been taken care of, and each new issue should have its own thread.
 
Status
Not open for further replies.

Legacy vBActivity & Awards

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
1,730
Customer rating
0.00 star(s) 0 ratings
Back
Top