Forum

Thread tagged as: Problem, Runway

`prev_url` not working on routed pages

There seem to be a few issues reported around prev_url not working. Related issues include:

For me, prev_url stops working when I'm on a page that has been routed.

How to recreate:

  1. Create a page in Runway using a master template as usual
  2. Get pagination working
  3. Add a route to the master page, go to a routed page, the previous url will no longer output anything

As mentioned in other threads, you can get around this using prev_page_number but it's confusing why prev_url doesn't work.

Here are some of my diagnostics:

Perch Runway: 3.0.10, PHP: 7.1.8, MySQL: mysqlnd 5.0.12-dev - 20150407 - $Id: b396954eeb2d1d9ed7902b8bae237b287f21ad9e $, with PDO
Server OS: Darwin, apache2handler
Installed apps: content (3.0.10), assets (3.0.10), categories (3.0.10), perch_blog (5.6.1), perch_forms (1.9.1)
App runtimes: <?php $apps_list = [ 'perch_blog', 'perch_forms' ];
PERCH_LOGINPATH: /perch
Image manipulation: GD Imagick
PHP limits: Max upload 32M, Max POST 32M, Memory: 128M, Total max file upload: 32M
F1: 3b606135b33e6a102526838f4152a807
Resource folder writeable: Yes
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
Jay George

Jay George 2 points

  • 3 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

OK, I think I've fixed that.

Yep, working now—thanks!

Bet it felt good to bury those threads :-)