Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: PHPFox showing blank page  (Read 26396 times)

0 Members and 1 Guest are viewing this topic.

sajugovind

  • Guest
PHPFox showing blank page
« on: May 17, 2014, 09:31:39 pm »
OMG! my site showing blank page, no front end no adminCP  :o  :o  :o


So the first step is to identify the error. I started searching to enable debug mode. Below steps help me to do the same.

To enable debug mode from your server you need to access your site via an FTP client or a hosting file manager. Once you have reached your sites root directory navigate to the folder...

include/setting/

Create a new file:

dev.sett.php

Open the file and add the following:

Code: [Select]
<?php
// Log error messages to XML flat file within the cache folder
define('PHPFOX_LOG_ERROR'true);

// Enable debug
define('PHPFOX_DEBUG'true);

// Debug level
define('PHPFOX_DEBUG_LEVEL'3);

// Force browsers to re-cache static files on each page refresh
define('PHPFOX_NO_CSS_CACHE'true);
define('PHPFOX_DEBUG_EXIT'true);
define('PHPFOX_NO_TEMPLATE_CACHE'true); 
?>

Save and close the file.

We can also enable debug mode only to a specific IP address.


Code: [Select]
<?php 
if ($_SERVER['REMOTE_ADDR'] == '192.192.192.192')

define('PHPFOX_DEBUG'true);

?>

Then I got the error and fixed the same.

Thank you,