cms_selflink no longer works after moving site to another server

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Skald
New Member
New Member
Posts: 2
Joined: Wed Oct 22, 2008 6:55 pm

cms_selflink no longer works after moving site to another server

Post by Skald »

We're moving to a different hosting company and we wanted to test our website on the new before we switchover the nameservers. 

I FTP'd all files to the new hosting server, did a SQL dump from the old and recreated the database.  I can log in to the admin backend and perform tasks and our home page comes up perfectly... until you click on anything that is linked with cms_selflink.

http://www.afpimaging.com is the current and soon-to-be defunct server.  http://67.192.191.166 is the new one.

For example, if on the old site you click on "Veterinary Products" you are taken to http://www.afpimaging.com/veterinaryproducts, the page alias for that product page.

On the new site, the browser gets a 404 and the URL didplayed in the address bar is http://67.192.191.166/veterinaryproducts. 

I've changed everything that needed to be changed in config.php to my knowlege.  Any ideas?

CMSMS 1.3 "Cuba" is installed, PHP 5.1.6 with safe mode off on both, Apache 2.2.3, Red Hat Enterprise on the new.
Last edited by Skald on Wed Oct 22, 2008 7:26 pm, edited 1 time in total.
Skald
New Member
New Member
Posts: 2
Joined: Wed Oct 22, 2008 6:55 pm

Re: cms_selflink no longer works after moving site to another server

Post by Skald »

Debug Mode:

Code: Select all

Debug: (0.026705) - (1078816)

loading smarty

Debug: (0.037822) - (1330712)

loading adodb

Debug: (0.04171) - (1406616)

loading page functions

Debug: (0.048179) - (1546224)

loading content functions

Debug: (0.054482) - (1715840)

loading pageinfo functions

Debug: (0.056016) - (1742392)

loading translation functions

Debug: (0.057164) - (1759072)

loading events functions

Debug: (0.06064) - (1838744)

loading php4 entity decode functions

Debug: (0.06592) - (2030632)

done loading files

Debug: (0.089074) - (2684856)

<br>
(mysql): SELECT sitepref_name, sitepref_value from cms_siteprefs<br>
 Error (0): <br>

Debug: (0.096131) - (2744432)

<br>
(mysql): SELECT * FROM cms_userplugins<br>
 Error (0): <br>

Debug: (0.110696) - (3092568)

<br>
(mysql): SELECT * FROM cms_modules WHERE admin_only = 0 ORDER BY module_name<br>
 Error (0): <br>

Debug display of 'Load Content Operations':(0.15135) - (4044432)
Debug display of 'End Load Content Operations':(0.167333) - (4447280)
Debug: (0.167814) - (4448616)

<br>
(mysql): SELECT content_id FROM cms_content WHERE default_content = 1<br>
 Error (0): <br>

Debug display of 'End of include':(0.315154) - (7579584)
Debug: (0.31578) - (7541064)

<br>
(mysql): SELECT content_id FROM cms_content WHERE default_content = 1<br>
 Error (0): <br>

Debug: (0.316346) - (7543872)

<br>
(mysql): SELECT c.content_id, c.content_name, c.content_alias, c.menu_text, c.titleattribute, c.hierarchy, c.metadata, c.id_hierarchy, c.prop_names, c.create_date AS c_create_date, c.modified_date AS c_date, c.cachable, c.last_modified_by, t.template_id, t.encoding, t.modified_date AS t_date FROM cms_templates t INNER JOIN cms_content c ON c.template_id = t.template_id WHERE (c.content_alias = '51' OR c.content_id = '51') AND c.active = 1<br>
 Error (0): <br>

Debug: (0.316825) - (7545912)

<br>
(mysql): SELECT MAX(modified_date) AS thedate FROM cms_content c<br>
 Error (0): <br>

Debug: (0.322607) - (7664408)

<br>
(mysql): SELECT template_id, template_name, template_content, stylesheet, encoding, active, default_template, modified_date FROM cms_templates WHERE template_id = '20'<br>
 Error (0): <br>

Debug: (0.346552) - (8417280)

<br>
(mysql): SELECT eh.tag_name, eh.module_name, e.originator, e.event_name, eh.handler_order, eh.handler_id, eh.removable FROM cms_event_handlers eh
        INNER JOIN cms_events e ON e.event_id = eh.event_id
        ORDER BY eh.handler_order ASC<br>
 Error (0): <br>

Debug: (0.379892) - (8507472)

<br>
(mysql): SELECT DISTINCT media_type FROM cms_css c, cms_css_assoc
      WHERE  css_id    = assoc_css_id
      AND    assoc_type  = 'template'
      AND    assoc_to_id = '20'<br>
 Error (0): <br>

Debug: (0.380647) - (8548376)

start global_content_get_template

Debug: (0.384297) - (8614992)

<br>
(mysql): SELECT htmlblob_id, htmlblob_name, html, owner, modified_date FROM cms_htmlblobs WHERE htmlblob_name = 'Header'<br>
 Error (0): <br>

Debug: (0.384749) - (8617632)

end global_content_get_template

Debug: (0.384869) - (8617792)

start global_content_get_timestamp

Debug: (0.38498) - (8617952)

end global_content_get_timestamp

Debug display of 'Start Loading Hierarchy Manager':(0.390314) - (8620512)
Debug display of 'starting tree':(0.390412) - (8620664)
Debug: (0.396561) - (8744184)

file needs loading

Debug: (0.400131) - (8888144)

<br>
(mysql): SELECT * FROM cms_content WHERE parent_id = -1 ORDER BY hierarchy<br>
 Error (0): <br>

Debug display of 'ending tree':(0.409128) - (9080664)
Debug display of 'End Loading Hierarchy Manager':(0.409232) - (9051064)
Debug: (0.409328) - (9051328)

start findNodeByTag

Debug: (0.409443) - (9051496)

end findNodeByTag

Debug: (0.409656) - (9052176)

load properties called

Debug: (0.41007) - (9053512)

<br>
(mysql): SELECT * FROM cms_content_props WHERE content_id = '51'<br>
 Error (0): <br>

Debug: (0.410319) - (9057136)

load properties called

Debug: (0.410665) - (9057336)

<br>
(mysql): SELECT * FROM cms_content_props WHERE content_id = '51'<br>
 Error (0): <br>

Debug: (0.437191) - (9151712)

start findNodeByTag

Debug: (0.437374) - (9151880)

end findNodeByTag

Debug: (0.437857) - (9152224)

<br>
(mysql): SELECT * FROM cms_content WHERE content_id = '70'<br>
 Error (0): <br>

Debug: (0.438453) - (9154824)

start findNodeByTag

Debug: (0.439413) - (9154912)

end findNodeByTag

Debug: (0.439811) - (9155184)

<br>
(mysql): SELECT * FROM cms_content WHERE content_id = '97'<br>
 Error (0): <br>

Debug: (0.440335) - (9156784)

start findNodeByTag

Debug: (0.441244) - (9156872)

end findNodeByTag

Debug: (0.441631) - (9157256)

<br>
(mysql): SELECT * FROM cms_content WHERE content_id = '137'<br>
 Error (0): <br>

Debug: (0.442153) - (9159784)

start findNodeByTag

Debug: (0.44303) - (9159872)

end findNodeByTag

Debug: (0.443241) - (9160008)

start findNodeByTag

Debug: (0.444623) - (9160120)

end findNodeByTag

Debug: (0.444834) - (9160440)

start findNodeByTag

Debug: (0.446154) - (9160600)

end findNodeByTag

Debug: (0.446834) - (9144696)

start global_content_get_template

Debug: (0.447205) - (9145872)

<br>
(mysql): SELECT htmlblob_id, htmlblob_name, html, owner, modified_date FROM cms_htmlblobs WHERE htmlblob_name = 'footer'<br>
 Error (0): <br>

Debug: (0.44764) - (9146656)

end global_content_get_template

Debug: (0.447754) - (9146816)

start global_content_get_timestamp

Debug: (0.447865) - (9146976)

end global_content_get_timestamp
Last edited by Skald on Wed Oct 22, 2008 7:24 pm, edited 1 time in total.
alby

Re: cms_selflink no longer works after moving site to another server

Post by alby »

Skald wrote: I've changed everything that needed to be changed in config.php to my knowlege.  Any ideas?
Run install/index.php but uncheck write tables in DB and install sample content (in step 5 about)
This re-create a new correct config.php

Alby
Post Reply

Return to “CMSMS Core”