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

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

eZ debug

Timing: Jan 18 2025 22:34:21
Script start
Timing: Jan 18 2025 22:34:21
Module start 'layout'
Timing: Jan 18 2025 22:34:21
Module start 'content'
Timing: Jan 18 2025 22:34:23
Module end 'content'
Timing: Jan 18 2025 22:34:23
Script end

Main resources:

Total runtime1.5949 sec
Peak memory usage4,096.0000 KB
Database Queries72

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 587.9141152.6250
Module start 'layout' 0.00580.0029 740.539139.4453
Module start 'content' 0.00871.5848 779.9844530.7422
Module end 'content' 1.59350.0014 1,310.726616.1719
Script end 1.5949  1,326.8984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2133160.0002
Check MTime0.00140.0875160.0001
Mysql Total
Database connection0.00090.056910.0009
Mysqli_queries1.533196.1208720.0213
Looping result0.00080.0512700.0000
Template Total1.558397.720.7791
Template load0.00170.107720.0009
Template processing1.556597.593620.7783
Template load and register function0.00020.012410.0002
states
state_id_array0.00090.055010.0009
state_identifier_array0.00140.085920.0007
Override
Cache load0.00160.0973480.0000
Sytem overhead
Fetch class attribute can translate value0.00050.028720.0002
Fetch class attribute name0.00140.085980.0002
XML
Image XML parsing0.00020.010120.0001
class_abstraction
Instantiating content class attribute0.00000.001080.0000
General
dbfile0.00060.0379100.0001
String conversion0.00000.000540.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 26
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs