Page 1 of 1

[solved] Problems when moving dev folder

Posted: Mon Jun 07, 2010 1:59 pm
by krayzee
Hi,  :-[
this might be a very akward beginner's question for you and I'm sure the solution is quite simple but I just can't figure it out.

I designed a website on http://www.dr-dent-gross/dev and now I want to put it online, away from the /dev.

I tried defining the /dev folder as a standard on my webspace administration panel but then the whole CSS and Templates are completely lost? The content shows up but completely unstyled. If I move everything out of the dev folder onto the "first level" it shows a smarty error.

Can you please give me some advice on how to handle this?

Thanks a lot in advance!

Re: Problems when moving dev folder

Posted: Mon Jun 07, 2010 2:01 pm
by replytomk3

Re: Problems when moving dev folder

Posted: Mon Jun 07, 2010 2:17 pm
by krayzee
ok thanks... I found out that basically all I have to do is change the config?

But whats better... ? keeping the /dev and set this as standard or moving everything to "first level" ?

edit:
I changed the config and set the /dev as root folder on my webspace admin panel.

now i get these errors:

string(113) "Smarty error: [in tpl_top:23 line 1]: [plugin] unknown tag - 'process_pagedata' (core.load_plugins.php, line 124)"
Fatal error: Call to undefined function: smarty_cms_function_process_pagedata() in /homepages/17/d312046788/htdocs/dev/tmp/templates_c/%%25^25E^25E0F81D%%tpl_top%3A23.php on line 5


and i cannot clear my cache in the global setting, because all it says ist:

"string(54) "Smarty error: unable to read resource: "siteprefs.tpl"" "

Re: Problems when moving dev folder

Posted: Mon Jun 07, 2010 2:46 pm
by replytomk3
Explain exactly what you did.

You pointed your DNS settings to /dev ???

Then you changed config settings? Which?

If you change your DNS, then the config setting for
$config['root_url'] =
must change and not include the last "/"

PM me your config.php, .htaccess, and DNS setting (or post here with passwords deleted)

Re: Problems when moving dev folder

Posted: Mon Jun 07, 2010 3:03 pm
by krayzee
I set the root folder of the domain to the folder /dev so that the browser shows contents of this folder when calling the domain www.dr-dent-gross.de

Then I opened up the config.php and changed everything pointing to the dev folder, I also ommitted the / like you said.
I can't open and write the htaccess file, this is locked.

I'll PM you the config.

Re: Problems when moving dev folder

Posted: Mon Jun 07, 2010 3:09 pm
by replytomk3
Hold on.

Do you want the site to be in /dev or not???

Re: Problems when moving dev folder

Posted: Mon Jun 07, 2010 3:11 pm
by replytomk3
The config file you sent me is CORRECT if your site was located in the root of your server (not a subfolder like /dev).

Where is your DNS pointing?

Re: Problems when moving dev folder

Posted: Mon Jun 07, 2010 3:15 pm
by krayzee
My DNS ist pointing to the root server. I now moved all the dev items onto the root. But now I get an Error 403 - Forbidden.

I feel lost and also a bit stupid :-/

edit: I don't care if it stays in /dev or not. I just want it to work ....

Re: Problems when moving dev folder

Posted: Mon Jun 07, 2010 3:21 pm
by replytomk3
Nothing stupid about it.

First of all, DNS settings can take some time to propagate - as much as several hours or more.

PM me FTP access, I would like to take a look at files that transferred.

Re: Problems when moving dev folder

Posted: Mon Jun 07, 2010 3:22 pm
by krayzee
Never mind! It's working now!!

Maybe it just took some time to set itself up.

THANKS for your help  :) :)

I feel really relieved now *happysigh*

Re: [solved] Problems when moving dev folder

Posted: Mon Jun 07, 2010 3:23 pm
by replytomk3
DNS switch.