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
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- craigh responded to »Using PageUtil::addVar() to load script code« 03:29 PM
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Problems migrating a site
-
- Rank: Registered User
- Registered: Apr 04, 2011
- Last visit:
- Posts: 1
-
- Rank: Developer
- Registered: Jan 14, 2009
- Last visit: May 20, 2010
- Posts: 46
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 -
- Rank: Team Member
- Registered: Sep 06, 2006
- Last visit: May 09, 2010
- Posts: 2446
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
- Moderated by:
- Support
