Problems, need help? Have a tip or advice? Post it here.
13 posts Page 1 of 2
using: http://docs.couchcms.com/miscellaneous/ ... erver.html

Migrating from Localhost -> Live Server sub domain.

subwebsite.domain.com

Following the directions, step by step and uploading all files to the ftp directory for the sub-domain which couch would consider "root", along with install-ex within couch folder). config.php db info is correct and db exists within. I then go to subwebsite.domain.com/couch, it prompts to start the install. I proceed to enter my user and password to continue and it says to login. I login and it says no templates installed. There should be many.

I have used this process in the past without issue and I am not sure what is different. The steps cannot get any simpler....

Any suggestions?
So I tried once again and get this screenshot after it asked me to login.

Screenshot: http://d.pr/i/1dZvh

When I try to go to the homepage, I get this error:

Code: Select all
ERROR: Tag "pages": masterpage 'homepage-slides.php' not found


homepage-sliders.php is a template that holds the sliders on the homepage (as the name so obviously reads). when I go to the domain/homepage-slides.php

So I then proceed (while logged into super admin) to visit the homepage-slides.php, then go back to the admin and I see the template there (just that template) but no data.

Go back to the homepage and it states: ERROR: Tag "pages": masterpage 'events.php' not found

So I can manually activate each template and reinput data are my choices? Or find another way to transfer the site?

I am not sure what to do at this point, hoping for suggestions on why this is happening. The server I am installing on already has other installations of couch (on different domains of course, but same server).
What is in config.php as K_SITE_URL?

The thing is, when you copied all the files, you have to make changes to appropriate config sections. Only after Couch knows where to look for its files, you can start installing couch with install-ex.php.
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
Hi Trendoman

This did not fix the issue, previously I have never touched that setting as the example listed it such as domain.com/folder/folder/etc and I am working under an actual subdomain that doesn't use that and everything within is considered the "root" for that sub domain.

So to call couch, I go to http://name.domain.com/couch not http://www.doman.com/name/couch

Either way, I tried that line 3 different ways and re-installed with the same results - the first is how it is by default:
Code: Select all
//define( 'K_SITE_URL', 'http://www.test.com/subfolder1/subfolder2/mysite/' );


then:
Code: Select all
define( 'K_SITE_URL', 'http://name.domain.com/' );

Code: Select all
define( 'K_SITE_URL', 'http://www.domain.com/name/' );


Same Results. :(
Well, you definitely should be putting subdomain to it, like this:
define( 'K_SITE_URL', 'http://name.domain.com/' );

Next, please check that in your templates the first line couch call points correctly to the folder.

I think, you should also investigate output of <cms:dump_all /> or <cms:show k_site_link /> to make sure Couch senses your location correctly.
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
Hi Trendoman,

I left it like that.

The templates have the same at the top:

Code: Select all
<?php require_once('couch/cms.php'); ?>
<cms:template title='Home' clonable='1' order='1' nested_pages='1' >


I tried to do a cms:dump on the index however it can't get past the error I listed in first post.

Moving forward, made a test.php file:

Code: Select all
<?php require_once('couch/cms.php'); ?>
<cms:template title='Test Template' clonable='1' >

   <cms:editable type='text' name='name' />

</cms:template>
<?php COUCH::invoke(); ?>


Then ran that test file as super admin by visiting: http://name.domain.com/test.php, and then went back to admin and saw the template there.

Went back to test.php and added <cms:dump all /> to the code.

I got these results (modified for privacy):
Code: Select all
__ROOT__
k_user_id: 1
k_user_name: john
k_user_title: john
k_user_email: email@email.com
k_user_access_level: 10
k_user_disabled: 0
k_logged_in: 1
k_logout_link: http://name.domain.com/couch/login.php?act=logout&nonce=bb45e777f854e8f69994d894591ccbb0&redirect=%2Ftest.php
k_cms_version: 1.4.7
k_cms_build: 20151124
k_admin_link: http://name.domain.com/couch/
k_admin_page:
k_site_link: http://name.domain.com/
k_admin_path: /home/username/public_html/name/couch/
k_site_path: /home/username/public_html/name/
k_template_title: Test Template
k_template_name: test.php
k_template_id: 3
k_template_is_clonable: 1
k_template_desc:
k_template_access_level: 0
k_template_is_commentable: 0
k_template_is_executable: 1
k_template_is_hidden: 0
k_template_order: 0
k_template_nested_pages: 0
k_template_gallery: 0
k_template_link: http://name.domain.com/test.php
k_prettyurls: 0
k_site_charset: utf-8
k_email_from: contact@yourdomain.com
k_email_to: youremail@gmail.com
k_is_commentable: 0
k_is_list_page: 0
k_is_list: 1
k_is_page: 0
k_is_home: 1
k_folder_pagecount: 1
k_folder_totalpagecount: 1
k_folder_immediate_children: 0
k_folder_totalchildren: 0
k_page_link: http://name.domain.com/test.php


Couch knows where it located as everything was fine on the dump, something else is happening.
I have run out of ideas. Maybe @Kk will help, if you provide him credentials. Or maybe he knows what the issue is..
Usually, install-ex.php does the trick. Maybe it is corrupted, did you try to recreate it?
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
Hi Trendo,

I have, multiple times tried to recreate the file. :(
john wrote: Hi Trendo,

I have, multiple times tried to recreate the file. :(

Hi, J :)
then what happens if you delete *new* db in PhpMyAdmin and import sql db from *old* PhpMyAdmin?

This way it is possible to 'import' correctly all the fields to make sure that database has nothing to do with the bug.

If all your templates and data show correctly, then the problem is very likely with Couch installation procedure.
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:
john wrote: Hi Trendo,

I have, multiple times tried to recreate the file. :(

Hi, J :)
then what happens if you delete *new* db in PhpMyAdmin and import sql db from *old* PhpMyAdmin?

This way it is possible to 'import' correctly all the fields to make sure that database has nothing to do with the bug.

If all your templates and data show correctly, then the problem is very likely with Couch installation procedure.


It looks like it's working, templates are showing in admin, except images are not showing most likely since they are still going to localhost. Probably something the installer would have handled. How do I do all that manually?
13 posts Page 1 of 2