I tried to change some settings in the acp for my style. When i went to save it said this
Warning: implode(): Bad arguments. in /admincp/css.php on line 94
There seems to have been a slight problem with the vBHackers.com database.
Please try again by pressing the refresh button in your browser.
An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.
We apologise for any inconvenience.
I know i didn't hack that file so i just uploaded the css.php file again and it still happens. Any idea?
Here is whats in the file.
Warning: implode(): Bad arguments. in /admincp/css.php on line 94
There seems to have been a slight problem with the vBHackers.com database.
Please try again by pressing the refresh button in your browser.
An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.
We apologise for any inconvenience.
Code:
Database error in vBulletin 3.0.7: Invalid SQL: SELECT templateid, title, template, template_un, styleid, templatetype FROM template WHERE templateid IN() AND (templatetype <> 'template' OR title IN ('header', 'footer', 'headinclude', 'phpinclude_start', 'phpinclude_end', 'editor_jsoptions_font', 'editor_jsoptions_size', 'editor_styles_button_normal', 'editor_styles_button_hover', 'editor_styles_button_down', 'editor_styles_button_selected', 'editor_styles_menu_normal', 'editor_styles_menu_hover', 'editor_styles_menu_down', 'editor_styles_popup_down')) 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 ') AND (templatetype <> 'template' OR title IN ('header', 'fo mysql error number: 1064 Date: Thursday 12th of May 2005 09:30:39 PM Script: http://www.vbhackers.com/forum/admincp/css.php Referer: forum/admincp/css.php?s=&do=edit&dowhat=all&group=&dostyleid=5 Username: LiveWire IP Address: xxxxxxxxxx
Here is whats in the file.
Code:
Line 93 $style = $DB_site->query_first("SELECT * FROM " . TABLE_PREFIX . "style WHERE styleid = $dostyleid"); Line 94 $templateids = implode(',', unserialize($style['templatelist'])); Line 95 $templates = $DB_site->query(" Line 96 SELECT templateid, title, template, template_un, styleid, templatetype Line 97 FROM " . TABLE_PREFIX . "template Line 98 WHERE templateid IN($templateids) Line 99 AND (templatetype <> 'template' OR title IN ('" . implode("', '", $_query_common_templates) . "', '" . implode("', '", $_query_special_templates) . "')) Line 100 ");
Comment