PDA

View Full Version : Cài đặt xampp khi chạy php ra trang trắng



minhthai
23-09-2011, 06:26 PM
Mình cài xampp rồi đã bật SQL, Apache lên hết rồi. Import database vào luôn rồi mà sao vào trang index.php thì lại ra trang trắng các bạn

1. Mình tạo database tên là: test
2. Mình import database vào và thành công
3. Mình vào trang thư mục chứa web là: localhost/test/index.php thì nó lại ra trang trắng

Ko bít có chỉnh sửa j file config k các bạn. File config của mình đây:


<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@magentocommerce.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magentocommerce.com for more information.
*
* @category Mage
* @package Mage
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/


#define('COMPILER_INCLUDE_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'src');
#define('COMPILER_COLLECT_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'stat');

Tiểu Bá Vương 1404
23-09-2011, 06:51 PM
Bạn sử dụng Magento phải không ? Mình không có kinh nghiệm gì với cái mã nguồn này, tốt nhất bạn xem qua bài viết này : http://www.magentocommerce.com/wiki/1_-_installation_and_configuration/installing_on_windows_with_xampp_and_wamp
Một lời khuyên, nếu bạn muốn bắt đầu sử dụng một mã nguồn mới nào, nên đọc phần tài liệu họ cung cấp, đó là kinh nghiệm của mình trong trường hợp này ! Và mình luôn làm như vậy.

keroppi
23-09-2011, 08:24 PM
Sao ko dùng Wamp í cậu. Cái này hay hơn mà. Mình toàn dùng wamp