index.php returns blank page
Permalink 1 user found helpful
Hi everyone,
Encountering a problem I haven't been able to peel through with just research. Both index.php and gallery seem to be having an error, DB error for the gallery and index.PHP is displaying a blank page Ive searched and read the following posts:
http://www.concrete5.org/community/forums/chat/index-php-returns-bl...
http://www.mysite.com/index.php = blank
http://www.mysite.com/login = works and can login - redirects to blank page
www.www.mysite.com/index.php/dashboard... = displays dashboard
http://www.mysite.com/gallery = displays
Warning: Creating default object from empty value in Root/packages/gallery/blocks/gallery/controller.php
My index.php displays:
.
Error Log:
Warning: Creating default object from empty value in Root/packages/gallery/blocks/gallery/controller.php on line 51 x 200
htaccess:
Database backed up without error.
I didn't upgrade or reload c5 as Im not sure if there we edits made to c5 core. Error occurred after the site owner was editing.
Not sure what I should do next - and insight, videos or resources would be awesome. Thanks
edit: another detail - the site has been running for like 2 years, some recent editing done seems to be the culprit.
edit2: confirmed with host that its not a parsing issue. Also had a recent version update and had it versioned back to ensure that wasn't that cause, tested PHP 5.2-5.5 . All a no.
Bwints
Encountering a problem I haven't been able to peel through with just research. Both index.php and gallery seem to be having an error, DB error for the gallery and index.PHP is displaying a blank page Ive searched and read the following posts:
http://www.concrete5.org/community/forums/chat/index-php-returns-bl...
http://www.mysite.com/index.php = blank
http://www.mysite.com/login = works and can login - redirects to blank page
www.www.mysite.com/index.php/dashboard... = displays dashboard
http://www.mysite.com/gallery = displays
Warning: Creating default object from empty value in Root/packages/gallery/blocks/gallery/controller.php
My index.php displays:
<?php require('concrete/dispatcher.php');
Error Log:
Warning: Creating default object from empty value in Root/packages/gallery/blocks/gallery/controller.php on line 51 x 200
htaccess:
# -- concrete5 urls start -- <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}/index.html !-f RewriteCond %{REQUEST_FILENAME}/index.php !-f RewriteRule ^(.*)$ index.php/$1 [L] </IfModule> # -- concrete5 urls end --
Database backed up without error.
I didn't upgrade or reload c5 as Im not sure if there we edits made to c5 core. Error occurred after the site owner was editing.
Not sure what I should do next - and insight, videos or resources would be awesome. Thanks
edit: another detail - the site has been running for like 2 years, some recent editing done seems to be the culprit.
edit2: confirmed with host that its not a parsing issue. Also had a recent version update and had it versioned back to ensure that wasn't that cause, tested PHP 5.2-5.5 . All a no.
Bwints
Being able to access the dashboard meant I didn't really have to dive into access or error logs.
The problem was they changed the page designs. This is what I get for listening to what they claimed to have done without thinking they might not be telling me the whole truth >.>
Switched the page design back and both gallery and index problems were fixed.