We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum

Forum

Thread tagged as: Error

Perch 3 Update Docs

Hello,

In your docs for updating to Perch 3, you say we can delete the default runway apps (Dropbox, S3 etc).

But you don't say we need to update the runway config file for the handler_path

Dexter Harrison

Dexter Harrison 29 points

  • 2 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Good point - thanks!

No problem!

Good job by the way, looks awesome.

Do you have any docs for updating our own apps?

Drew McLellan

Drew McLellan 2638 points
Perch Support

Yes, those are on their way.

Awesome thank you

Think this is the same thing but posted anyway. I deleted the default Runway Apps and then tried 'Backup Now' resulting in the errors below. Resolved by restoring the /perch/addons/perch_dropbox folder and contents ...

Warning: include(/home/devstreetsahead/public_html/perch/addons/apps/perch_dropbox/PerchDropbox_ResourceBucket.class.php): failed to open stream: No such file or directory in /home/devstreetsahead/public_html/perch/core/lib/PerchResourceBuckets.class.php on line 89

Warning: include(): Failed opening '/home/devstreetsahead/public_html/perch/addons/apps/perch_dropbox/PerchDropbox_ResourceBucket.class.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/devstreetsahead/public_html/perch/core/lib/PerchResourceBuckets.class.php on line 89

Fatal error: Uncaught Error: Class 'PerchDropbox_ResourceBucket' not found in /home/devstreetsahead/public_html/perch/core/lib/PerchResourceBuckets.class.php:91 Stack trace: #0 /home/devstreetsahead/public_html/perch/core/lib/PerchResourceBuckets.class.php(30): PerchResourceBuckets::factory(Array) #1 /home/devstreetsahead/public_html/perch/core/runway/lib/PerchBackupPlan.class.php(100): PerchResourceBuckets::get('backup') #2 /home/devstreetsahead/public_html/perch/core/runway/lib/PerchBackupPlan.class.php(45): PerchBackupPlan->run_database_backup() #3 /home/devstreetsahead/public_html/perch/core/runway/settings/modes/backup.runs.list.pre.php(20): PerchBackupPlan->run(true) #4 /home/devstreetsahead/public_html/perch/core/settings/backup/index.php(33): include('/home/devstreet...') #5 {main} thrown in /home/devstreetsahead/public_html/perch/core/lib/PerchResourceBuckets.class.php on line 91

Hi Graham,

In your runway.php config file change:

'handler_path' => PERCH_PATH.'/addons/apps/perch_dropbox/PerchDropbox_ResourceBucket.class.php',

to

'handler_path' => PERCH_CORE.'/runway/apps/perch_dropbox/PerchDropbox_ResourceBucket.class.php',

You will need to change open stack and amazon_s3 too

Thanks. Just worked that out and was about to post the solution. :-)

No problem, I should of made my original post more clear