I can't get the MVC PHP framwork going

Hi,

Thanks for looking at this post! :smiley:

I’ve taken on a development project from a client and I can’t get it working locally after downloading the site.

Here’s the steps I’ve taken so far, I assume I’m just missing something out;

  1. installed xampp

  2. tested the server with a php file

  3. imported the sql database into myphpadmin

  4. Changed the password to match thoes in the projects config file for localhost (which i moved inside of htdocs).

  5. I then received this error code:
    Warning: in_array() expects parameter 2 to be array, null given in C:\xampp\htdocs\solelyoriginal\Runtime~runtime.php on line 2
    And a custom error message which basically said “Check the vhost settings”.

  6. I then followed some online steps to change the apache config files to work on local but I’m still having the same issue.

I know this is a long shot given my discription, but any ideas?

Many thanks,
Mike

Did you resolve this one as yet? Older post…

If not, what is like two on that php page? Is this site using a framework such as wordpress, joomla, etc? If so, you also
have to install those before running. Did you recreate ALL of the folders on the server in your local version? Did you set
the permissions on the folders to match the ones online in the server?

Lots of things can cause errors like these… Hope you already solved it and just didn’t let us know…

Sponsor our Newsletter | Privacy Policy | Terms of Service