No Output - Fresh Installation
Posted: Wed Jan 04, 2012 4:56 am
Hi,
I recently installed AlegroCart in order to develop a payment module. I was able to install the software correctly and get quite far into development but I have turned my development machine on this-morning and Alegro cart is not running correctly. When I attempt to access the store homepage or the admin homepage (after logging in; I am able to login) then a white screen - no output - is displayed. Furthermore, the page is taking much longer to load. Close to 30 seconds, perhaps.
I have reinstalled AlegroCart (with a new database) numerous times now, thinking that I must have corrupted something inadvertantly, but am still getting this problem. The Apache error log says nothing and the access log gives me a 200 status for the requested page. The AlegroCart logs are empty and no PHP warnings are displayed (error_reporting is set to E_ALL | E_STRICT and display_errors is set to 1 both locally and globally).
I attempted a little debugging and found that it was the controller's dispatch() method that was causing the delay. See the two excerpts of code and their output below:
function dispatch(&$request) {
$action = $this->requestHandler($request);
var_dump($action);echo 'a.<br>';
array(2) { ["class"]=> string(4) "home" ["method"]=> string(5) "index" }
function execute($action) {
var_dump($action);
array(2) { ["class"]=> string(11) "maintenance" ["method"]=> string(16) "CheckMaintenance" } array(2) { ["class"]=> string(4) "home" ["method"]=> string(5) "index" }
I'm not sure if that well help. Am I missing something painfully obvious? Any advice you can offer would be great. Thank you.
PHP 5.3, Apache 2.2, XAMPP installation running on localhost.
Edit: I just tried in another browser (Opera 11.52) and it displays correctly. This makes no sense, since I was developing on Firefox 8 yesterday with no problem.
I recently installed AlegroCart in order to develop a payment module. I was able to install the software correctly and get quite far into development but I have turned my development machine on this-morning and Alegro cart is not running correctly. When I attempt to access the store homepage or the admin homepage (after logging in; I am able to login) then a white screen - no output - is displayed. Furthermore, the page is taking much longer to load. Close to 30 seconds, perhaps.
I have reinstalled AlegroCart (with a new database) numerous times now, thinking that I must have corrupted something inadvertantly, but am still getting this problem. The Apache error log says nothing and the access log gives me a 200 status for the requested page. The AlegroCart logs are empty and no PHP warnings are displayed (error_reporting is set to E_ALL | E_STRICT and display_errors is set to 1 both locally and globally).
I attempted a little debugging and found that it was the controller's dispatch() method that was causing the delay. See the two excerpts of code and their output below:
function dispatch(&$request) {
$action = $this->requestHandler($request);
var_dump($action);echo 'a.<br>';
array(2) { ["class"]=> string(4) "home" ["method"]=> string(5) "index" }
function execute($action) {
var_dump($action);
array(2) { ["class"]=> string(11) "maintenance" ["method"]=> string(16) "CheckMaintenance" } array(2) { ["class"]=> string(4) "home" ["method"]=> string(5) "index" }
I'm not sure if that well help. Am I missing something painfully obvious? Any advice you can offer would be great. Thank you.
PHP 5.3, Apache 2.2, XAMPP installation running on localhost.
Edit: I just tried in another browser (Opera 11.52) and it displays correctly. This makes no sense, since I was developing on Firefox 8 yesterday with no problem.