Jump to content

Recommended Posts

Posted

i have developed a pw's website locally under vm box - ubuntu 14.04 x64

I created a digitalocean ubuntu 14.04 droplet for demo to client

php version and apache version are same as my local dev enviroment.

After I moved my files to digitalocean,

I got this error ?

Compile Error: require(): Failed opening required '/var/www/html/site/templates/_init.php' (include_path='.:/usr/share/php:/usr/share/pear') (line 168 of /var/www/html/wire/core/TemplateFile.php) 

who have experience on digitalocean vps cloud ?

ps i could logon to pw's backend admin and able to edit any of pages

Posted

If you created the _init.php yourself, then have a look at it's chmod. Maybe the apache service on the vps can't open it because of that. If it's from a site profile, than it should have the same chmod as the other files, so it should work as long as you can access the backend as well.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...