• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Moving from one server to another with new folder structure
PostPosted: Sun Jul 08, 2012 10:32 pm 
Offline
New Member

Joined: Fri Jul 06, 2012 12:17 pm
Posts: 6
What i didnt do?
I had server with linux folders like /var/
I want to put on free server with has only /public_html/

Heres config i edited to:
#This is your database connection information. Name of the server,
#username, password and a database with proper permissions should
#all be setup before CMS Made Simple is installed.
$config['dbms'] = 'mysql';
$config['db_hostname'] = 'mysql1.000webhost.com';
$config['db_username'] = 'a7633053_cms';
$config['db_password'] = 'xxxxxx';
$config['db_name'] = 'a7633053_cms';
#Change this param only if you know what you are doing
$config["db_port"] = '';


#If app needs to coexist with other tables in the same db,
#put a prefix here. e.g. "cms_"
$config['db_prefix'] = 'cms_';

#Use persistent connections? They're generally faster, but not all hosts
#allow them.
$config['persistent_db_conn'] = false;

#Use ADODB Lite? This should be true in almost all cases. Note, slight
#tweaks might have to be made to date handling in a "regular" adodb
#install before it can be used.
$config['use_adodb_lite'] = true;

#-------------
#Path Settings
#-------------

#Document root as seen from the webserver. No slash at the end
#If page is requested with https use https as root url
#e.g. "http://blah.com
$config['root_url'] = 'http://medus.web44.net';

#SSL URL. This is used for pages that are marked as secure.
$config['ssl_url'] = 'https://medus.web44.net';

#Path to document root. This should be the directory this file is in.
#e.g. /var/www/localhost
$config['root_path'] = '/';

#Name of the admin directory
$config['admin_dir'] = 'admin';

#Where do previews get stored temporarily? It defaults to tmp/cache.
$config['previews_path'] = '/tmp/cache';

#Where are uploaded files put? This defaults to uploads.
$config['uploads_path'] = '/uploads';

#Where is the url to this uploads directory?
$config['uploads_url'] = $config['root_url'] . '/uploads';

Now my website shows error in http://medus.web44.net/

PHP Error Message

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(//lib/classes/class.CGExtensions.php) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/a7633053/public_html/lib/autoloader.php on line 39

Free Web Hosting

PHP Error Message

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(//lib/classes/interface.CGExtensions.php) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/a7633053/public_html/lib/autoloader.php on line 45

Free Web Hosting

PHP Error Message

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(//lib/classes/class.CmsRegularTaskHandler.php) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/a7633053/public_html/lib/autoloader.php on line 39

Free Web Hosting

PHP Error Message

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(//lib/classes/interface.CmsRegularTaskHandler.php) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/a7633053/public_html/lib/autoloader.php on line 45

Free Web Hosting

PHP Error Message

Fatal error: Class 'CmsRegularTaskHandler' not found in /home/a7633053/public_html/include.php on line 360

Free Web Hosting


Top
 Profile  
 
 Post subject: Re: Moving from one server to another with new folder struct
PostPosted: Mon Jul 09, 2012 12:34 am 
Offline
Administrator
Administrator
User avatar

Joined: Thu Mar 09, 2006 5:32 am
Posts: 11815
Location: Arizona
I'm not so sure a free hosing server is the best idea, but what I do to make sure all the paths are correct is to put the install folder from the version of CMSMS that you are using back in the root then run install, but...

STEP IN 5 WHERE YOU PUT THE DB INFO, DON'T CREATE TABLES NOR INSTALL DEFAULT CONTENT

_________________
Extensions » Modules/Tags click the name of the module/tag or Help to the right to get its parameters.
Right click and view source is a great way to see what you have to work with.
Check ver. CMSMS, PHP, server OS, in System Information page.
Default content http://multiintech.com/defaultcontent/
People are Wonderful
Business is Great
Life is Terrific
Ever wonder what happened to the Album module? Well it is alive and well.
http://album.multiintech.com/
Image


Top
 Profile  
 
 Post subject: Re: Moving from one server to another with new folder struct
PostPosted: Mon Jul 09, 2012 5:42 pm 
Offline
New Member

Joined: Fri Jul 06, 2012 12:17 pm
Posts: 6
Maybe then i can shoot 2 rabits by upgrading to latest using install folder from latest version?


Top
 Profile  
 
 Post subject: Re: Moving from one server to another with new folder struct
PostPosted: Tue Jul 10, 2012 3:18 pm 
Offline
Administrator
Administrator
User avatar

Joined: Thu Mar 09, 2006 5:32 am
Posts: 11815
Location: Arizona
If you add the install folder from a newer version there is a good chance it won't work, use the one for your version first with the steps above then upload a new version of CMSMS and run upgrade is best way to make sure you don't wreck what you have...

_________________
Extensions » Modules/Tags click the name of the module/tag or Help to the right to get its parameters.
Right click and view source is a great way to see what you have to work with.
Check ver. CMSMS, PHP, server OS, in System Information page.
Default content http://multiintech.com/defaultcontent/
People are Wonderful
Business is Great
Life is Terrific
Ever wonder what happened to the Album module? Well it is alive and well.
http://album.multiintech.com/
Image


Top
 Profile  
 
 Post subject: Re: Moving from one server to another with new folder struct
PostPosted: Tue Nov 13, 2012 11:12 am 
Offline
New Member

Joined: Fri Jul 06, 2012 12:17 pm
Posts: 6
Ok so i have 1.8.2
So i dl 1.8.2 full but copy from it only install folder
I remove config.php and config_lang.php so new could be generated yes?
Then i make new empty config.php couse somehow it asks for that new to be made. Config_lang.php i dont need to make empty yes?
So i do /install/install.php 1st or upgrade?
Maybe i do install/install so all is working with current?

So then i dl newest version or some version between latest? And i copy not just install but all yes? And do install/upgrade.php yes?


Top
 Profile  
 
 Post subject: Re: Moving from one server to another with new folder struct
PostPosted: Mon Jan 28, 2013 8:10 pm 
Offline
Administrator
Administrator
User avatar

Joined: Thu Mar 09, 2006 5:32 am
Posts: 11815
Location: Arizona
Yes, after you get it to show correctly then upgrade to latest, /install/upgrade.php...

_________________
Extensions » Modules/Tags click the name of the module/tag or Help to the right to get its parameters.
Right click and view source is a great way to see what you have to work with.
Check ver. CMSMS, PHP, server OS, in System Information page.
Default content http://multiintech.com/defaultcontent/
People are Wonderful
Business is Great
Life is Terrific
Ever wonder what happened to the Album module? Well it is alive and well.
http://album.multiintech.com/
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Arvixe - A CMSMS Partner