![]() |
|
|||||||
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
hi i upgraded and am getting this error:
Warning: array_diff() [function.array-diff]: Argument #1 is not an array in /modules/navigation.php on line 20 tried reuploading all these files already and still there in header, also my menu buttons are all messed up see here: http://puregraffiti.com/pg.php /includes/vba_cmps_include_bottom.php /includes/vba_cmps_include_top.php /includes/vba_cmps_include_template.php /modules/navigation.php can you help fix please thanks Last edited by puregraf; 10-19-2007 at 09:04 PM. |
|
#2
|
||||
|
||||
|
Try clicking the 'Diagnostics' link in the Admin CP and see if that returns any errors.
|
|
#3
|
|||
|
|||
|
hi, i got the following:
Suspect File Versions Scanned 63 files ./ Changelog.txt File not recognized as part of vBulletin abouttoday.php File not recognized as part of vBulletin add_site.php File not recognized as part of vBulletin credits.php File not recognized as part of vBulletin creditsBKP.php File not recognized as part of vBulletin delete_site.php File not recognized as part of vBulletin edit_site.php File not recognized as part of vBulletin forumpath.php File not recognized as part of vBulletin in.php File not recognized as part of vBulletin index.html File not recognized as part of vBulletin index2.html File not recognized as part of vBulletin local_resize.php File not recognized as part of vBulletin local_stream.php File not recognized as part of vBulletin out.php File not recognized as part of vBulletin pg.php File not recognized as part of vBulletin sitemap.xml File not recognized as part of vBulletin toplist.php File not recognized as part of vBulletin toplist_external.php File not recognized as part of vBulletin toplist_image.php File not recognized as part of vBulletin Scanned 56 files ./admincp abouttodayadmin.php File not recognized as part of vBulletin credits_admin.php File not recognized as part of vBulletin credits_adminBKP.php File not recognized as part of vBulletin toplist_admin.php File not recognized as part of vBulletin vba_cmps_admin.php File not recognized as part of vBulletin vbacmps_install.php File not recognized as part of vBulletin Scanned 3 files ./archive Scanned 34 files ./clientscript credits_ajax_postadd.js File not recognized as part of vBulletin toplist.js File not recognized as part of vBulletin vba_cmps_admin.js File not recognized as part of vBulletin Scanned 3 files ./clientscript/yui Scanned 2 files ./images/regimage/fonts Scanned 103 files ./includes adminfunctions_toplist.php File not recognized as part of vBulletin class_abouttoday.php File not recognized as part of vBulletin vba_cmps_adminfunctions.php File not recognized as part of vBulletin vba_cmps_error.php File not recognized as part of vBulletin vba_cmps_global.php File not recognized as part of vBulletin vba_cmps_include_bottom.php File not recognized as part of vBulletin vba_cmps_include_output.php File not recognized as part of vBulletin vba_cmps_include_template.php File not recognized as part of vBulletin vba_cmps_include_top.php File not recognized as part of vBulletin vba_cmps_plugin_newpost.php File not recognized as part of vBulletin Scanned 26 files ./includes/cron credits_awards.php File not recognized as part of vBulletin credits_banklot.php File not recognized as part of vBulletin credits_time.php File not recognized as part of vBulletin credits_timeBKP.php File not recognized as part of vBulletin cron_abouttoday.php File not recognized as part of vBulletin remindermail.php File not recognized as part of vBulletin toplist.php File not recognized as part of vBulletin toplist_ranks.php File not recognized as part of vBulletin Scanned 8 files ./includes/paymentapi Scanned 14 files ./includes/xml bitfield_credits.xml File not recognized as part of vBulletin bitfield_toplist.xml File not recognized as part of vBulletin cpnav_credits.xml File not recognized as part of vBulletin cpnav_toplist.xml File not recognized as part of vBulletin cpnav_vbacmps.xml File not recognized as part of vBulletin hooks_credits.xml File not recognized as part of vBulletin hooks_vbacmps.xml File not recognized as part of vBulletin |
|
#4
|
||||
|
||||
|
I'm sorry, I meant the Diagnostics link under the vBa CMPS group.
|
|
#5
|
|||
|
|||
|
Hi, the only think that i see that shows a problem is the URLS it says invalid URL /pg.php (this url is working however as you can access it)
here is the full info: URLs Main Options (/pg.php) [Edit Setting] Invalid URL: /pg.php PHP File Modules Online Users Okay Buddy List Okay Mini Calendar Okay Graffiti TUTORIALS Okay Picture Posting Okay Stats Okay Current Poll Okay Quick Moderation Okay Welcome Block Okay News Archive Okay LINK PARTNERS Okay Site Navigation Okay Graffiti Articles Okay Recent Gallery Comments Okay Random Picture Okay Random Poll Okay Random Poll Okay Recent Threads Okay picture posting forum Okay Current Poll2 right side Okay Suspect File Versions admincp/vba_cmps_admin.php Okay admincp/vbacmps_install.php Okay clientscript/vba_cmps_admin.js Okay includes/vba_cmps_adminfunctions.php Okay includes/vba_cmps_error.php Okay includes/vba_cmps_global.php Okay includes/vba_cmps_include_bottom.php Okay includes/vba_cmps_include_output.php Okay includes/vba_cmps_include_template.php Okay includes/vba_cmps_include_top.php Okay includes/vba_cmps_plugin_newpost.php Okay modules/birthdays.php Okay modules/currentpoll.php Okay modules/minicalendar.php Okay modules/moderate.php Okay modules/navigation.php Okay modules/news.php Okay modules/onlineusers.php Okay modules/recentthreads.php Okay modules/stats.php Okay modules/welcomeblock.php Okay i have submitted a ticket, if that helps with my site info so you can take a look thanks |
|
#6
|
||||
|
||||
|
Everything seems ok there, so I'll have a look at your ticket in just a few minutes.
|
|
#7
|
|||
|
|||
|
I'm getting this same error along with four others, and all point to the vBadvanced mod in their listing, these all seem to be a problem that they are associated with vBa_Cmps, but are plug-ins that no longer work after the recent security patch was processed
Now these result when I run a vB plug in but not the cmps page, that loads relatively normally (sorry but been at this since yesterday, and do not remember if there was any stray errors loading this page as well) The plug-ins that are returning these errors are as follows, Mine are listed as follows! addonchat.php (obvious enough) 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(304) : eval()'d code on line 31 Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/vba_cmps_include_top.php on line 715 Warning: array_merge() [function.array-merge]: Argument #2 is not an array in [path]/includes/vba_cmps_include_top.php on line 715 Warning: Invalid argument supplied for foreach() in [path]/includes/vba_cmps_include_top.php on line 306 Ink-N-Think-Community-Sphere Forums music.php (DnP_music box) 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(304) : eval()'d code on line 31 Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/vba_cmps_include_top.php on line 715 Warning: array_merge() [function.array-merge]: Argument #2 is not an array in [path]/includes/vba_cmps_include_top.php on line 715 Warning: Invalid argument supplied for foreach() in [path]/includes/vba_cmps_include_top.php on line 306 local_links.php (Links and downloads manager) Parse error: syntax error, unexpected $end in /home/thinking/public_html/vBforums/includes/local_links_main_links.php(24) : eval()'d code on line 103 Ultimately I don''t feel this is a vBa cmps issue in it's self, but has more to do with those plug-ins that are tied in with it, where as whatever changed from the patch in the core vB files, has lost the hooks that tie these plug-ins in with the cmps and why most of them resource this as the core element creating the obstacle for these plug-ins to run. "But what do I know?" LOL! However HELP would be GREATLY appreciated! One REALLY big question I have is....prior to updating with the patch**, I backed up my database, would restoring of that backup remove the changes made from the patch? **(which appears to be worse than what it is meant to protect us from, having already dealt with this malware issue picked up from a social network, it consists of two .PHP files, one .JS file and one .JPG and I have tracked to a root server directory listing on a hosting account in Russia, PM ME if anyone wants the article links about this malware, or server address, to see what other folders to look for to determine if they have been infected by it, since it tends to sit quietly, recording log in credentials, and then when the user logs out, it logs them back in and sends itself to everyone on their friend's list or contacts list, as them, in the form of a video like with a catchy title, ("Your booty looks great as you ride off on that bicycle") referencing them in it, or a "Earn $6k a month" WAH scam, or "Win A Free Sony Erickson lap top", but not limited to these, the jpg's on the server will define all of them for you, and then it redistributes itself, (BTW it does not appear to infect you while visiting this server, i spent over an hour poring through all the folders to get insight in to recognizing it) until whatever point it becomes active in which case it will start launching IE windows like a spawning advert which will occur so fast you will wonder why it takes so long to get it up on your own....so once you beat the spawning to halt your system, you have but a few minutes to remove this before it starts again, but a simple deletion of the ID'ed folder will stop it, and follow that up with changing all your passwords, or you can down load "malware bytes" from C-net Downloads .com and the free version will also take care of it as well) TSG! |
|
#8
|
||||
|
||||
|
Sounds like you need to open the files that you're having a problem with and make sure they contain the following lines at the top, before the call to global.php.
PHP Code:
__________________
Frequently Asked Questions CMPS Users Manual For vBadvanced software assistance, please use the support forums. Unsolicted PMs, IMs, and email will not be responded to. If you have a non-software related question or problem with your account, please submit a support ticket. |
|
#9
|
|||
|
|||
|
Hi Brian,
Thanks for the response, this has in fact corrected two out of the three, the one I didn't apply it to (links and downloads manager) already have these $tring arrays defined....besides that error code was also a little different than the others.....now i just had my co-admin reach an experience "achievement" and when she clicked to accept, it errored with this Parse error: syntax error, unexpected T_STRING in /home/thinking/public_html/vBforums/includes/functions_online.php(1170) : eval()'d code on line 212 Oh I almost forgot..... this is ALL the initial $tring array definitions...keep in mind these are ONLY those that worked out of the box initially, and do not include another series of mini mods that can also be included, but had errors out of the box and have since been disabled or removed, and planned on trouble shooting them as I progressed, since this is still rather comprehensive for it's use...... Code:
error_reporting(E_ALL & ~E_NOTICE);
define('THIS_SCRIPT', 'local_links');
define('CSRF_PROTECTION', true);
define('GET_EDIT_TEMPLATES', true);
if (empty($_REQUEST['action'])) $_REQUEST['action'] = "links";
if (empty($_REQUEST['do'])) $_REQUEST['do'] = $_REQUEST['action'];
// get special phrase groups
$phrasegroups = array(
'cprofilefield',
'local_links',
'local_links_entities',
'postbit',
'posting',
'threadmanage',
'timezone',
);
// pre-cache all templates used by this hack
$globaltemplates = array(
'links_access_error',
'links_agreement',
'links_bandwidthbit',
'links_catbit',
'links_catbit_brief',
'links_catbit_extras',
'links_catjump',
'links_catmouseover',
'links_catsortbit',
'links_downloadbit',
'links_editbit',
'links_entitymarkupbit',
'links_favbit',
'links_filter',
'links_footer',
'links_header',
'links_hitparade',
'links_hitparadebit',
'links_imgmag',
'links_keysbit',
'links_introbit',
'links_likebit',
'links_linkbit',
'links_linkbit_featured',
'links_linkbit_greg',
'links_linkbit_jukebox',
'links_linkbit_mshort',
'links_linkbit_mtop',
'links_linkbit_photo',
'links_linkbit_short',
'links_linkbit_short_cent',
'links_linkbit_short_direct',
'links_linkbit_table',
'links_linkseparator',
'links_listselect',
'links_main',
'links_navbar',
'links_navbar_popups',
'links_nominatebit',
'links_nominated_leaderbit',
'links_othercatsbit',
'links_ratebit_ajax',
'links_ratebit_dropdown',
'links_ratebit_inline',
'links_ratesortbit',
'links_reportlinkbit',
'links_scantext',
'links_search',
'links_search_catselect',
'links_selectkeyword',
'links_sendemail',
'links_sendtofriendbit',
'links_subcatbit',
'links_uploadinfo',
'links_viewone_entity',
'links_viewone_inline_comment',
'links_viewone_nomination',
'links_viewone_nominator',
'links_viewone_popup_comment',
'forumdisplay_moderator',
'STANDARD_ERROR_LITE',
);
// get special data templates from the datastore
$specialtemplates = array(
'attachmentcache',
'bbcodecache',
'ldm_admin',
'ldm_cats',
'smiliecache',
);
// pre-cache templates used by specific actions
$actiontemplates = array(
'play' => array(
'links_JWplayer_header',
'links_linkbit_jukebox',
'links_play_embedded',
'links_play_standalone',
'links_playbit',
'links_playerbit_DivX',
'links_playerbit_JWPlayer',
'links_playerbit_MediaPlayer',
'links_playerbit_QuickTime',
'links_playerbit_RealPlayer',
'links_playerbit_Wimpy',
'links_playerbit_WimpyFlash',
'links_WimpyButton_header',
'links_WimpyFlash_header',
'links_Wimpyplayer_header',
),
'addcat' => array(
'links_addnewcat',
'links_addnewcat_oneentity',
'links_addnewlink_catselect',
'links_addnewlink_catselect_hidden',
'links_addnewlink_catselect_multi',
'links_addnewlink_catselect_one',
'links_addnewlink_catinput_one',
'links_admin_oneperm',
'links_admin_oneperm_end',
'links_admin_onesetting',
'links_admin_onesetting_end',
'links_admin_onesetting_start',
'links_admin_setting_break',
'links_admin_setting_foot',
'links_admin_setting_jump',
'links_admin_setting_title',
),
'editcat' => array(
'links_addnewcat',
'links_addnewcat_oneentity',
'links_addnewlink_catselect',
'links_addnewlink_catselect_hidden',
'links_addnewlink_catselect_multi',
'links_addnewlink_catselect_one',
'links_addnewlink_catinput_one',
'links_admin_oneperm',
'links_admin_oneperm_end',
'links_admin_onesetting',
'links_admin_onesetting_end',
'links_admin_onesetting_start',
'links_admin_setting_break',
'links_admin_setting_foot',
'links_admin_setting_jump',
'links_admin_setting_title',
),
'addlink' => array(
'links_addentity',
'links_addentitygroup',
'links_addnewlink',
'links_addnewlink_catinput',
'links_addnewlink_catinput_multi',
'links_addnewlink_catinput_one',
'links_addnewlink_catselect',
'links_addnewlink_catselect_hidden',
'links_addnewlink_catselect_multi',
'links_addnewlink_catselect_one',
'links_addnewlink_upload',
'links_timebit',
),
'addmultilink' => array(
'links_addnewmultilink',
'links_addnewmultilink_one',
'links_addnewlink_catinput',
'links_addnewlink_catinput_multi',
'links_addnewlink_catinput_one',
'links_addnewlink_catselect',
'links_addnewlink_catselect_hidden',
'links_addnewlink_catselect_multi',
'links_addnewlink_catselect_one',
'links_addnewlink_upload',
'links_timebit_multi',
),
'editlink' => array(
'links_addentity',
'links_addentitygroup',
'links_addnewlink',
'links_addnewlink_catinput',
'links_addnewlink_catinput_multi',
'links_addnewlink_catinput_one',
'links_addnewlink_catselect',
'links_addnewlink_catselect_hidden',
'links_addnewlink_catselect_multi',
'links_addnewlink_catselect_one',
'links_addnewlink_upload',
'links_timebit',
),
'ratelink' => array(
'links_view_all_comments',
'links_viewone_comment',
),
'iframe' => array(
'links_iframed',
'links_linkbit_jukebox',
),
'jump' => array(
'links_mirror_select',
'links_mirror_select_one',
),
'mod' => array(
'links_moderate_main',
'links_moderate_catbit',
'links_moderate_catbit_null',
),
'reportlink' => array(
'links_report',
'humanverify',
'imagereg',
),
'sendtofriend' => array(
'humanverify',
'imagereg',
)
);
// fire up VBulletin backend
require_once('./global.php');
if (!$vbulletin->products[THIS_PRODUCT_NAME]) {
eval(standard_error($vbphrase['ll_error_product_disabled']));
exit;
}
if (!empty($vbulletin->db->explain)) {
$vbulletin->db->timer_start('Including LDM initialisation functions');
require_once(DIR . '/includes/local_links_init.php');
require_once(DIR . '/includes/local_links_include.php');
$vbulletin->db->timer_stop(false);
}
else {
require_once(DIR . '/includes/local_links_init.php');
require_once(DIR . '/includes/local_links_include.php');
}
($hook = vBulletinHook::fetch_hook('ldm_start')) ? eval($hook) : false;
// Abbreviated quick jump .. script.php?go=N
if (array_key_exists('go', $_REQUEST)) {
$_REQUEST['action'] = "jump";
$_REQUEST['linkid'] = intval($_REQUEST['go']);
unset($_REQUEST['go']);
}
$vbulletin->input->clean_array_gpc('r', array(
'action' => TYPE_STR,
'pp' => TYPE_INT,
'page' => TYPE_INT,
));
And in either case any other ideas as to how to correct LDM? Or is it more of an author support issue rather than the general troubleshooting? Thanks for the help, and appreciate anything else you have to offer....the strange thing is these all worked prior to the recent patch, and I did not notice anything in that process that should have affected these particular files, did I simply miss seeing it? Or has this patch added a requirement that wasn't before? How many other plug ins am I going to need to do this to as they are re-tested and fail? I am going live for the first time within 24 hours ~Yikes~ but I guess I can out up a notice of it being a dry run!?!?! Thanks again, I will patiently await anyone's responses that can help! TSG! Last edited by The Smoking Gun; 01-11-2010 at 05:04 PM. Reason: Forgotten inclusion! |
|
#10
|
||||
|
||||
|
For the error with the local_links.php file, all I can really suggest is to contact the author and see if he's able to provide any assistance since it seems like an issue with that file or possibly one of the templates that file is calling.
FYI, I don't think there's anything in the latest vB version that would have suddenly caused these errors. It sounds more like your host may have upgraded your version of PHP recently.
__________________
Frequently Asked Questions CMPS Users Manual For vBadvanced software assistance, please use the support forums. Unsolicted PMs, IMs, and email will not be responded to. If you have a non-software related question or problem with your account, please submit a support ticket. |
|
#11
|
|||
|
|||
|
Thanks for the info Brian....I'll submit this to the author as suggested!
I am inclined to agree with you that it does not make very much sense that these files were altered in any way from the security patch, since I monitored the update process and when the errors became apparent, I checked my files to find their last mod, dates were still their install dates. However your alternate reason is still questionable, in as much as my parent company (I am a hosting re-seller) would normally have alerted me this was going to happen and unless there was a VERY recent update to PHP then I would have to think this was not the case.....BUT.... Since I had recently requested (a new option for us) a php.ini edit for another hosting account's script, which warned that it was not secure enough to enable globals, they had installed a comprehensive php.ini file, with 90% of the options commented out so as to allow US to now be able to modify them as needed rather than needing their admins to do it, as was the previous case, (and doing it how they did gave it has comprehensive "guides" as to how to or why would you need to change either or any of these settings) so my question is, could the implementation of this PHP.ini file, which once installed on my whm primary site, and is recursive, and has since showed up on all my and my client's servers, be responsible of causing some scripts to behave as if there was a php update if only some of the settings were different than their initial default php.ini? Obviously having known what the original configuration was, would have been helpful to answer this, it "does" make the most sense since this coincidentally happened the day before doing that update, and it could have taken the over night or having "altered" the file for it to propagate through all my servers, for which case, if you feel this is at all a possibility, I can find out what their default setting is and reconfigure the php.ini file for just the server hosting my vB installs. (haven't updated the second site yet) Thanks for all the help, and sparing me from the nightmare I THOUGHT I was in for! My only issue now is the user-cp does not register any clicked functions...also maybe a result of the same change? This is also using a vBa mod for tabbed functions and integrated with experience and LDM as well however disabling either of them does not restore functionality. All that happens when clicked is a page refresh, telling a member the can do these things but that's all it does currently. I am only now getting around to look in to this deeper, and your confirming or denying if this may also be the case could significantly decrease the amount of time it will take me to track down the problem! Thanks again, TSG! Last edited by The Smoking Gun; 01-12-2010 at 07:27 PM. Reason: Typos |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Warning: in_array() [function.in-array]: | karlm | Troubleshooting & Problems | 1 | 05-27-2007 07:09 AM |
| Warning: unserialize() expects parameter 1 to be string, array given | Viks | Troubleshooting & Problems | 2 | 04-11-2007 08:09 PM |
| Warnung: array_merge() [function.array-merge]: Argument #2 is not an array in /links/ | Spoky | Troubleshooting & Problems | 2 | 10-30-2006 05:02 PM |
| "Warning: array_merge() [function.array-merge]:" vba_cmps_admin.php line 196 | bi11i | Troubleshooting & Problems | 3 | 07-27-2005 07:49 PM |
| Warning: array_merge() [function.array-merge] | pennylessz28 | Troubleshooting / "How do I..." Questions | 6 | 11-24-2004 05:32 PM |