Login | Sign up | Toll-Free: 1-800-752-0455



4 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: January 24


I am struggling to make the 'Update Tables' function work on the permalink plugin. I have run the debug and this is the results. Lots of 'non-existent-url' references, which i assume isn't right:

$server[] = array (
'date' => '2018-01-23 15:17:06',
'HTTP_HOST' => 'my domain name here',
'SERVER_SOFTWARE' => 'Apache',
'PHP_VERSION' => '5.6.33',
'PHP_UNAME' => 'Linux [info removed] #1 SMP Wed Jan 17 13:19:23 EST 2018 x86_64',

'_NOTES_' => '',
'---------' => '---------',
PHP_SELF' => '/cmsb/plugins/permalinks/permalinks_dispatcher.php',
'PHP_SELF_ORIGINAL' => '/cmsb/plugins/permalinks/permalinks_dispatcher.php',
'QUERY_STRING' => 'this=that',
'REDIRECT_QUERY_STRING' => 'this=that',
'REDIRECT_SCRIPT_URI' => 'http://mydomainname/non-existant-url',
'REDIRECT_SCRIPT_URL' => '/non-existant-url',
'REDIRECT_URL' => '/non-existant-url',
'REQUEST_URI' => '/non-existant-url?this=that',
'SCRIPT_FILENAME' => '/home/xxxx/public_html/xxxx/cmsb/plugins/permalinks/permalinks_dispatcher.php',
'SCRIPT_NAME' => '/cmsb/plugins/permalinks/permalinks_dispatcher.php',
'SCRIPT_URI' => 'http://mydomainame/non-existant-url',
'SCRIPT_URL' => '/non-existant-url',
--------' => '--------',
'_OUTPUT_ACTUAL_' => '/non-existant-url',
'_OUTPUT_EXPECTED_' => '/non-existant-url',


Hi Jeff, 

That looks correct at first glance.  /non-existant-url/ is a hard-coded test value.  

What happens when you run "Updated Tables"?  Do you get an error?  Or just nothing happens?

And which version of Permalinks are you running?

Dave Edis - Senior Developer

Hi Dave

I'm running cmsb v3.12 (Build 2159) and permalinks 1.08.

I don't get an error when running Update Tables but the problem is wider than I realised. When permalinks is active (I have currently deactivated it, so there isn't an immediate panic to fix this) I am unable to save any changes to a section. When trying to save a record I get the error message: Permalinks: Permalink filepath does not exist '/home/username/public_html/foldername/filename.php'!