|
|
 |
|
-->
 |
|
Registered User
Join Date: Sep 2004
Posts: 2,176
Thanks: 97
Thanked 1,903 Times in 582 Posts
|
|
15-09-2008, 09:53 AM
|
|
New Posts Error
When I click the New Posts link at the top of the forum I get this
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 933888 bytes) in /home/default/hdanddvdbargains.com/user/htdocs/forum/includes/vba_cmps_include_top.php(526) : eval()'d code on line 628
__________________
Going Bandit, Reynolds Style.
|
|
|
|
Administrator
Join Date: Jan 2004
Posts: 6,597
Thanks: 455
Thanked 731 Times in 456 Posts
Location: Up North
|
|
15-09-2008, 11:21 AM
|
Quote:
Originally Posted by jas
When I click the New Posts link at the top of the forum I get this
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 933888 bytes) in /home/default/hdanddvdbargains.com/user/htdocs/forum/includes/vba_cmps_include_top.php(526) : eval()'d code on line 628
|
Jas, this should be fixed now.
|
|
|
|
Registered User
Join Date: Sep 2004
Posts: 2,176
Thanks: 97
Thanked 1,903 Times in 582 Posts
|
|
15-09-2008, 11:40 AM
|
|
Yep, it is. Cheers
__________________
Going Bandit, Reynolds Style.
|
|
|
|
Moderator
Join Date: Nov 2004
Posts: 6,691
Thanks: 323
Thanked 77 Times in 67 Posts
Location: Forest of Resurrection
|
|
15-09-2008, 09:38 PM
|
|
I get:
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/vba_cmps_include_template.php on line 19
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/vba_cmps_include_template.php on line 42
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/vba_cmps_include_template.php on line 50
Warning: Invalid argument supplied for foreach() in [path]/includes/init.php(293) : eval()'d code on line 49
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/vba_cmps_include_top.php on line 599
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in [path]/includes/vba_cmps_include_top.php on line 599
Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php:3239) in [path]/includes/functions_vbseo.php on line 397
Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php:3239) in [path]/includes/functions_vbseo.php on line 401
whenever I click on the last post icon. It's fine if I click on the thread title though.
|
|
|
|
Administrator
Join Date: Jan 2004
Posts: 6,597
Thanks: 455
Thanked 731 Times in 456 Posts
Location: Up North
|
|
15-09-2008, 10:28 PM
|
|
I cannot recreate that error homer. Is it still happening now?
Which browser?
|
|
|
|
Moderator
Join Date: Nov 2004
Posts: 6,691
Thanks: 323
Thanked 77 Times in 67 Posts
Location: Forest of Resurrection
|
|
15-09-2008, 11:15 PM
|
Yep, I still get it. I'm using IE7 (  )
|
|
|
|
Administrator
Join Date: Jan 2004
Posts: 6,597
Thanks: 455
Thanked 731 Times in 456 Posts
Location: Up North
|
|
16-09-2008, 10:01 AM
|
Quote:
Originally Posted by homerpovey
Yep, I still get it. I'm using IE7 (  )
|
So when you say "last post icon", which one is that and where is it? Is it the one immediately to the left of the Thread title (the little arrow?)
|
|
|
|
Administrator
Join Date: Jan 2004
Posts: 6,597
Thanks: 455
Thanked 731 Times in 456 Posts
Location: Up North
|
|
16-09-2008, 10:08 AM
|
Quote:
Originally Posted by wilko
So when you say "last post icon", which one is that and where is it? Is it the one immediately to the left of the Thread title (the little arrow?)
|
I have made a small tweak to the php settings that should resolve this - let me know if you still get the problem.
|
|
|
|
|
The Following User Says Thank You to wilko For This Useful Post:
|
|
Moderator
Join Date: Nov 2004
Posts: 6,691
Thanks: 323
Thanked 77 Times in 67 Posts
Location: Forest of Resurrection
|
|
16-09-2008, 05:14 PM
|
|
Yep, the last post thingy is the little arrow and it's now working perfectly.
Cheers
|
|
|
|
Registered User
Join Date: Sep 2004
Posts: 2,176
Thanks: 97
Thanked 1,903 Times in 582 Posts
|
|
17-09-2008, 10:23 PM
|
|
Found another error. When I click on a members username on the main forum, I get this
etch_array($threadresults)) { $wol_thread["$threadresult[threadid]"]['title'] = $threadresult['title']; $wol_thread["$threadresult[threadid]"]['forumid'] = $threadresult['forumid']; $wol_thread["$threadresult[threadid]"]['postuserid'] = $threadresult['postuserid']; $wol_thread["$threadresult[threadid]"]['isdeleted'] = ($threadresult['visible'] == 2) ? true : false; $wol_thread["$threadresult[threadid]"]['visible'] = ($threadresult['visible'] == 1) ? true : false; $wol_thread["$threadresult[threadid]"]['issubscribed'] = $threadresult['issubscribed']; // format thread preview if there is one $userperms = fetch_permissions($threadresult['forumid']); if (!empty($threadresult['preview']) AND $vbulletin->options['threadpreview'] > 0 AND ($userperms & $vbulletin->bf_ugp_forumpermissions['canviewthreads'])) { // Get Buddy List $buddy = array(); if (trim($vbulletin->userinfo['buddylist'])) { $buddylist = preg_split('/( )+/', trim($vbulletin->userinfo['buddylist']), -1, PREG_SPLIT_NO_EMPTY); foreach ($buddylist AS $buddyuserid) { $buddy["$buddyuserid"] = 1; } } DEVDEBUG('buddies: ' . implode(', ', array_keys($buddy))); // Get Ignore Users $ignore = array(); if (trim($vbulletin->userinfo['ignorelist'])) { $ignorelist = preg_split('/( )+/', trim($vbulletin->userinfo['ignorelist']), -1, PREG_SPLIT_NO_EMPTY); foreach ($ignorelist AS $ignoreuserid) { if (!$buddy["$ignoreuserid"]) { $ignore["$ignoreuserid"] = 1; } } } DEVDEBUG('ignored users: ' . implode(', ', array_keys($ignore))); if (!$ignore["$threadresult[postuserid]"]) { $threadresult['preview'] = strip_quotes($threadresult['preview']); $threadresult['preview'] = htmlspecialchars_uni(strip_bbcode(fetch_trimmed_ti tle($threadresult['preview'], $vbulletin->options['threadpreview']), false, true)); $wol_thread["$threadresult[threadid]"]['preview'] = $threadresult['preview']; } } } } if ($calendarids) { $calendarresults = $vbulletin->db->query_read_slave(" SELECT calendarid, title FROM " . TABLE_PREFIX . "calendar WHERE calendarid IN (0$calendarids) "); while ($calendarresult = $vbulletin->db->fetch_array($calendarresults)) { $wol_calendar["$calendarresult[calendarid]"] = $calendarresult['title']; } } if ($infractionids) { $infractions = $vbulletin->db->query_read_slave(" SELECT infractionid, userid FROM " . TABLE_PREFIX . "infraction WHERE infractionid IN (0$infractionids) "); while ($infraction = $vbulletin->db->fetch_array($infractions)) { $wol_inf["$infraction[infractionid]"]['userid'] = $infraction['userid']; $userids .= ',' . $infraction['userid']; } } if ($eventids) { $eventresults = $vbulletin->db->query_read_slave(" SELECT eventid, title, userid, calendarid FROM " . TABLE_PREFIX . "event WHERE eventid IN (0$eventids) "); while ($eventresult = $vbulletin->db->fetch_array($eventresults)) { $wol_event["$eventresult[eventid]"]['title'] = $eventresult['title']; $wol_event["$eventresult[eventid]"]['calendarid'] = $eventresult['calendarid']; $wol_event["$eventresult[eventid]"]['postuserid'] = $eventresult['userid']; } } if ($pmids AND ($vbulletin->userinfo['permissions']['wolpermissions'] & $vbulletin->bf_ugp_wolpermissions['canwhosonlinefull'])) { $pmresults = $vbulletin->db->query_read_slave(" SELECT pmtext.fromuserid, pm.pmid FROM " . TABLE_PREFIX . "pm AS pm LEFT JOIN " . TABLE_PREFIX . "pmtext AS pmtext ON (pm.pmtextid = pmtext.pmtextid) WHERE pmid IN (0$pmids) "); while ($pmresult = $vbulletin->db->fetch_array($pmresults)) { $wol_pm["$pmresult[pmid]"] = $pmresult['fromuserid']; $userids .= ',' . intval($pmresult['fromuserid']); } } if ($searchids AND ($vbulletin->userinfo['permissions']['wolpermissions'] & $vbulletin->bf_ugp_wolpermissions['canwhosonlinefull'])) { $searchresults = $vbulletin->db->query_read_slave(" SELECT searchid, search.userid, query, searchuser, user.userid AS targetuserid FROM " . TABLE_PREFIX . "search AS search LEFT JOIN " . TABLE_PREFIX . "user AS user ON (user.username = search.searchuser) WHERE searchid IN (0$searchids) "); while ($searchresult = $vbulletin->db->fetch_array($searchresults)) { if ($searchresult['searchuser']) { if (!$searchresult['targetuserid']) // usernames are stored straight in search and htmlspecialchars_uni in user so we have to query for any non-matches { $result = $vbulletin->db->query_first_slave(" SELECT userid AS targetuserid FROM " . TABLE_PREFIX . "user WHERE username = '" . $vbulletin->db->escape_string(htmlspecialchars_uni($searchresul t['searchuser'])) . "' "); } if ($result['targetuserid']) { $searchresult['targetuserid'] = $result['targetuserid']; } if ($searchresult['targetuserid']) { $userids .= ",$searchresult[targetuserid]"; } } $wol_search["$searchresult[searchid]"] = $searchresult; } } if ($userids AND ($vbulletin->userinfo['permissions']['wolpermissions'] & $vbulletin->bf_ugp_wolpermissions['canwhosonlinefull'])) { $userresults = $vbulletin->db->query_read_slave(" SELECT userid, username, IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid FROM " . TABLE_PREFIX . "user AS user WHERE userid IN (0$userids) "); while ($userresult = $vbulletin->db->fetch_array($userresults)) { fetch_musername($userresult); $wol_user["$userresult[userid]"] = $userresult['musername']; } } ($hook = vBulletinHook::fetch_hook('online_ids_titles')) ? eval($hook) : false; } // ###################### Start sanitize_perpage ####################### function sanitize_perpage($perpage, $max, $default = 25) { $perpage = intval($perpage); if ($perpage == 0) { return $default; } else if ($perpage < 1) { return 1; } else if ($perpage > $max) { return $max; } else { return $perpage; } } /*================================================= =====================*\ || ################################################## ################## || # Downloaded: 12:24, Sat Jun 21st 2008 || # CVS: $RCSfile$ - $Revision: 26377 $ || ################################################## ################## \*================================================ ======================*/ ?>
It`s the name that appears under the post topic
__________________
Going Bandit, Reynolds Style.
|
|
|
|
 |
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
All times are GMT +1. The time now is 02:26 PM.
Powered by vBulletin® Version 3.7.3 Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
VBulletin Skin by ForumMonkeys.
| |