Moves my site to a server

Author Message

David Santiso

Friday 18 February 2011 12:48:28 pm

Hi,

I want to move my site to a server. Obviously, the URLs, the server name and connection information to the database change.

I modified the files settings/siteaccess/[ezflow_site, ezflow_site_admin, esl, cat]site.ini.apeend.php.

The front of the website works fine, but the admin page not working.

Do I need to edit anything?

Thanks,

David

Thiago Campos Viana

Friday 18 February 2011 7:23:42 pm

The ini settings could still be cached, try clear the cache.

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

Romeo Antony

Saturday 19 February 2011 7:20:24 am

Also move your autoload folder and var dir to server. make sure that webserver can read right on vardir folder.

David Santiso

Saturday 19 February 2011 10:15:03 am

I upload all directories.

I've ran the command:

./bin/php/ezcache.php --clear-all --purge;

And it has shown this error:

PHP Warning: require_once(access.php): failed to open stream: No such file or directory in /home/users/proyectos/david.santiso/public_html/kernel/classes/ezscript.php on line 70PHP Fatal error: require_once(): Failed opening required 'access.php' (include_path='./lib/ezc:.:/home/soft/php/lib/php') in /home/users/proyectos/david.santiso/public_html/kernel/classes/ezscript.php on line 70

Thiago Campos Viana

Saturday 19 February 2011 11:40:07 am

You need first cd to ezpublish root directory to be able to run:

php bin/php/ezcache.php --clear-all --purge

You will ever get this error if you try to run this command inside another directory.

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

David Santiso

Saturday 19 February 2011 12:08:51 pm

I've alredy cd to ezpublish root directory.

public_html is the ezpublish root directory.

Thiago Campos Viana

Saturday 19 February 2011 1:36:46 pm

Try to use ez publish with ez components ezpublishcommunity-4.4.0-with_ezc-gpl.zip

The error is related to ez components not found as php module.

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

David Santiso

Sunday 20 February 2011 5:45:50 am

I'm already using eZ Publish with ez components ezpublishcommunity-4.4.0-with_ezc-gpl.zip

Thiago Campos Viana

Sunday 20 February 2011 10:42:44 am

You could backup your settings/override and settings/siteaccess folders, then remove it and run the installer, the second screen will give you some advices about possible problems with your server environment.

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

David Santiso

Sunday 20 February 2011 11:15:37 am

It's that directory is blank admin page. Do not miss configure something?

Thiago Campos Viana

Sunday 20 February 2011 1:55:25 pm

"

It's that directory is blank admin page. Do not miss configure something?

"

No, you won't do the complete reinstall, just run ez until second install page, click fine tune.

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

David Santiso

Sunday 20 February 2011 2:37:19 pm

I didn't know that deleting the configuration files I could run installation again.

I guess nothing will be lost...

I've been missing some Apache and PHP extensions enable. I've informed the server administrator to fix it. Then try to complete the installation.

If I have problems bother you again ;)

Thank you very much,

David

David Santiso

Monday 21 February 2011 10:56:17 am

Reinstalling eZ Publish into the server, it show this error:

"Site package

Please choose a site package you would like to test or base your site on.

Error

Retrieving remote site packages list failed. You may upload packages manually.

Remote repository URL: /4.4/4.4.0/"

Appear not find any site package.

Thiago Campos Viana

Monday 21 February 2011 11:27:09 am

Did installer show any warning before this screen? Did you click the fine tune button?

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

David Santiso

Monday 21 February 2011 12:03:30 pm

Yes, three warnings appear:

1. AcceptPathInfo disabled or running in CGI mode

You need to enable AcceptPathInfo in your Apache config file, if you're using apache 2.x. If you're running apache 1.3, eZ Publish will not run in CGI mode.

Check the Apache documentation, or enter the following into your httpd.conf file.

AcceptPathInfo On

Remember to restart your web server afterwards.

Ignore this test

2. Missing zlib extension

The zlib extension is not available to eZ Publish. Without it eZ Publish will not be able to install the demo data, however if you do not wish the demo data you can safely ignore this.

To enable zlib you need to recompile PHP with support for it. You will need to configure PHP with --with-zlib[=DIR]. More information on that subject is available at php.net.

Ignore this test

3. Missing MBString extension

eZ Publish comes with a good list of supported charsets by default, however they can be a bit slow due to being made in pure PHP code. Luckily eZ Publish supports the mbstring extension for handling some of the charsets.

By enabling the mbstring extension eZ Publish will have access to more charsets and also be able to process some of them faster, such as Unicode and iso-8859-*. This is recommended for multilingual sites and sites with more exotic charsets.

The complete list of charsets mbstring supports are:

ucs-4 , ucs-4be , ucs-4le , ucs-2 , ucs-2be , ucs-2le , utf-32 , utf-32be , utf-32le , utf-16 , utf-16be , utf-16le , utf-8 , utf-7 , ascii , euc-jp , sjis , eucjp-win , sjis-win , iso-2022-jp , jis , iso-8859-1 , iso-8859-2 , iso-8859-3 , iso-8859-4 , iso-8859-5 , iso-8859-6 , iso-8859-7 , iso-8859-8 , iso-8859-9 , iso-8859-10 , iso-8859-13 , iso-8859-14 , iso-8859-15 , byte2be , byte2le , byte4be , byte4le , base64 , 7bit , 8bit , utf7-imap

Installation

Installation of the mbstring extension is done by compiling PHP with the --enable-mbstring option. More information on enabling the extension can be found at php.net.

Note: Do not enable mbstring function overloading, eZ Publish will only use the extension whenever it's needed.

Ignore this test

Thiago Campos Viana

Monday 21 February 2011 12:28:50 pm

Without fixing this issues soon or later you'll have problems. The best to do is try to fix all issues that the installer shows to you before uploading your site to the server.

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

David Santiso

Wednesday 23 February 2011 10:40:01 am

I' ve fixed all issues, but the installation still shows this error:

Site package

Please choose a site package you would like to test or base your site on.

Error

Retrieving remote site packages list failed. You may upload packages manually.

Remote repository URL: /4.4/4.4.0/

Upload package: ...

I could try to upload a package manually... Where can I get?

By the way, the URL of the site is set in capital could have a problem?

Thiago Campos Viana

Wednesday 23 February 2011 3:37:20 pm

Maybe it's a firewall problem, anyway:

http://packages.ez.no/ezpublish/4.4/4.4.0

The plain site pack: http://packages.ez.no/ezpublish/3.8/plain_site.ezpkg

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.