Forums / Install & configuration / Moving site from Windows to Linux

Moving site from Windows to Linux

Author Message

Christian Johansen

Thursday 19 January 2006 2:11:43 am

I've been developing a site on a windows machine and am now ready to go live on a Linux server. Except nothing's working on the new server :(

I've changed the url-settings and imagemagick path. I've uploaded all files (cleared cache first), chmod 755 everything, chmod 777 on var/ and I have dumped the database and updated the server database.

Nothing happens, on the admin I get this:

Fatal error: Maximum execution time of 120 seconds exceeded in /path-to-ez/lib/eztemplate/classes/eztemplatemultipassparser.php on line 356
Fatal error: eZ publish did not finish its request

The execution of eZ publish was abruptly ended, the debug output is present below.

On the site I get basically the same:

Notice: Undefined variable: GLOBALS in /home/2/e/entartetemusik/www/shop/lib/ezutils/classes/ezdebug.php on line 1807

Fatal error: Maximum execution time of 120 seconds exceeded in /path-to-ez/lib/eztemplate/classes/eztemplatemultipassparser.php on line 357
Fatal error: eZ publish did not finish its request

The execution of eZ publish was abruptly ended, the debug output is present below.

There is no debug information available.

When I run ls -l in the shell it looks a bit weird:

-rwxr-xr-x    1 myshelluser myshelluser    18007 Jul 22 13:35 LICENSE*
-rwxr-xr-x    1 myshelluser myshelluser     3940 Jul 22 13:35 PROFESSIONAL_LICENCE*
-rwxr-xr-x    1 myshelluser myshelluser     2943 Jul 22 13:35 README.txt*
-rwxr-xr-x    1 myshelluser myshelluser    14786 Jul 22 13:35 access.php*
drwxr-xr-x    6 myshelluser myshelluser     4096 Jan 18 23:26 bin/
drwxr-xr-x    2 myshelluser myshelluser     4096 Jan 18 23:26 cronjobs/
drwxr-xr-x    6 myshelluser myshelluser     4096 Jan 18 23:26 design/
drwxr-xr-x    5 myshelluser myshelluser     4096 Jan 18 23:25 doc/
-rwxr-xr-x    1 myshelluser myshelluser   304177 Jan 18 23:31 entartete.sql*
drwxr-xr-x    3 myshelluser myshelluser     4096 Jan 18 23:25 extension/
-rwxr-xr-x    1 myshelluser myshelluser    40512 Jul 22 13:35 ezpm.php*
-rwxr-xr-x    1 myshelluser myshelluser      317 Jul 22 13:35 ezpublish.cron*
-rwxr-xr-x    1 myshelluser myshelluser    41359 Jul 22 13:35 index.php*
drwxr-xr-x   29 myshelluser myshelluser     4096 Jan 18 23:25 kernel/
-rwxr-xr-x    1 myshelluser myshelluser     7190 Jul 22 13:35 kickstart.ini-dist*
drwxr-xr-x   14 myshelluser myshelluser     4096 Jan 18 23:25 lib/
drwxr-xr-x    4 myshelluser myshelluser     4096 Jan 18 23:25 packages/
-rwxr-xr-x    1 myshelluser myshelluser     4927 Jul 22 13:35 pre_check.php*
-rwxr-xr-x    1 myshelluser myshelluser    10543 Jul 22 13:35 runcronjobs.php*
drwxr-xr-x    4 myshelluser myshelluser     4096 Jan 18 23:25 settings/
drwxr-xr-x    7 myshelluser myshelluser     4096 Jan 18 23:25 share/
-rwxr-xr-x    1 myshelluser myshelluser     3873 Jul 22 13:35 soap.php*
drwxr-xr-x    3 myshelluser myshelluser     4096 Jan 18 23:24 support/
drwxr-xr-x    8 myshelluser myshelluser     4096 Jan 18 23:24 tests/
drwxr-xr-x    4 myshelluser myshelluser     4096 Jan 18 23:24 update/
drwxrwxrwx    6 myshelluser myshelluser     4096 Jan 18 23:24 var/
-rwxr-xr-x    1 myshelluser myshelluser     7733 Jul 22 13:35 webdav.php*

Another weird thing, I installed ez in a folder named shop:

drwxr-xr-x   16 entartetemusik entartetemusik     4096 Jan 19 00:12 shop/

but accessing http://url/shop/ gives the following:
Forbidden
You don't have permission to access /shop/ on this server.

Any help would be greatly appreciated

Ron Schöningh

Thursday 19 January 2006 6:01:53 am

I'm also interested in a procedure which describes the deployment of an ez Publish website from a windows development machine to a production server.

I found the following tread: http://ez.no/community/forum/general/moving_from_development_box_to_live_website/re_moving_from_development_box_to_live_website__2

Does anybody know if there is a step by step explanation of the procedure available?

thx!

Myxt Web Solutions
http://www.myxt.nl

Marc Boon

Thursday 19 January 2006 8:14:26 am

@Christian: The message is clear enough: maximum execution time of 120s exceeded.

Almost all ISP's have a execution time limit for PHP. If the site has to build everything from scratch (cache cleared) and the server is not all that fast (virtual host with 200+ sites running?) that could have been the problem.

Christian Johansen

Thursday 19 January 2006 3:07:33 pm

That doesn't seem very likely... I even tried timeout on 720, still times out, nothing prints. Just a big white page. No errors, no nothing. What can be happening?

Łukasz Serwatka

Friday 20 January 2006 12:47:00 am

Christian, on proper hardware and software configuration first time run of eZ publish (tpl compilation, language file compilation) should be less then default 30s. I suggest to take a look on eZ partners hosting offer.
http://ez.no/partner/worldwide_ez_publish_partners/(profile)/hosting

What you can do is:
- try to disable TextTranslation in [RegionalSettings] if you using other language then default, language files compilation always takes a lot of resources.
- if you have access to shell try compile your templates using eztc.php script if not ask administrator for help
- check error.log file in var/log dir

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Christian Johansen

Friday 20 January 2006 2:26:05 am

Well, I know the hosting is up for it. I originally ran the site on the hosting partner, moved it to a windows machine for developing, and then back. Now it doesn't do anything.

The error log has no interesting information. A couple of notes about not being able to connect to mysql yesterday, but nothing when I tried today. Also tried to connect manually to the mysql server with the config values and it worked fine.