Contents of config file being displayed

Bug #532382 reported by Kevin Richards
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OOPMH!
New
Undecided
Unassigned

Bug Description

I have installed the OOMPH code on my windows machine with PHP v5.2.
Other PHP apps seem to behave ok.

When I browse to http://localhost/oaiphp/index.php I get some of the contents from the oaidp-config.php being displayed in the browser. The content seems to start from

'phdthesis', 'setName'=>'PHD Thesis', 'setDescription'=>''), //array('setSpec'=>'math ...

to the end of the file. This seems to indicate something goes wrong at that point in the config php file???
The html part of the index.php is displayed below the config file contents.

Any clue?

Revision history for this message
Antti Salminen (antti-salminen) wrote :

Can't say much from that and it's been long since I actually set this up to do something. Try enabling more error reporting in php.ini to see if you can get PHP to output some sort of an error if you haven't already.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.