نمایش نتایج: از شماره 1 تا 3 , از مجموع 3

موضوع: مشکل در نصب اسکریپت

  1. #1
    عضو جدید varesan آواتار ها
    تاریخ عضویت
    Jul 2009
    نوشته ها
    93
    تشکر تشکر کرده 
    0
    تشکر تشکر شده 
    42
    تشکر شده در
    41 پست

    Question مشکل در نصب اسکریپت

    با سلام

    دوستان عزیز بنده به پرتال را روی لوکال می خوام نصب کنم .
    لوکال هم wampserver
    ولی فایل install.php رو که دارم اجرا می کنم داره سورس فایل رو به من نشون میده . در صورتی که پرتال های دیگه مشکلی ندارم و داره نصب می شه .

    به نظرتون مشکل چیه ؟



    اینم کل ارور :


    "; // STEP 0 if($task == "step0") { echo " Install SE Ultimate

    Welcome to the SE Ultimate installation program. Installing SE Ultimate is easy! To get started, click the button below. If you have questions about the installation process or SE ULtimate in general, get in touch with us at SE Ultimate.

    If you are installing SE Ultimate yourself:
    Before continuing, please be sure you have reviewed the installation instructions provided in install.html. If you are unfamiliar with how to upload files via FTP, setup MySQL databases, or set permissions on files, I suggest that you acquire my free services. Most problems that arise post-installation happen because of an improper installation.

    To install SE Ultimate you will need:

    * One MySQL database
    * PHP 4.3 or newer
    * PHP Safe Mode OFF
    * GD Libaries 2.0 or newer

    For optional \"search engine friendly URLs\" you will need:

    * Apache webserver with mod_rewrite (ability to use .htaccess files)


    "; if($status == "failure") { echo "
    You provided an invalid license key."; } echo "
    Enter License Key:

    "; } if($task == "connect") { $mysql_host = $_POST['mysql_host']; $mysql_db = $_POST['mysql_db']; $mysql_user = $_POST['mysql_user']; $mysql_pass = $_POST['mysql_pass']; $error = NULL; if( $mysql_connect = @mysql_connect("$mysql_host", "$mysql_user", "$mysql_pass") ) { $mysql_select = @mysql_select_db("$mysql_db") or $error = mysql_error(); } else { $error = mysql_error(); } if(!$mysql_connect) { $success = 0; $result = "
    Failed to Connect to MySQL Server
    Please check your login information and try again.
    $error"; } elseif(!$mysql_select) { $success = 0; $result = "
    Failed to Select MySQL Database
    Please check your login information and try again.
    $error"; } else { $success = 1; $result = "Connection Successful
    Click the button below to continue.

    "; } if($success == 1) { $filename = "./include/database_config.php"; $somecontent = ""; if($handle = fopen($filename, 'w+')) { fwrite($handle, $somecontent); fclose($handle); } else { $success = 0; $result = "
    Failed to Create database_config.php
    Please be sure the \"include\" directory is set to CHMOD 777 and that you have uploaded install.php and installsql.php to your SE Ultimate root directory (NOT in the \"install/\" directory)."; } } @mysql_close($mysql_connect); $task = "step1"; } // STEP 1 if($task == "step1") { echo " Step 1: Connect to MySQL Database

    Please provide your MySQL database login information in the fields below. If you do not yet have an available MySQL database, you can most likely create one by accessing your website's control panel (i.e. cPanel or Plesk) or by simply contacting your hosting provider.

    MySQL Hostname

    MySQL Database Name

    MySQL Username

    MySQL Password

    Please enter your MySQL information in the fields to the left, then click the button below to connect.

    "; if($success == 0) { echo " "; } echo " $result "; } if($task == "step2") { echo " Step 2: Finalize Installation

    Now that your database is ready, we need to fill it with the appropriate tables and default data. Click the button below to complete your SE Ultimate installation.

    "; } if($task == "finalize") { function randomkeys($length) { $pattern = "abcdefghijklmnopqrstuvwxyz"; $key= $pattern{rand(0,36)}; for($i=1;$i<$length;$i++) { $key .= $pattern{rand(0,36)}; } return $key; } $randompass = randomkeys(10); $admin_password = crypt($randompass, "$1$"."admin123"."$"); include "./include/database_config.php"; include "./include/class_database.php"; $database = new se_database($database_host, $database_username, $database_password, $database_name); require("installsql.php"); $task = "step3"; } if($task == "step3") { echo " Installation Complete

    You have successfully completed the SE Ultimate installation process. You can now login to your control panel with the information shown below. After logging in, you can begin changing the system settings to suit your needs.

    1. Important: You must now delete \"install.php\" and \"installsql.php\" from your server. Failing to delete these files is a serious security risk!
    2. After logging in to your control panel you should visit the \"View Admins\" page and update your admin profile with your name and email address.
    3. Next, you will most likely want to get started by creating profile fields. Profile fields allow you to decide what will appear on your users' profiles. For example, if you want to create a social network about fitness, you would create fields like \"height\", \"weight\", \"favorite exercise\", etc., while if you wanted to create a social network about business, you might create fields like \"employer\", \"position\", \"education\", and so forth.
    4. You will also probably want to adjust the signup settings. These settings determine what happens when users create accounts on your social network.
    5. Finally, you might be ready to add your own style or apply your website's header/footer wrapper to your social network. To accomplish this, visit the HTML Templates page in your control panel. You can also edit your template files by opening them directly from the \"/templates\" directory on your server. Your \"/templates\" directory should already be inaccessible to web users (an included .htaccess file takes care of this) if you're on a Apache server. If you're running Windows IIS or another server platform, you might want to move the \"/templates\" directory to another place on your server so that it's not accessible to web users. If you decide to do this, you will need to update \"/include/smarty/smarty_config.php\" with the new path to your templates directory.

    Username: admin Password: $randompass
    [ Login to Control Panel ]
    "; } echo " "; ?>

  2. # ADS




     

  3. #2
    عضو انجمن
    تاریخ عضویت
    Jul 2009
    نوشته ها
    121
    تشکر تشکر کرده 
    179
    تشکر تشکر شده 
    309
    تشکر شده در
    185 پست

    پیش فرض پاسخ : مشکل در نصب اسکریپت

    سلام اینکه سورس فایله ظاهرا، داره نشون میده .

    عکسی که گذاشتی کلا قالب رو به هم ریخته ، اینجا آپلود کن خودش بهت کد مخصوص انجمن میده :

    http://img.majidonline.com
    ویرایش توسط GharbHost : August 21st, 2009 در ساعت 09:50

  4. #3
    عضو دائم AmirHosein آواتار ها
    تاریخ عضویت
    May 2009
    محل سکونت
    ایالت متحده تهران
    نوشته ها
    1,295
    تشکر تشکر کرده 
    1,464
    تشکر تشکر شده 
    4,051
    تشکر شده در
    1,562 پست

    پیش فرض پاسخ : مشکل در نصب اسکریپت

    دوست من تو یاهو مسنجر هم بهتون گفتم این ارور که من میبینم میگه فایل کانفیگ بانک اطلاعاتی رو پر نکردید
    می گویند تقوا از تخصص لازم تر است، آ نرا می پذیرم، اما می گویم: آنکس که تخصص ندارد و کاری را می پذیرد، بی تقواست.
    مصطفی چمران
    AmirHosein -{(@)}- WebHostingTalk . ir

  5. تعداد تشکر ها از AmirHosein به دلیل پست مفید


اطلاعات موضوع

کاربرانی که در حال مشاهده این موضوع هستند

در حال حاضر 1 کاربر در حال مشاهده این موضوع است. (0 کاربران و 1 مهمان ها)

موضوعات مشابه

  1. اسکریپت سرور نود32 اسکریپت سایت nod32 لایسنس نود32
    توسط larsa.soft در انجمن اسکریپت های دیگر
    پاسخ ها: 3
    آخرين نوشته: March 10th, 2014, 22:06
  2. اسکریپت به اسکریپت یا به هاست دسترسی داره؟؟؟!؟!؟!
    توسط looneir در انجمن سیستم های مدیریت محتوا
    پاسخ ها: 5
    آخرين نوشته: September 13th, 2013, 01:53
  3. پاسخ ها: 3
    آخرين نوشته: February 18th, 2011, 19:12

مجوز های ارسال و ویرایش

  • شما نمیتوانید موضوع جدیدی ارسال کنید
  • شما امکان ارسال پاسخ را ندارید
  • شما نمیتوانید فایل پیوست کنید.
  • شما نمیتوانید پست های خود را ویرایش کنید
  •