PDA

View Full Version : Admin CP


Bounce
Sat 12th Jan '08, 4:16pm
When trying to edit a setting in admin cp I get....

Warning: implode() : Invalid arguments passed in /admin1875cp/css.php on line 103

any idea how this is ?

Steve Machol
Sat 12th Jan '08, 4:17pm
To troubleshoot this, first reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server. Also be sure to upload the admincp files to whichever directory you have set in your config.php file. Then run 'Suspect File Versions' in Diagnostics to make sure you have all the original files for your version and that none show 'File does not contain expected contents':

Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions

[Note: In some cases you may also need to remove any of the listed .xml files in the includes/xml directory.]

Next, disable all plugins.

Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

Bounce
Sat 12th Jan '08, 4:33pm
none show 'File does not contain expected contents':

Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions



Yes a few do, I will upload the files again,many thanks

Bounce
Sat 12th Jan '08, 5:27pm
Right done all that i think lol......

Warning: implode() : Invalid arguments passed in /admincp/css.php on line 103

Still getting

Fatal error: Invalid styleid specified in /includes/adminfunctions_template.php on line 327
#0 vb_error_handler(256, Invalid styleid specified, /xxxxx/xxx/public_html/forum/includes/adminfunctions_template.php, 327, Array ([styleid] => 0,[doreturn] => 1,[parentids] => ,[vbulletin] => vB_Registry Object ([datastore] => vB_Datastore Object ([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), => Array (),[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_real_escape_string,[real_escape_string] => mysql_real_escape_string,[close] => mysql_close,[client_encoding] => mysql_client_encoding),[registry] => vB_Registry Object ( *RECURSION*,[fetchtypes] => Array ([2] => 2,[1] => 1,[0] => 3),[appname] => vBulletin,[appshortname] => vBulletin,[database] => bounce07_forum,[connection_master] => Resource id #6,[connection_slave] => Resource id #6,[connection_recent] => Resource id #6,[multiserver] => ,[shutdownqueries] => Array ([lastvisit] => UPDATE user SET lastactivity = 1200173070 WHERE userid = 209 ,[0] => INSERT INTO adminlog(userid, dateline, script, action, extrainfo, ipaddress) VALUES (209, 1200173070, 'css.php', 'update', '', '77.97.237.80') ),[sql] => ,[reporterror] => 1,[error] => ,[errno] => ,[maxpacket] => 0,[locked] => ,[querycount] => 11),[prefix] => ),[input] => vB_Input_Cleaner Object ([shortvars] => Array ([f] => forumid,[t] => threadid,[p] => postid,[u] => 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,[s] => _SERVER,[e] => _ENV,[f] => _FILES),[scriptpath] => ,[reloadurl] => ,[wolpath] => ,[url] => ,[ipaddress] => ,[alt_ip] => ,[registry] => vB_Registry Object ( *RECURSION*),[db] => 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_real_escape_string,[real_escape_string] => mysql_real_escape_string,[close] => mysql_close,[client_encoding] => mysql_client_encoding),[registry] => vB_Registry Object ( *RECURSION*,[fetchtypes] => Array ([2] => 2,[1] => 1,[0] => 3),[appname] => vBulletin,[appshortname] => vBulletin,[database] => bounce07_forum,[connection_master] => Resource id #6,[connection_slave] => Resource id #6,[connection_recent] => Resource id #6,[multiserver] => ,[shutdownqueries] => Array ([lastvisit] => UPDATE user SET lastactivity = 1200173070 WHERE userid = 209 ,[0] => INSERT INTO adminlog(userid, dateline, script, action, extrainfo, ipaddress) VALUES (209, 1200173070, 'css.php', 'update', '', '77.97.237.80') ),[sql] => ,[reporterror] => 1,[error] => ,[errno] => ,[maxpacket] => 0,[locked] => ,[querycount] => 11),[userinfo] => Array ([userid] =>

Plugin's are off via the [I]define('DISABLE_HOOKS', true);

Steve Machol
Sat 12th Jan '08, 5:27pm
Fill out a support ticket at:

http://members.vbulletin.com/membersupport_contactform.php

Please include a complete description of the problem and be sure to include the login info to your Admin CP, phpMyAdmin and FTP in the 'Sensitive Data' field.

Cloudrunner
Fri 18th Jan '08, 11:28am
This error is directly linked to Suhosin and the MAX_VARS setting. Basically what is happening is that Suhosin is seeing way more than XXX (X being the amount your host has set, 200 being the default) variables being passed and as such it's terminating the script. Your host will need to up the GET, POST, and REQUEST MAX_VARS above their current level. Jelsoft recommends 2048 as a good setting for MAX_VARS for Suhosin to play with vBulletin.

Unfortunately Jelsoft does not have plans to break the styling page in AdminCP into more manageable bitesized pieces for those who cannot talk their hosts into updating the Suhosin as recommended.