Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Why I Face Problems When Installing Discuz Board?
catforum
post Apr 12 2005, 11:41 AM
Post #1


Newbie [Level 3]
***

Group: Members
Posts: 44
Joined: 24-March 05
Member No.: 4,849



QUOTE
connect($dbhost, $dbuser, $dbpw, $dbname, $pconnect); $msg = ''; $quit = FALSE; $curr_os = PHP_OS; $curr_php_version = PHP_VERSION; if($curr_php_version < '4.0.0') { $msg .= "$lang[php_version_400]\t"; $quit = TRUE; } elseif($curr_php_version < '4.0.6') { $msg .= "$lang[php_version_406]\t"; } if(@ini_get(file_uploads)) { $max_size = @ini_get(upload_max_filesize); $curr_upload_status = $lang['attach_enabled'].$max_size; $msg .= $lang['attach_enabled_info'].$max_size."\t"; } else { $curr_upload_status = $lang['attach_disabled']; $msg .= "$lang[attach_disabled_info]\t"; } $query = $db->query("SELECT VERSION()"); $curr_mysql_version = $db->result($query, 0); if($curr_mysql_version < '3.23') { $msg .= "$lang[mysql_version_323]\t"; $quit = TRUE; } $curr_disk_space = intval(diskfreespace('.') / (1024 * 1024)).'M'; if(dir_writeable('./templates')) { $curr_tpl_writeable = $lang['writeable']; } else { $curr_tpl_writeable = $lang['unwriteable']; $msg .= "$lang[unwriteable_template]\t"; } if(dir_writeable('./customavatars')) { $curr_avatar_writeable = $lang['writeable']; } else { $curr_avatar_writeable = $lang['unwriteable']; $msg .= "$lang[unwriteable_avatar]\t"; } if(dir_writeable($attachdir)) { $curr_attach_writeable = $lang['writeable']; } else { $curr_attach_writeable = $lang['unwriteable']; $msg .= "$lang[unwriteable_attach]\t"; } if(dir_writeable('./forumdata')) { $curr_data_writeable = $lang['writeable']; } else { $curr_data_writeable = $lang['unwriteable']; $msg .= "$lang[unwriteable_forumdata]\t"; } if(dir_writeable('./forumdata/templates')) { $curr_template_writeable = $lang['writeable']; } else { $curr_template_writeable = $lang['unwriteable']; $msg .= "$lang[unwriteable_forumdata_template]\t"; $quit = TRUE; } if(dir_writeable('./forumdata/cache')) { $curr_cache_writeable = $lang['writeable']; } else { $curr_cache_writeable = $lang['unwriteable']; $msg .= "$lang[unwriteable_forumdata_cache]\t"; $quit = TRUE; } if(dir_writeable('./forumdata/accesslogs')) { $curr_accesslog_writeable = $lang['writeable']; } else { $curr_accesslog_writeable = $lang['unwriteable']; $msg .= "$lang[unwriteable_forumdata_accesslog]\t"; } if(strstr($tablepre, '.')) { $msg .= "$lang[tablepre_invalid]\t"; $quit = TRUE; } $db->select_db($dbname); if($db->error()) { $db->query("CREATE DATABASE $dbname"); if($db->error()) { $msg .= "$lang[db_invalid]\t"; $quit = TRUE; } else { $db->select_db($dbname); $msg .= "$lang[db_auto_created]\t"; } } $query - $db->query("SELECT COUNT(*) FROM $tablepre"."settings", 'SILENT'); if(!$db->error()) { $msg .= "$lang[db_not_null]\t"; $alert = " onSubmit=\"return confirm('$lang[db_drop_table_confirm]');\""; } else { $alert = ''; } if($quit) { $msg .= "$lang[install_abort]"; } else { $msg .= $lang['install_process']; } ?>


One of the example is above
Go to the top of the page
 
+Quote Post
wassie
post Apr 14 2005, 06:13 AM
Post #2


-OLD ADMIN-
***********

Group: Members
Posts: 1,184
Joined: 20-June 04
From: the bath-tub...
Member No.: 50



easy... you didn't run the mysql database quires (commands)
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Guestbook (cgi-script) Problems(1)
  2. Problems With Outlook Express(7)
  3. Installing Apache, Mysql, Phpmyadmin Locally(5)
  4. Error Code In Subscriptions Page(5)
  5. Installing Phpbb Forum On My Site?(5)
  6. Installing The Simple User System.(6)
  7. Installing Easymod(3)
  8. Installing Ipb(1)
  9. Having Problems With Installing Ipb 2.3.x(2)
  10. Bandwidth Count Up(6)
  11. Problems With Free Domain Name(6)
  12. File Manager Problems(3)
  13. Control Panel Will Not Let Me In [resolved](4)
  14. Installing Joomla And Shell Question(0)
  15. Installing Ffmpeg(7)
  1. Suspended Account Problems(4)
  2. Is The Server Ok?(1)
  3. Installing Theme On Smf Forum(4)
  4. Domain Change Problems(2)
  5. Problems With Ftp Access(1)
  6. Successfully Installing Joomla [resolved](2)
  7. Problems Adding An Email Account(3)
  8. Strange Site Problems(2)
  9. The Capitalization Filter(0)
  10. Installing Custom Fonts...(5)
  11. Problems?!(1)
  12. Movable Type 4(0)
  13. Host Problems(7)


 



- Lo-Fi Version Time is now: 7th October 2008 - 09:20 PM