Forums / Install & configuration / Migration Problems

Migration Problems

Author Message

thomas BAILLEUL

Monday 18 September 2006 8:30:45 am

hey there,

I migrated ezpublish from windows Xp to freebsd (6.1) and I have some pb with php&apache.
I restore databse,files without pb but I run apache I (lynx) to my site :localhost/ez.. I ahev the error message " preg_match undefined fucntion" or preg_match is a basic php function so what's happening? (I use php 4.4.2 )
thanks for your help

Claudia Kosny

Monday 18 September 2006 11:26:44 am

Hi Thomas

If you google for this error message you can see that quite a lot of people had similar problems. Unfortunately there does not seem to be a good solution for this. Some solved it be using another version of php, some compiled it again, some reinstalled some pcre package which seems to be native to some linux distros (which I have no clue about). So you might be better off asking this question in freebsd or php forum - I am not sure how many linux gurus there are here.

Greetings from Luxembourg

Claudia

thomas BAILLEUL

Tuesday 19 September 2006 8:39:55 am

Hi Claudia, you're amazing! thanks for the advices.
So I try an other php version(4.4) and it works, nevertheless I have still a pb, when I compiled php with gd , it missed imagegd2 extension so texttoimage template is not available which triggers white page(with nothing)!(also the PHP functions ImageTTFText and ImageTTFBBox is missing, without this functions it is not possible to use the texxttoimage template operator)
I dunno how to handle but I'm continuing my search, if u have an clue I would be grateful!

 

Claudia Kosny

Wednesday 20 September 2006 11:09:04 am

Hello Thomas

I once had a similar problem with texttoimage not working. The GD version compiled into the PHP version did not provide the necessary functions, the bundled version was required. Check the php manual at http://php.net/gd for information on how to check which version you use and how to compile php with the bundled version. I hope it helps...

Greetings from Luxembourg

Claudia

thomas BAILLEUL

Thursday 21 September 2006 6:10:45 am

Hi Claudia! thx a lot, I check the php-website and I google this site and I found out how to compile PhP with good&enough module and good version!( http://ez.no/community/forum/developer/php_modules_needed_fo_ez_3_8_1/re_php_modules_needed_fo_ez_3_8_1__9
so it works(I see the pics)

but I have still an error!
admin site works but sometimes I have this error : "Fatal error : Undefined Class name'ezdatatype' in /usr/local/apache2/.../ezpublish.../kernel/classes/ezcontentobjectattribute.php on line 1032
Fatal error: ezpublish did not finish its request"
In fact it comes from a db commit, I tryed to change the login without password in the site.override.ini as in my mysql database but no change(it works except from some pages which trigger this same error) , when I add a new password, it advice me to upgrade mysql client as it does not support mysql authentification!

I would be grateful if someone could help me!

 

Claudia Kosny

Thursday 21 September 2006 11:15:58 am

Hi Thomas

Regarding the problem with the fatal error I do not have the slightest clue I am afraid. The problem with the authentication might be solved with this information:

http://ez.no/community/forum/install_configuration/kernel_50_on_solaris_mysql_4_1_7_ez_3_4_3

Good luck

Claudia

thomas BAILLEUL

Thursday 28 September 2006 11:58:53 pm

Hi Claudia!

Thx for your help! it solves authentification pb!
So from now on, I just upgrade 3.8.0 to 3.8.4(http://ez.no/doc/ez_publish/technical_manual/3_6/installation/upgrading) and it works ,except from extensions, the thing is ezdhtml don't work I mean it's actif but I haven't the useful options to edit an article, what it's weird is when I change the state of this extension it doesn't make any change, still actif!
help would be appreciated!

Claudia Kosny

Friday 29 September 2006 12:46:07 pm

Hello Thomas

What do you mean - it is still active? Does the checkbox for the extension stay checked even if you unchecked it before or is it something different? If it is the checkbox first check whether the same applies for other extensions as well. If yes, you settings directory most likely does not have the correct permissions so that EZpublish cannot write the new settings into the site.ini. If it is something different please tell me a bit more.

BTW: Next time please start a new thread if it is a new topic. When searching for something in the forum I very often look only at the title to decide whether the thread might contain useful information. Thus I like titles that fit the topic of the thread.

Greetings from Luxembourg

Claudia

eZ debug

Timing: Jan 18 2025 19:11:36
Script start
Timing: Jan 18 2025 19:11:36
Module start 'content'
Timing: Jan 18 2025 19:11:36
Module end 'content'
Timing: Jan 18 2025 19:11:36
Script end

Main resources:

Total runtime0.9323 sec
Peak memory usage4,096.0000 KB
Database Queries209

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 588.8281180.8359
Module start 'content' 0.00650.7748 769.6641535.8203
Module end 'content' 0.78120.1509 1,305.4844341.7891
Script end 0.9322  1,647.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.4297210.0002
Check MTime0.00140.1553210.0001
Mysql Total
Database connection0.00170.179110.0017
Mysqli_queries0.852291.41122090.0041
Looping result0.00200.21402070.0000
Template Total0.901696.720.4508
Template load0.00200.217020.0010
Template processing0.899596.489220.4498
Template load and register function0.00020.019410.0002
states
state_id_array0.00090.095910.0009
state_identifier_array0.00120.125020.0006
Override
Cache load0.00180.1938480.0000
Sytem overhead
Fetch class attribute can translate value0.00110.120430.0004
Fetch class attribute name0.00140.152680.0002
XML
Image XML parsing0.00130.135730.0004
class_abstraction
Instantiating content class attribute0.00000.001880.0000
General
dbfile0.00630.6737210.0003
String conversion0.00000.000430.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
8content/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
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 26
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs