For your clean install did you start with an empty database? I think the only way to install the default cms data is to do it when installing the cms tables. If they exist the option to install the data doesn't appear.
Step 6) Install/Upgrade CMS -- Install CMS default data - question
Collapse
X
-
-
are you guys here for same question as i have
i upgraded from 3.8.4 LP2 to 4.0 LP1 but i only see forum NO CMS or Blog i have vBulletin 4.0 Publishing Suite
i dont know how to or from where to install CMS and blog i only see forum
anything i missed forum seem to work fine but cant find CMS or blogComment
-
gg2, please start your own thread when you have a different issue.Comment
-
The default data has conditions to which it can and cannot be installed. If any conditions for its installation fails, it will be skipped and not shown to you during upgrades/installs.Comment
-
I have notice that, in fact I see only one condition, regarding if cms_node table is empty or not. But is there still some posibility to import the sample data when we miss it the first time ?
Condition:
PHP Code:if ($vbulletin->GPC['upgrade_do'] <> 'install_data')
{
if (upgrade_product_step('vbcms'))
{
$row = $vbulletin->db->query_first("
SELECT COUNT(*) AS count
FROM " . TABLE_PREFIX . "cms_node
WHERE nodeid <> 1"
);
require_once(DIR . "/install/cmsdefaultdata/default_data_functions.php");
if ($row['count'] == 0 AND can_install_default_data())
{
print_cms_default_data_form();
}
}
}
else
{
$row = $vbulletin->db->query_first("
SELECT userid
FROM " . TABLE_PREFIX . "user
WHERE username = '" . $vbulletin->db->escape_string($vbulletin->GPC['username']) . "'"
);
if (!$row)
{
print_cms_default_data_form($upgrade_phrases['finalupgrade.php']['user_not_found']);
}
else
{
require_once(DIR . "/install/cmsdefaultdata/default_data_functions.php");
if (can_install_default_data())
{
add_default_data();
add_default_attachments($row['userid']);
echo_flush("<p>" . $upgrade_phrases['finalupgrade.php']['cms_data_import_success'] . "</p>");
}
}
}
Comment
-
I am starting a new board and while I have time to launch, I also have much to do. Not the least of which is to write dozens of articles. I have installed and reinstalled several times and never get the option to install the default. What this leaves me, and apparently others with, is a blank page. I understood there would be a learning curve to this, but I have a bit of experience with CMS products and this is fairly intolerable. A friend showed me his setup, and I was mighty impressed. It appeared it could be set up pretty fast. <sigh>
I was excited about returning to vB after a 5 year run with another popular paid for software. I still could be, I don't mind rolling up my sleeves and all. But this is more like sitting on my hands till someone figures out how to solve this problem, if I understand correctly.
Yes, I know rollouts like this are taxing to staff. Yes, I knew to expect some bugs. And, yes. It helps to vent since there appears to be no solution at hand........... :PLast edited by rastaX; Mon 4 Jan '10, 3:06pm.Comment
-
It was an informitive post, to let people know why the cms default data isn't being installed.
I haven't found a solution at this time to get the default data into the system, I believe it's been looked at and addressed for 4.0.1 or 4.0.2Comment
-
I think this will work open install/cmsdefaultdata/default_data_queries.php
Delete, at beginning of file
Code:<?php $cms_data_queries = array();
Code:$cms_data_queries[] = "
Find and replace
Code:" . TABLE_PREFIX . "
Find and replace
Code:";
Wouldn't that work to run on the database? I haven't tested it so use at your own risk.
Added: and upload the install/cmsdefaultdata/attachment files to your attachment folderComment
-
OK, thank you. I usually don't like to run any software before v.0.1 or .0.2 really. (given my druthers, a full .1 release) It's rarely fully "cooked" till a couple of revisions, so fair enough. I see your tentative release date for 4.0.1 is just a couple of days away and 4.0.2 is scheduled for the third week of January. Things on track so far?Comment
-
Is your server running in PHP Safe mode? Is your tmp directory writable by your server? You can find the location in your admincp > Settings > Options > Server Settings and Optimization Options > Safe Mode Temporary DirectoryAndrew Elkins
Former vBulletin Developer
Please do not PM me for support, please use the support system.
#1 rule before doing anything to a live site, Backup, Test and Re-Test.Comment
-
Just for the record and to help anyone else.
When I upgraded to 4.0.1 the first time I didn't choose to have the CMS default data. I tried it a 2nd time to get the default data and the choice was never even presented to me.
So, choose wisely on your first attempt!
Comment
-
I think I have same related problem here, but at Upgrade Script, I skipped the Install CMS Default Data because I don't know what username should I enter, so I skipped.
How to install CMS Default Data after Upgrade Processes completed?Comment
-
Try this:
- Uninstall the CMS plug in from AdminCP again
- re-run the install/upgrade.php file
- enter your username in the field when it appearsComment
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment