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.

eZ debug

Timing: Jan 18 2025 16:28:39
Script start
Timing: Jan 18 2025 16:28:39
Module start 'content'
Timing: Jan 18 2025 16:28:40
Module end 'content'
Timing: Jan 18 2025 16:28:40
Script end

Main resources:

Total runtime0.8906 sec
Peak memory usage4,096.0000 KB
Database Queries207

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 587.8359180.8203
Module start 'content' 0.00700.7206 768.6563660.7656
Module end 'content' 0.72760.1628 1,429.4219341.0625
Script end 0.8905  1,770.4844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.4831210.0002
Check MTime0.00150.1681210.0001
Mysql Total
Database connection0.00100.110510.0010
Mysqli_queries0.807490.66712070.0039
Looping result0.00250.28472050.0000
Template Total0.861596.720.4308
Template load0.00220.245020.0011
Template processing0.859396.491020.4297
Template load and register function0.00050.055110.0005
states
state_id_array0.00070.079410.0007
state_identifier_array0.00120.136420.0006
Override
Cache load0.00190.2123390.0000
Sytem overhead
Fetch class attribute can translate value0.00140.162050.0003
Fetch class attribute name0.00110.127670.0002
XML
Image XML parsing0.00120.134850.0002
class_abstraction
Instantiating content class attribute0.00000.001570.0000
General
dbfile0.00210.2387290.0001
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 27
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs