Am I mising something here? When I try to install the OS version of 4.2.1, there is no option to install demo data
Am I mising something here? When I try to install the OS version of 4.2.1, there is no option to install demo data
Cheers Malcolm
Genius4U Limited - Ingenious simple IT solutions for you / Genial einfache IT Lösungen für Sie
http://www.genius4u.com or http://www.genius4u.de
You're not missing anything. I went back through the installation a second time because I thought I must have missed it, but it is gone.
I was able to install the demo data under 4.2.1 by editing the [sugar directory]/install/performSetup.php file and commenting out the "if" statement that tests whether the session variable setup_db_pop_demo_data is set to true. That is, change:
if( $setup_db_pop_demo_data ){
set_time_limit( 301 );
echo "<br>";
echo '<b>Populating the database tables with demo data (this may take a little while)...</b>';
echo "<br><br>";
print( $render_table_close );
print( $render_table_open );
$current_user = new User();
$current_user->retrieve(1);
include("install/populateSeedData.php");
}
to
// if( $setup_db_pop_demo_data ){
set_time_limit( 301 );
echo "<br>";
echo '<b>Populating the database tables with demo data (this may take a little while)...</b>';
echo "<br><br>";
print( $render_table_close );
print( $render_table_open );
$current_user = new User();
$current_user->retrieve(1);
include("install/populateSeedData.php");
// }
This *SEEMS* to have worked okay but please keep in mind that (a) I am an ultra Sugar noobie, (b) I regularly fearlessly hack stuff to death until it no longer works then blame poor documentation, and (c) I just tried this after running into the same problem and reading the first two posts in this thread, and only spent a few minutes trying it out.
![]()
Ray
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks