دوستان سلام.من مشکل دارم وقتی میخام شبکه اجتماعی Sharetronix نصب کنم ارور میده. در مرحله ی 3= Not Compatible Please correct the highlighted settings and hit "Refresh". Apache HTTP Server required رو زده FAIL مشکل چیه؟ _________________________________________________________________________________________________ حالا وقتی میخام شبکه اجتماعی ow-faow-fa نصب کنم مشکل چیه؟ در مرحله ی دیتابس ارور میده Could not connect to Database Error: SQLSTATE[HY000] [2005] Unknown MySQL server host 'localhost ' (1) (دیتابس هم خالیه خالیه - همه اطلاعات رو هم درست میزنم ولی...... ) مشکل چیه؟ _________________________________________________________________________________________________ وقتی میخام شبکه اجتماعی پی اچ پی رو اکستراک کنم ارور میده= Archive: /home/gamesbaz/public_html/PHPFOX-.zip End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of /home/gamesbaz/public_html/PHPFOX-.zip or /home/gamesbaz/public_html/PHPFOX-.zip.zip, and cannot find /home/gamesbaz/pu ___________________________________________________________________________________________________ شانسه ما داریم؟؟ شبکه اجتماعی بع ما نیومده!!!!!!!
پاسخ : مشکل با شبکه اجتماعی راجع به شیرترانیکس توی این مسیر /public_html/install/include شما وارد ستاپ 3 بشید بعد این کد پیدا کنید . پاکش کنید بعد مراحل نصب انجام بدید 'apache_mod_rewrite' => FALSE,
پاسخ : مشکل با شبکه اجتماعی مراحل رو انجام دادم ولی بازم......ولی بازم همون ارور رو میدهNot CompatiblePlease correct the highlighted settings and hit "Refresh".Apache HTTP Server required
پاسخ : مشکل با شبکه اجتماعی خودمم زیاد سر در نمیارم این کد های اصلاح شده هستش <?php $PAGE_TITLE = 'Installation - Step 3'; $s = & $_SESSION['INSTALL_DATA']; $texts = array ( 'is_apache' => 'Apache HTTP Server required', 'apache_mod_rewrite' => 'Apache: mod_rewrite module required', 'mysql_version_5' => 'MySQL: version 5.0 or higher required', 'php_version_51' => 'PHP: version 5.1 or higher required', 'php_curl_or_urlfopen' => 'PHP: cURL is needed, or else "allow_url_fopen" directive should be On', 'php_short_open_tag_on' => 'PHP: "short_open_tag" directive should be On', 'php_gd' => 'PHP: gd extension required', ); $check = array ( 'is_apache' => FALSE, 'apache_mod_rewrite' => TRUE, 'mysql_version_5' => FALSE, 'php_version_51' => FALSE, 'php_curl_or_urlfopen' => FALSE, 'php_short_open_tag_on' => FALSE, 'php_gd' => FALSE, ); if( function_exists('apache_get_version') ) { $check['is_apache'] = TRUE; } elseif( isset($_SERVER['SERVER_SIGNATURE']) && preg_match('/Apache/i', $_SERVER['SERVER_SIGNATURE']) ) { $check['is_apache'] = TRUE; } elseif( isset($_SERVER['SERVER_SOFTWARE']) && preg_match('/Apache/i', $_SERVER['SERVER_SOFTWARE']) ) { $check['is_apache'] = TRUE; } $tmp = floatval(substr(phpversion(), 0, 3)); if( $tmp >= 5.1 ) { $check['php_version_51'] = TRUE; } $tmp = my_mysql_connect($s['MYSQL_HOST'], $s['MYSQL_USER'], $s['MYSQL_PASS']); if( $tmp ) { $tmp = my_mysql_get_server_info($tmp); $tmp = str_replace('.','',substr($tmp, 0, 5)); $tmp = intval($tmp); if( $tmp >= 500 ) { $check['mysql_version_5'] = TRUE; } } if( function_exists('gd_info') ) { $check['php_gd'] = TRUE; } if( function_exists('curl_init') ) { $check['php_curl_or_urlfopen'] = TRUE; } else { $tmp = intval(ini_get('allow_url_fopen')); if( $tmp == 1 ) { $check['php_curl_or_urlfopen'] = TRUE; } } $tmp = intval(ini_get('short_open_tag')); if( $tmp == 1 ) { $check['php_short_open_tag_on'] = TRUE; } if( function_exists('apache_get_modules') ) { $tmp = @apache_get_modules(); if( is_array($tmp) ) { foreach($tmp as $mod) { if( $mod != 'mod_rewrite' ) { continue; } $check['apache_mod_rewrite'] = TRUE; break; } } } if( !$check['apache_mod_rewrite'] ) { ob_start(); phpinfo(8); $tmp = ob_get_contents(); ob_get_clean(); if( ! empty($tmp) ) { $pos = strpos($tmp, 'Loaded Modules'); if( FALSE !== $pos ) { $tmp = substr($tmp, $pos); $pos = strpos($tmp, '</table>'); if( FALSE !== $pos ) { $tmp = substr($tmp, 0, $pos); if( preg_match('/mod_rewrite/ius', $tmp) ) { $check['apache_mod_rewrite'] = TRUE; } } } } } if( !$check['apache_mod_rewrite'] ) { $url = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; $pos = strpos($url, 'install'); if( FALSE !== $pos ) { $url = rtrim(substr($url, 0, $pos+8),'/').'/etc/modrewritetest/'; $tmp1 = [MENTION=26931]file[/MENTION]_get_contents($url.'test1.txt'); $tmp2 = [MENTION=26931]file[/MENTION]_get_contents($url.'test2.txt'); if( $tmp1=='123' && $tmp2!='123' ) { $check['apache_mod_rewrite'] = TRUE; } } } $error = FALSE; foreach($check as $tmp) { if( ! $tmp ) { $error = TRUE; break; } } if( ! $error ) { $_SESSION['INSTALL_STEP'] = 3; header('Location: ?next&r='.rand(0,99999)); } $html .= ' <div class="ttl"> <div class="ttl2"> <h3>System Compatibility Check</h3> </div> </div>'; if( $error ) { $html .= errorbox('Not Compatible', 'Please correct the highlighted settings and hit "Refresh".', FALSE, 'margin-top:5px;margin-bottom:0px;'); $_SESSION['INSTALL_STEP'] = 2; } $html .= ' <div class="greygrad" style="margin-top: 5px;"> <div class="greygrad2"> <div class="greygrad3" style="padding-top:0px;"> <table cellpadding="5" style="width:100%;">'; foreach($check as $k=>$v) { $txt = $texts[$k]; $html .= ' <tr> <td colspan="2" style="font-size:0; line-height:0; height: 0; padding: 0; border-bottom: 1px solid #efefef ;"></td> </tr> <tr> <td style="'.($v?'':'color:red;font-weight:bold;').'">'.$txt.'</td> <td style="text-align:right; font-weight:bold;">'.($v?'<span style="color:#008506;">OK</span>':'<span style="color:red;">FAIL</span>').'</td> </tr>'; } $html .= ' <tr> <td colspan="2" style="font-size:0; line-height:0; height: 0; padding: 0; border-bottom: 1px solid #efefef ;"></td> </tr> </table>'; if( ! $error ) { $html .= ' <div style="margin-top:20px;"> <a href="?next">» Continue</a> </div>'; } $html .= ' </div> </div> </div>'; ?>
پاسخ : مشکل با شبکه اجتماعی بازم نهههههههه متاسفانه این بار هم درست نشد!! Not CompatiblePlease correct the highlighted settings and hit "Refresh". [TABLE="width: 937"] [TR] [TD="colspan: 2"][/TD] [/TR] [TR] [TD]Apache HTTP Server required[/TD] [/TR] [/TABLE] واسه پشتیبانی باید کجا رجوع کنم؟؟؟؟
پاسخ : مشکل با شبکه اجتماعی من خودم هیچی نمیدونم اینا رو از یه سایته دیگه در میارم با admin سرور تماس بگیرید تا فعال کنن. در صورت باقی ماندن مشکل و حاصل شدن اطمینان از فعال بودن mod_rewrite می توان خط ۱۹ فایل step_3.php در پوشه ی install/include رو به صورت زیر تغییر داد : 'apache_mod_rewrite' =>TRUE
پاسخ : مشکل با شبکه اجتماعی apache_mod_rewrite' =>TRUEهمین است.نیاز به تغیر ندارهداداش شما از کجا در میاری؟؟ (سایتش؟