Fork me on GitHub

Problems migrating a site  Bottom

  • Hi,

    I've just moved an existing Zikula site onto another server. All the existing files were just ftp'd over and the config/config.php file was changed to point to the new database, but it doesn't work. At first for the inital index.php file I just got a BLANK SCREEN and no source code. However when I added a .htaccess file that showed PHP errors I got the following;

    Fatal error: Smarty error: unable to write to $compile_dir '/var/www/vhosts/cwlitfest.org/httpdocs/litfest/pnTemp/pnRender_compiled'. Be sure $compile_dir is writable by the web server user. in /var/www/vhosts/cwlitfest.org/httpdocs/litfest/includes/classes/Smarty/Smarty.class.php on line 1092

    So help! The database credentials are fine as I tested them with another script. Also this version of Zikula is a few years old, from the config.php file I got; - 24342 2008-06-06 markwest.

    Thanks,

    Phil Abbey
  • Quote

    Smarty error: unable to write to $compile_dir '/var/www/vhosts/cwlitfest.org/httpdocs/litfest/pnTemp/pnRender_compiled'. Be sure $compile_dir is writable by the web server user.


    Looks like the direction 'pnRender_compiled' in pntemp is not writable.

    --
    MU(t) Beratung Internet

    Modul MUTransport
  • Depending of your hosting,
    go to your control panel and make it writable through the file manager,
    or if you have console access you can perform a chmod 777 or less on that folder.
    Do you know how?

    BTW, welcome to the community forums!

    --
    - Mateo T. -
    Mis principios... son mis fines

This list is based on users active over the last 60 minutes.