The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
It's a problem in the profile.php file when you go to change your avatar, sig, etc...
Parse error: parse error, expecting `')'' in /home/httpd/vhosts/ewnweb.net/subdomains/community/httpdocs/profile.php on line 111 Line 111 specifically is... Code:
WHERE pm.userid = $bbuserinfo[userid] Code:
// ###################### Start pm update counters ####################### // update the pm counters for $bbuserinfo function build_pm_counters() { global $DB_site, $bbuserinfo; $pmcount = $DB_site->query_first(" SELECT COUNT(pmid) AS pmtotal, SUM(IF(messageread = 0 AND folderid = 0, 1, 0)) AS pmunread FROM " . TABLE_PREFIX . "pm AS pm WHERE pm.userid = $bbuserinfo[userid] "); $pmcount['pmtotal'] = intval($pmcount['pmtotal']); $pmcount['pmunread'] = intval($pmcount['pmunread']); if ($bbuserinfo['pmtotal'] != $pmcount['pmtotal'] OR $bbuserinfo['pmunread'] != $pmcount['pmunread']) { $DB_site->query(" UPDATE " . TABLE_PREFIX . "user SET pmtotal = $pmcount[pmtotal], pmunread = $pmcount[pmunread] WHERE userid = $bbuserinfo[userid] "); } } |
#2
|
||||
|
||||
![]()
Did you add any hacks recently? If so retrace the hack instructions of the profile.php and see where the problem lies. If not go ask the hack author about where it may have went wrong.
|
#3
|
|||
|
|||
![]()
Yea, the ibpro arcade and the vb chat...:-\
|
#4
|
||||
|
||||
![]() Quote:
|
#5
|
||||
|
||||
![]()
The only file I can find that code in is private.php rather than profile.php - are you sure you have the right file?
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|