Hi
Ive moved everything using ssh ftp however the db on the new server has different credentials...
Where is the file in Piwigo that I need to edit to connect properly to the new server..
Derek
Offline
Hi all (again)
I have copied my old piwigo install to a new server using ssh. Exported and re-imported my db file.
Ran piwigo and got the following error.
./_data/templates_c no write access
#1 mkgetdir /var/www/piwigo/include/template.class.php(82)
#2 Template::Template /var/www/piwigo/include/common.inc.php(200)
#3 include_once /var/www/piwigo/index.php(26)
HELP!!!!!
Del
Offline
site > local > config > database.inc.php
Jack
Offline
deljones wrote:
./_data/templates_c no write access
OK this is a folder permissions issue. Use SSH or FTP and change the permissions to the folders.
Jack
Offline
jack..
All folders?
755?
777 for upload?
Offline
My folders within _data are all 755
To be honest most of the folders are 755
Jack
Offline
I am on my 3rd server move, so its not too bad.
Jack
Offline
Hi jack..
Just checked...
ALL folders are 755
ALL files are 664 in the folders and outside
I used SFTP (SSH) to do the transfer. :( :(
Im doing another transfer again just to make sure but the reult will be the same
./_data/templates_c no write access
#1 mkgetdir /var/www/piwigo/include/template.class.php(82)
#2 Template::Template /var/www/piwigo/include/common.inc.php(200)
#3 include_once /var/www/piwigo/index.php(26)
Del
Offline
Delete the files in /_data/templates_c and maybe up the permissions to higher than 755 for the folder.
I was SSHing earlier for the first time and I used rsync as its a bit smoother and doesn't bother with files of the same size and name...only changes what has changed.
Jack
Offline
Halfway through the transfer.
What are those templates? The old piwigo is still working... Will deleting these not cause problems?
Offline
IIRC the stuff in _data is temporary stuff. So that templates folder is the cached data. The i is where the thumbnails etc are.
In a odd twist my site is down and there is bugger all I can do about it atm as I think the webhost has blocked my account as I used rsync to copy 200,000 files @ 20G between two servers in the same building, it took less than an hour to do but I think it tripped the auto-ban for using too much server power.
Jack
Offline
change to 777 and dont forget to SHIFT and refresh to force a new refresh.
Jack
Offline