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: Problem

Deleting Items in Admin Panel

Hello,

I have a Perch instance installed in a testing environment (I'm using Plesk's preview feature) and I'm running into an issue when deleting items from the /perch panel. Every time I click delete, Array ( ) appears. Is there a way I could delete these from the database without messing anything up? I have a feeling the error is happening due to the weird URL (http://149.56.98.183/plesk-site-preview/gobesttransit.com/149.56.98.183/perch/core/apps/content/delete/?id=4).

Summary information
Perch: 3.1.1, PHP: 5.6.33-0+deb8u1, MySQL: 5.5.60, with PDO
Server OS: Linux, fpm-fcgi
Installed apps: content (3.1.1), assets (3.1.1), categories (3.1.1)
App runtimes: <?php $apps_list = [ ];
PERCH_LOGINPATH: /perch
PERCH_PATH: /var/www/vhosts/gobesttransit.com/httpdocs/perch
PERCH_CORE: /var/www/vhosts/gobesttransit.com/httpdocs/perch/core
PERCH_RESFILEPATH: /var/www/vhosts/gobesttransit.com/httpdocs/perch/resources
Image manipulation: GD
PHP limits: Max upload 2M, Max POST 8M, Memory: 128M, Total max file upload: 2M
F1: 3b606135b33e6a102526838f4152a807
Resource folder writeable: Yes
HTTP_HOST: gobesttransit.com
DOCUMENT_ROOT: /var/www/vhosts/gobesttransit.com/httpdocs
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php

Thank you in advance for your help! -Trevor Brandt

Trevor Brandt

Trevor Brandt 0 points

  • 1 year ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

You won't be able to use that preview feature, it doesn't resolve to the root of your site properly as far as Perch is concerned.

Point a subdomain at the server for testing so that root is root.