Problems, need help? Have a tip or advice? Post it here.
13 posts Page 2 of 2
Best practice is to insert any links, including images with dynamic path:
<cms:show k_site_link />path/to/resource.jpg

For templates and pages it is
<cms:link masterpage='template'php' />

If you do necessary changes in code, it will be also good for future, when you enable pretty-urls.
Couch will serve proper links in that case.

If your broken images are saved in richtext editor - that is a problem. I don't know another way than manually redo them. Maybe someone knows.
Join COUCH:TALK channel here https://t.me/couchcms_chat
Ryazania — a framework to boost productivity with Add-ons viewtopic.php?f=2&t=13475
Support my efforts to help the community https://boosty.to/trendo/donate
trendoman wrote: If your broken images are saved in richtext editor - that is a problem. I don't know another way than manually redo them. Maybe someone knows.


this, they were added via the couch cms
@John, I think the installation routine is not picking up the install-ex.php file.

If you are willing to give it another shot, please try this -

Make sure the dump file is named 'install-ex.php' (that is hyphen in there, not an underscore).
Also make sure that it is placed in 'couch' folder.

Edit it to add the following highlighted line to the very top -
<?php die('<h1>dump file found!</h1>'); ?>
<?php
if ( !defined('K_INSTALLATION_IN_PROGRESS') ) die(); // cannot be loaded directly
..

Now edit the couch/config file to find the following ..
// 7b.
// Needed only if multiple instances of this CMS are to be installed in the same database
// (please use only alphanumeric characters or underscore (NO hyphen))
define( 'K_DB_TABLES_PREFIX', '' );

.. and add a database prefix (e.g. new_ ) to make it -
define( 'K_DB_TABLES_PREFIX', 'new_' );

This way we can begin a new installation ignoring the existing tables.

Access the admin-panel. Couch will try to begin a new installation. In normal course, it should pick up the install-ex.php. If it does, the change we made to the dump file will result in this message being shown -
dump file found!

If you get that message, then the dump file is being picked up and the installation should use the data in it. Remove the line we added to it and try accessing the admin-panel to compete the installation.

Please let me know how it goes.
13 posts Page 2 of 2