![]() |
Quote:
The fix will have to come from him, because it requires changing the template and the php code as well, an easy workaround would be to modify just the template, I haven't tested that though, but here it is : look for : <link rel="stylesheet" type="text/css" href="clientscript/reset-fonts-bf.css" /> and change it to: <vb:if condition="$pl['phpsupport']"> <link rel="stylesheet" type="text/css" href="clientscript/reset-fonts-bf.css" /> </vb:if> |
One new version was released v0.9.0, this one now supports PHP content pages.
Beware that if you have already installed the previous v0.8.0 version you'll need to upgrade the product, the instructions are included in the contentpages-v0.9.0.pdf document included in the zip file. But here they are too: 1. Take an export of the TABLE_PREFIX.contentpages and TABLE_PREFIX.contentpages_categories tables, using phpMyAdmin is the easiest way. 2. Uninstall old “Content Pages” product from vB Administrator Control Panel 3. Install new “Content Pages” version 0.9.0 product from vB Administrator Control Panel 4. Import the TABLE_PREFIX.contentpages and TABLE_PREFIX.contentpages_categories tables that were exported on step 1. |
Quote:
#0 vB_Database->halt() called in [path]/includes/class_core.php on line 421 #1 vB_Database->execute_query() called in [path]/includes/class_core.php on line 439 #2 vB_Database->query_write() called in [path]/includes/adminfunctions_plugin.php(450) : eval()'d code on line 12 #3 run_queries() called in [path]/includes/adminfunctions_plugin.php(450) : eval()'d code on line 50 #4 eval() called in [path]/includes/adminfunctions_plugin.php on line 450 #5 install_product() called in [path]/admincp/plugin.php on line 1714 The tables where created but with "my" prefix vb_3 and not only vb_. On a local-testforum without a table-prefix i get the same error. Can the "wrong" prefix be the reason for the error? |
there's a bug inside the xml
search for Code:
$SQL[] = "CREATE VIEW `" . TABLE_PREFIX . "cp_cats` (cp_catsid, title) AS Code:
$SQL[] = "CREATE VIEW `" . TABLE_PREFIX . "cp_cats` (cp_catsid, title) AS |
Quote:
|
Also thanks from me Miras, works now! :up:
|
hello bro, when do you think this will be ready for production forums?
|
Quote:
I've done lots of tests, but I'm sure I haven't tested everything that's why I need your help finding bugs or problems. |
Quote:
|
I'm getting this error when I click Add page
Database error in vBulletin 4.0.2: Invalid SQL: SELECT title, cp_catsid FROM cp_cats ORDER BY title; MySQL Error : Table 'mydatabase_consoledge.cp_cats' doesn't exist Error Number : 1146 Request Date : Monday, March 29th 2010 @ 11:10:55 PM Error Date : Monday, March 29th 2010 @ 11:10:55 PM Script : http://unlockedgamer.com/admincp/con...php?do=addpage Referrer : http://unlockedgamer.com/admincp/index.php?do=nav IP Address : My IP Username : Username Classname : vB_Database MySQL Version : 5.1.30 |
All times are GMT. The time now is 11:15 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|