Site copy

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
User avatar
qv90
Forum Members
Forum Members
Posts: 16
Joined: Wed Jul 01, 2009 1:50 pm

Site copy

Post by qv90 »

Hi,

I'm trying to copy a site from one location to another.

I have a site on-line, but for development purposes, I'm using a local apache server. I exported my database (with phpMyAdmin) on production system (files are synced on both systems), removed the "sitepref" table (because it contains some differences e.g. in Captcha font path settings) and imported SQL into my local installation. Both system runs CMSms 1.6.4. Everything seems to be fine, except if I try to edit a content page  in admin interface. Then I get the following error message

Code: Select all

Warning: get_class() expects parameter 1 to be object, string given in ...\admin\editcontent.php on line 165
Is this the official way to copy a site? Is there a productive tool available, which I can use else?

Any help is appreciated!

Greets
Florian
Last edited by qv90 on Mon Aug 17, 2009 2:21 pm, edited 1 time in total.
_________________
Live long and prosper
Florian
http://syncgw.com
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Site copy

Post by Nullig »

Check out the sitepusher module.

Nullig
User avatar
qv90
Forum Members
Forum Members
Posts: 16
Joined: Wed Jul 01, 2009 1:50 pm

Re: Site copy

Post by qv90 »

I just created a clean 1.6.4 install and got same error - could it be a bug in new CMSms version?

Greets
Florian
_________________
Live long and prosper
Florian
http://syncgw.com
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Site copy

Post by Nullig »

What version of PHP are you using?

Nullig
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Site copy

Post by calguy1000 »

The forum rules are here a reason.

That reason is to expedite support.   If we have to ask basic questions about your system environment before even attempting to answer your questions it:
  a) delays the process
  b) irritates us... try getting 50 questions a day where you have to ask 'what version of CMS are you using?'
  c) irritates you, because a simple question can take days to get resolved.

Then everybody gets frustrated, and nobody is happy.

Many people won't even answer the post if the minimum information we require isn't provided without prompting... just to save their irritation, they'll just ignore it.  Infact, my support for this thread is over, even though I do know the answer.

Please follow the forum rules, it helps the process.
Last edited by calguy1000 on Mon Aug 17, 2009 9:08 pm, edited 1 time in total.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
qv90
Forum Members
Forum Members
Posts: 16
Joined: Wed Jul 01, 2009 1:50 pm

Re: Site copy

Post by qv90 »

Sorry,
I thought it would be a bit too much of information

Code: Select all

PHP Version 5.3.0
Loaded Modules 	core mod_win32 mpm_winnt http_core mod_so mod_actions mod_alias mod_asis mod_auth_basic mod_auth_digest mod_authn_default mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_cgi mod_dav mod_dav_fs mod_dav_lock mod_dir mod_env mod_headers mod_include mod_info mod_isapi mod_log_config mod_mime mod_negotiation mod_rewrite mod_setenvif mod_ssl mod_status mod_autoindex_color mod_php5
SERVER_SIGNATURE 	Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color 
BZip2 Version 	1.0.5, 10-Dec-2007
"Olson" Timezone Database Version 	2009.10
Timezone Database 	internal
Default timezone 	Europe/Paris
DOM/XML API Version 	20031129
libxml Version 	2.7.3
EXIF Version 	1.4 $Id: exif.c,v 1.173.2.5.2.20.2.16 2009/06/12 14:03:35 felipe Exp $
Filter Revision 	$Revision: 1.52.2.39.2.16 $
GD Version 	2.0.35
FreeType Version 	2.3.9
libJPEG Version 	7.0
libPNG Version 	1.2.35
iconv library version 	1.13
IMAP c-Client Version 	2007e
json version 	1.2.1
libXML Compiled Version 	2.7.3
Multibyte regex (oniguruma) version 	4.7.1
mcrypt support	enabled
Version 	2.5.8
MHASH support 	Enabled
mime_magic support	
ming
Version 	0.4.2
MySQL Support	enabled
Client API version 	5.1.37
Version 	mysqlnd 5.0.5-dev - 081106 - $Revision: 1.3.2.27 $
ODBC Support	enabled
OpenSSL Library Version 	OpenSSL 0.9.8k 25 Mar 2009
OpenSSL Header Version 	OpenSSL 0.9.8k 25 Mar 2009
PCRE Library Version 	7.9 2009-04-11
PDF Support	enabled
PDFlib GmbH Version 	7.0.4p4
PECL Version 	2.1.6
Revision 	$Revision: 1.9 $
PDO Driver for MySQL	enabled
Client API version 	5.1.37
PDO Driver for SQLite 3.x	enabled
SQLite Library 	3.6.16
Phar: PHP Archive support	enabled
Phar EXT version 	2.0.0-dev
Phar API version 	1.1.1
CVS revision 	$Revision: 1.370.2.62 $
Reflection
Reflection	enabled
Version 	$Revision: 1.164.2.33.2.45.2.58 $
Session Support 	enabled
SimpleXML
Simplexml support	enabled
Revision 	$Revision: 1.151.2.22.2.35.2.32 $
Soap Client 	enabled
Soap Server 	enabled
Sockets Support 	enabled
SPL support	enabled
SQLite support	enabled
PECL Module version 	2.0-dev $Id: sqlite.c,v 1.166.2.13.2.9.2.22 2009/06/25 09:38:04 johannes Exp $
SQLite Library 	2.8.17
XML Support 	active
XML Namespace Support 	active
libxml2 Version 	2.7.3
XMLReader 	enabled
xmlrpc
core library version 	xmlrpc-epi v. 0.51
php extension version 	0.51
XMLWriter 	enabled
XSL 	enabled
libxslt Version 	1.1.24
libxslt compiled against libxml Version 	2.7.3
EXSLT 	enabled
libexslt Version 	0.8.13
Zip 	enabled
Extension Version 	$Id: php_zip.c,v 1.1.2.38.2.29 2009/02/24 23:55:14 iliaa Exp $
Zip version 	1.9.1
Libzip version 	0.9.0
ZLib Support 	enabled
Compiled Version 	1.2.3
Linked Version 	1.2.3
Greets
Florian
_________________
Live long and prosper
Florian
http://syncgw.com
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm

Re: Site copy

Post by Jeff »

PHP Version 5.3.0
This might be one problem. Version 5.3 doesn't work with 1.6.x Search the forum for more info.
User avatar
qv90
Forum Members
Forum Members
Posts: 16
Joined: Wed Jul 01, 2009 1:50 pm

Re: Site copy

Post by qv90 »

Yes, got that. Never had problems with PHP upgrades. First time this happened to me. Please apologize. Reverted to PHP 5.2.9 and everything is fine.
_________________
Live long and prosper
Florian
http://syncgw.com
Post Reply

Return to “CMSMS Core”