Unable to Get Concrete to Run on Local WAMP

Permalink
I have Bitnami WAMP installed on my local machine, and am trying to get a 5.7 instance of Concrete to run. This is from a pre-exisiting C5 site

WAMP was installed successfully and database imported with no issues.

My problem is that I am getting a "white screen of death". Looking at the dev console, I am getting a 500 internal server error.

What might cause Concrete to fail to load on a local WAMP instance?

PineCreativeLabs
 
SeanDevoy replied on at Permalink Reply
I have 2 rather obvious questions that suspect you have checked, but here goes.

Have you tried loading a php file with just <?php phpinfo(); /> to verify your server, port and PHP are all OK?

Are you sure the old site was 5.7?
SeanDevoy replied on at Permalink Reply
Also, my next test would be to unzip C5 5.7 or 8 into a new folder and crewate an empty db. Then see if it installs ok.

That would help narrow it down to a server or a C5 problem or an application problem.

HTH,
Sean
PineCreativeLabs replied on at Permalink Reply
PineCreativeLabs
Checking the WAMP error log, I am getting this:

PHP Fatal error:  Call to a member function getCollectionAttributeValue() on null in C:\\Bitnami\\wampstack-5.6.30-1\\apache2\\htdocs\\ludwig-drums\\concrete\\elements\\header_required.php on line 76
SeanDevoy replied on at Permalink Reply
I cant be much help. I use Otomatic WAMPSERVER 3.06
Apache v2.4.23
PHP 5.6.25
MySQL 5.7.14
and I have no issues like this.

I so see the function is defined in \concrete\src\Page\Collection\Collection.php line 344.

Sorry,
Sean
SeanDevoy replied on at Permalink Reply
I just noticed the "on null" part, sorry. $c is not defined, very odd.

Are you sure this is a 5.7 site?
PineCreativeLabs replied on at Permalink Reply
PineCreativeLabs
Just did a fresh install of 5.7.5.9, and had no issues.

The site I'm working with uses the same version, so something is changed somewhere.
SeanDevoy replied on at Permalink Reply
OK, now we are getting there!
Copy the application and packages folders to the newly installed C5 folder. See how that goes. It will point to the db you copied as that is in the /application/config folder.

Sean