Page 1 of 1
cmsms and database on different servers
Posted: Wed Dec 13, 2006 11:37 am
by hillick
hi all,
say i have my cms site on one server and the database im going to be connecting to on another server, how do i set up cms?
im on step 4 of the cms setup and this is the case... where id normally enter localhost what must i enter? i have the ip address of the server but is this all i need? if so it doesnt appear to be working

can anyone help?
Re: cmsms and database on different servers
Posted: Wed Dec 13, 2006 12:12 pm
by cyberman
Have you ask your provider if his database server allows connections from outside?
Re: cmsms and database on different servers
Posted: Wed Dec 13, 2006 12:32 pm
by enisdev
your ip or your db username must be configured in the database server to allow connection from outside.
Re: cmsms and database on different servers
Posted: Thu Dec 14, 2006 9:40 am
by hillick
ok i got the connection sorted, my provider hadnt provided correct permissions....
now however, i get this error
NOTE: whenever you see 'path to doc root' i have changed this for privacy
Warning: opendir(path to doc root/plugins) [function.opendir]: failed to open dir: No such file or directory in /path to doc root/lib/content.functions.php on line 682
Warning: readdir(): supplied argument is not a valid Directory resource in /path to doc root/lib/content.functions.php on line 683
Warning: closedir(): supplied argument is not a valid Directory resource in /path to doc root/lib/content.functions.php on line 731
string(118) "Smarty error: [in template:17 line 9]: syntax error: unrecognized tag 'sitename' (Smarty_Compiler.class.php, line 583)" string(115) "Smarty error: [in template:17 line 9]: syntax error: unrecognized tag 'title' (Smarty_Compiler.class.php, line 583)" string(116) "Smarty error: [in template:17 line 10]: syntax error: unrecognized tag 'title' (Smarty_Compiler.class.php, line 583)" string(119) "Smarty error: [in template:17 line 12]: syntax error: unrecognized tag 'metadata' (Smarty_Compiler.class.php, line 583)" string(121) "Smarty error: [in template:17 line 15]: syntax error: unrecognized tag 'stylesheet' (Smarty_Compiler.class.php, line 583)" string(123) "Smarty error: [in template:17 line 18]: syntax error: unrecognized tag 'cms_selflink' (Smarty_Compiler.class.php, line 583)" string(123) "Smarty error: [in template:17 line 19]: syntax error: unrecognized tag 'cms_selflink' (Smarty_Compiler.class.php, line 583)" string(123) "Smarty error: [in template:17 line 20]: syntax error: unrecognized tag 'cms_selflink' (Smarty_Compiler.class.php, line 583)" string(117) "Smarty error: [in template:17 line 52]: syntax error: unrecognized tag 'anchor' (Smarty_Compiler.class.php, line 583)" string(117) "Smarty error: [in template:17 line 53]: syntax error: unrecognized tag 'anchor' (Smarty_Compiler.class.php, line 583)" string(123) "Smarty error: [in template:17 line 64]: syntax error: unrecognized tag 'cms_selflink' (Smarty_Compiler.class.php, line 583)" string(117) "Smarty error: [in template:17 line 72]: syntax error: unrecognized tag 'search' (Smarty_Compiler.class.php, line 583)" string(122) "Smarty error: [in template:17 line 79]: syntax error: unrecognized tag 'breadcrumbs' (Smarty_Compiler.class.php, line 583)" string(115) "Smarty error: [in template:17 line 94]: syntax error: unrecognized tag 'menu' (Smarty_Compiler.class.php, line 583)" string(116) "Smarty error: [in template:17 line 101]: syntax error: unrecognized tag 'news' (Smarty_Compiler.class.php, line 583)" string(117) "Smarty error: [in template:17 line 111]: syntax error: unrecognized tag 'print' (Smarty_Compiler.class.php, line 583)" string(117) "Smarty error: [in template:17 line 112]: syntax error: unrecognized tag 'title' (Smarty_Compiler.class.php, line 583)" string(119) "Smarty error: [in template:17 line 113]: syntax error: unrecognized tag 'content' (Smarty_Compiler.class.php, line 583)" string(118) "Smarty error: [in template:17 line 118]: syntax error: unrecognized tag 'anchor' (Smarty_Compiler.class.php, line 583)" string(124) "Smarty error: [in template:17 line 121]: syntax error: unrecognized tag 'cms_selflink' (Smarty_Compiler.class.php, line 583)" string(124) "Smarty error: [in template:17 line 122]: syntax error: unrecognized tag 'cms_selflink' (Smarty_Compiler.class.php, line 583)" string(126) "Smarty error: [in template:17 line 138]: syntax error: unrecognized tag 'global_content' (Smarty_Compiler.class.php, line 583)"
i really need some help with this... anyone?
Re: cmsms and database on different servers
Posted: Thu Dec 14, 2006 12:02 pm
by cyberman
Are you sure all paths in config.php are correct? Have you tried install wizard once again?
Re: cmsms and database on different servers
Posted: Fri Dec 15, 2006 4:22 am
by hillick
all paths appear to be correct... running through the install process again hasnt helped???
Re: cmsms and database on different servers
Posted: Fri Dec 15, 2006 6:14 am
by hillick
ok, scratch the last problem, i uploaded the cms again, now im getting the following
Fatal error: Call to undefined function token_get_all() in /path to doc root/lib/smarty/internals/core.write_compiled_include.php on line 45
Re: cmsms and database on different servers
Posted: Sun Dec 17, 2006 12:34 pm
by Pierre M.
May be an FTP upload failure.
Scratch and reinstall but before make sure the upload is OK. Check your FTP client's log.
PM