Page 1 of 1
Site copy
Posted: Mon Aug 17, 2009 12:31 pm
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
Re: Site copy
Posted: Mon Aug 17, 2009 3:07 pm
by Nullig
Check out the sitepusher module.
Nullig
Re: Site copy
Posted: Mon Aug 17, 2009 4:44 pm
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
Re: Site copy
Posted: Mon Aug 17, 2009 8:56 pm
by Nullig
What version of PHP are you using?
Nullig
Re: Site copy
Posted: Mon Aug 17, 2009 9:02 pm
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.
Re: Site copy
Posted: Tue Aug 18, 2009 6:07 am
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
Re: Site copy
Posted: Tue Aug 18, 2009 6:30 am
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.
Re: Site copy
Posted: Tue Aug 18, 2009 7:30 am
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.