cmsms and database on different servers

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
hillick

cmsms and database on different servers

Post 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?
cyberman

Re: cmsms and database on different servers

Post by cyberman »

Have you ask your provider if his database server allows connections from outside?
enisdev
Forum Members
Forum Members
Posts: 18
Joined: Mon May 22, 2006 7:25 am

Re: cmsms and database on different servers

Post by enisdev »

your ip or your db username must be configured in the database server to allow connection from outside.
hillick

Re: cmsms and database on different servers

Post 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?
cyberman

Re: cmsms and database on different servers

Post by cyberman »

Are you sure all paths in config.php are correct? Have you tried install wizard once again?
hillick

Re: cmsms and database on different servers

Post by hillick »

all paths appear to be correct...  running through the install process again hasnt helped???
hillick

Re: cmsms and database on different servers

Post 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
Pierre M.

Re: cmsms and database on different servers

Post 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
Locked

Return to “[locked] Installation, Setup and Upgrade”