Re: Magento shows blank page.
| From: | Ashley Sheridan | Date: | Thu, 03 Sep 2009 19:35:31 +0000 |
| Subject: | Re: Magento shows blank page. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-297649@lists.php.net to get a copy of this message | ||
On Fri, 2009-09-04 at 02:34 +0700, Ricky Tompu Breaky wrote:
> Dear my friends,
>
> Anybody has ever the same experience as I am having now with PHP5CGI
> and Magento?
>
> I'm using Apache, MySQL and Mandriva 2009.1.
>
> What I've done is:
> 1. Downloaded the Magento from:
>
> http://www.magentocommerce.com/getmagento/1.3.2.3/magento-1.3.2.3.zip6wƒ®Ðõ¨¨wã±
> ž
> and some other from is from:
> http://www.magentocommerce.com/download/get-started ;
> 2. Decompressed and put it into: '/var/www/html/magento';
> 3. Defined in the '/etc/httpd/conf/httpd.conf' :
> "
> <Directory '/var/www/html/magento'>
> allow from all
> </Directory>
> ";
> 4. I've create very2x simple php script in the directory of magento to
> tes the php module:
> "
> <?PHP
> echo "tes php";
> ?>
> ". And the result is looks OK. I can see "tes php" in my webbrowser.
>
> But the problem is once I visit the :
> 'http://127.0.0.1/magento/index.php' and the
> 'http://127.0.0.1/magento/install.php'; the result is
> totally
> empty/blank.
>
> Please share your knowledge and experience to me please.
>
> I'm stuck now.
>
> Thank you very much in advance.
>
A blank page with any PHP script is usually a good indication of a fatal
error where error messages are turned off. If this is a development
machine, turn errors on through the php.ini or .htaccess (you can't turn
them on via PHP as a syntax error there will prevent PHP from turning
error messages on). If it is a live server, then look to your error
logs.
Thanks,
Ash
http://www.ashleysheridan.co.uk