PDA

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



varesan
August 21st, 2009, 09:42
با سلام

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

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

http://parniaz.info/upload_image/41ed8c42ad1975e45409aac0a8a1c5de.jpg

اینم کل ارور :


"; // 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 " "; ?>

GharbHost
August 21st, 2009, 09:45
سلام اینکه سورس فایله ظاهرا، داره نشون میده .

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

http://img.majidonline.com

AmirHosein
August 21st, 2009, 09:48
دوست من تو یاهو مسنجر هم بهتون گفتم این ارور که من میبینم میگه فایل کانفیگ بانک اطلاعاتی رو پر نکردید