Support (offered by community volunteers) > Upgrading CiviCRM
Smarty errors on upgrade from 1.7 to 1.8
rickcohen:
Upon upgrading my site (Drupal 5.2, MySQL 5.0.41, PHP 5.2.3) from 1.7 to 1.8, I had the same issue as indicated in this other topic (http://forum.civicrm.org/index.php/topic,689.0.html). I also noticed that at the foot of the page, it still said
--- Quote ---Powered by CiviCRM 1.7.9821
--- End quote ---
I followed the instructions in that post, but that caused my CiviCRM home page (index.php?q=civicrm/dashboard&reset=1) to come up blank. I restored the files, and the CiviCRM home page came back, but the Administer page is now blank and I'm getting some Smarty errors:
--- Code: --- Smarty::include(/home/nonprofi/domains/nonprofitcongress.org/public_html/files/civicrm/templates_c/en_US//%%F7/F73/F73DB36C%%Admin.tpl.php) [<a href='function.Smarty-include'>function.Smarty-include</a>]: failed to open stream: Success in /home/nonprofi/domains/nonprofitcongress.org/public_html/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1871.
--- End code ---
and
--- Code: --- Smarty error: problem creating directory '/home/nonprofi/domains/nonprofitcongress.org/public_html/files/civicrm/templates_c/en_US/%%F7/F73' in /home/nonprofi/domains/nonprofitcongress.org/public_html/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1095.
--- End code ---
and
--- Code: --- fopen(/home/nonprofi/domains/nonprofitcongress.org/public_html/files/civicrm/upload/latest-version-cache.txt) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in /home/nonprofi/domains/nonprofitcongress.org/public_html/sites/all/modules/civicrm/CRM/Utils/VersionCheck.php on line 113.
--- End code ---
Not sure what to do next...
Donald Lobo:
can u check directory permissions on the following three directories:
/home/nonprofi/domains/nonprofitcongress.org/public_html/files/civicrm/templates_c
/home/nonprofi/domains/nonprofitcongress.org/public_html/files/civicrm
/home/nonprofi/domains/nonprofitcongress.org/public_html/files
The webserver user needs to be able to read and write in ALL those three directories
lobo
rickcohen:
Lobo,
All three are 777, however, as CiviCRM creates subdirectories in templates_c, those are creating as 751 and are unchangeable.
rickcohen:
Tried removing the templates_c directory again, hoping to delete the directory and recreate as 777, but it won't delete because en_US/%%8B/8B4/ keeps coming up as not empty (even though it appears to be). The same directory continue to come up as 751 and won't let me change it
rickcohen:
Is there any way to populate the templates_c directory without 777 access? I have asked my host for assistance with the CHMOD command as I don't have SSH access and they are very hesitant about opening up that type of vulnerability.
Navigation
[0] Message Index
[#] Next page
Go to full version