View Single Post
  #1  
Old 02-05-2015, 06:46 PM
zoe's Avatar
zoe zoe is offline
the power of love
 
Join Date: Feb 2015
Location: hell
Posts: 25
Gender: Unknown/Other
Credits: 3,991
zoe is on a distinguished road
Question 'class_initializer.php' issues!

Hello everyone!!
I've installed MAMP and set up the latest Mysidia script. When I launch localhost though I get this error:

PHP Code:
Warning: require(inc/config.php): failed to open streamNo such file or directory in /Applications/MAMP/htdocs/classes/class_initializer.php on line 97

Fatal error
: require(): Failed opening required 'inc/config.php' (include_path='.:/Applications/MAMP/bin/php/php5.6.2/lib/php'in /Applications/MAMP/htdocs/classes/class_initializer.php on line 97 
These are lines 95 through 97 of my class_initializer.php file:

PHP Code:
  private function initialize(){
        
$config "{$this->dir}inc/config.php";
        require 
$config
I think it has to do with the MAMP setup, since ive heard its a lot like WAMP and when you install WAMP you have to mess around with your config.php file a bit. I haven't found any helpful MAMP tutorials though, so I can't be sure.
Reply With Quote