2013-05-16, 01:59:57
This is my first time deploying GS not off of FTP. I'm trying out a new host. In essence with ftp I could chmod my files to make them writeable. A Boxfile would be needed in this situation to make writeable directories.
Here is the documentation on the Boxfile: http://help.pagodabox.com/customer/porta...les/175475
Here is what I would normally chmod, so I'm just adding them as writeable on the Boxfile instead:
web1:
name: GetSimple
shared_writable_dirs:
- /backup
- /data
- /admin
- /theme
I would remove /admin after install so it could auto remove install, and setup files respectively. However I get 404'd when I go to try to /admin/install.php manually.
When I visit the target root of the file I get this:
Warning: include(admin/inc/common.php): failed to open stream: No such file or directory in /var/www/index.php on line 34 Warning: include(): Failed opening 'admin/inc/common.php' for inclusion (include_path='.:/usr/lib/php-5.3.8/php') in /var/www/index.php on line 34 Fatal error: Call to undefined function exec_action() in /var/www/index.php on line 37
I tried including a default version of PHP into the Boxfile.
This is my first time using a Boxfile or YAML, it's new to me. Perhaps someone has some experience? I'll gladly return a nice user friendly pagodabox.com guide if I can get an answer.
Here is the documentation on the Boxfile: http://help.pagodabox.com/customer/porta...les/175475
Here is what I would normally chmod, so I'm just adding them as writeable on the Boxfile instead:
web1:
name: GetSimple
shared_writable_dirs:
- /backup
- /data
- /admin
- /theme
I would remove /admin after install so it could auto remove install, and setup files respectively. However I get 404'd when I go to try to /admin/install.php manually.
When I visit the target root of the file I get this:
Warning: include(admin/inc/common.php): failed to open stream: No such file or directory in /var/www/index.php on line 34 Warning: include(): Failed opening 'admin/inc/common.php' for inclusion (include_path='.:/usr/lib/php-5.3.8/php') in /var/www/index.php on line 34 Fatal error: Call to undefined function exec_action() in /var/www/index.php on line 37
I tried including a default version of PHP into the Boxfile.
This is my first time using a Boxfile or YAML, it's new to me. Perhaps someone has some experience? I'll gladly return a nice user friendly pagodabox.com guide if I can get an answer.