Fatal error: Call to a member function type() on a non-object after installation on first page

Hi,


After going through all the installation steps for 3.18rc1 I point my browser to the installation and get:



MySource Warning

System asset name "public_user" not installed or not known [SYS0209]





PHP Notice

Trying to get property of non-object





Fatal error: Call to a member function type() on a non-object in /home/lars/mysource_matrix/core/include/mysource.inc on line 1240



The line 1240 in mysource.inc is:

$_SESSION['user_type_code'] = $this->user->type();



Any ideas?



Thanks,



Lars

The install was not completed. You'll have to delete your system and start again.


When you try again, post the last bit of the output from step_03.php so we can see where it got up to, or post any errors it produces.

[quote]The install was not completed. You'll have to delete your system and start again.


When you try again, post the last bit of the output from step_03.php so we can see where it got up to, or post any errors it produces.[/quote]



Thanks, I'll try that.


Or, wait a few days for RC2 to be released. :)

I’ve got the same issue… and re-installed from scratch 3 times… As far as I could see I did not get any related errors…


The environment this is being installed in is a fresh install of the latest ubuntu web server release… php 5 with all the necessary modules, postgresql 8.2.6, apache2.





Test of what I get can be seen @ http://matrix.aquamedia.com.a


    Generating install key...
    ----------------------------------
    <?php
    define('SQ_LICENCE_TYPE', 'GPL');
    define('SQ_LICENCE_INSTALL_KEY', '82f5c74cbea62ef197f6753ed63a1ac2');
    define('SQ_LICENCE_WARRANTY_KEY', '');
    ?>
    ----------------------------------
    Your system's install key is [ 82f5c74cbea62ef197f6753ed63a1ac2 ]
    
    ------------------------------------
    DAL Core Queries Installed
    ------------------------------------
    ----------------------------------
    <?php
    define('SQ_CONF_PEAR_PATH', SQ_SYSTEM_ROOT.'/php_includes');
    $inc_dir = ini_get('include_path');
    $inc_dir = (substr($inc_dir, 0, 2) == '.:') ? '.:'.SQ_CONF_PEAR_PATH.':'.substr($inc_dir, 2) : SQ_CONF_PEAR_PATH.':'.$inc_dir;
    ini_set('include_path', $inc_dir);
    
    define('SQ_CONF_BACKEND_SUFFIX', '_admin');
    define('SQ_CONF_LIMBO_SUFFIX', '_edit');
    define('SQ_CONF_LOGIN_SUFFIX', '_login');
    define('SQ_CONF_NOCACHE_SUFFIX', '_nocache');
    define('SQ_CONF_ASSET_TREE_BASE', 64);
    define('SQ_CONF_ASSET_TREE_SIZE', 4);
    define('SQ_CONF_ASSET_CACHE_SIZE_WEB', -1);
    define('SQ_CONF_ASSET_CACHE_SIZE_CLI', -1);
    define('SQ_CONF_ROLLBACK_ENABLED', '0');
    define('SQ_CONF_DEBUG', 0);
    define('SQ_CONF_SYSTEM_NAME', 'The System');
    define('SQ_CONF_SYSTEM_OWNER', '');
    define('SQ_CONF_SYSTEM_ROOT_URLS', 'matrix.aquamedia.com.au');
    define('SQ_CONF_SYSTEM_PARENT_DOMAINS', '');
    define('SQ_CONF_STATIC_ROOT_URL', '');
    define('SQ_CONF_WEB_PATH_SEPARATOR', '_');
    define('SQ_CONF_STATIC_ROOT_HTTP', true);
    define('SQ_CONF_STATIC_ROOT_HTTPS', false);
    define('SQ_CONF_DEFAULT_EMAIL', 'brian@aquamedia.com.au');
    define('SQ_CONF_TECH_EMAIL', 'brian@aquamedia.com.au');
    define('SQ_CONF_MAX_LOGIN_ATTEMPTS', 3);
    define('SQ_CONF_REFRESH_INTERVAL', 120);
    define('SQ_CONF_LOCK_LENGTH', 600);
    define('SQ_CONF_ASSET_MAP_ASSET_LIMIT', 50);
    define('SQ_CONF_ASSET_MAP_ASSET_DISPLAY_NAME', '%asset_short_name%');
    define('SQ_CONF_SEND_CACHEABLE_HEADER', '0');
    define('SQ_CONF_SEND_LAST_MODIFIED_HEADER', '0');
    define('SQ_CONF_SEND_NOT_MODIFIED_HEADER', '0');
    define('SQ_CONF_SEND_NO_CACHE_HEADER', '0');
    define('SQ_CONF_SEND_404_CACHEABLE_HEADER', '0');
    define('SQ_CONF_ERRORS_HIDE_FRONTEND', false);
    define('SQ_CONF_DEFAULT_FRONTEND_LANGUAGE', 'en');
    define('SQ_CONF_DEFAULT_BACKEND_LOCALE', 'en_AU');
    define('SQ_CONF_DEFAULT_CHARACTER_SET', 'iso-8859-1');
    define('SQ_CONF_ALLOW_IP_CHANGE', '0');
    define('SQ_CONF_ALLOW_HTTP_LOGIN', '0');
    define('SQ_CONF_ENABLE_HTTP_LOGIN', '0');
    define('SQ_CONF_ENABLE_EXTERNAL_AUTH_SYSTEMS', true);
    define('SQ_CONF_HTTP_LOGIN_VAR', 'REMOTE_USER');
    define('SQ_CONF_ACCEPT_HTTP_CREDS', '0');
    define('SQ_CONF_COMMIT_BUTTON_TEXT', 'Commit');
    define('SQ_CONF_LOG_EXTENSION', '.log');
    define('SQ_CONF_LOG_FILE_SYSTEM', 'system');
    define('SQ_CONF_LOG_FILE_ERROR', 'error');
    ini_set('error_log',  SQ_LOG_PATH.'/'.SQ_CONF_LOG_FILE_ERROR.SQ_CONF_LOG_EXTENSION);
    define('SQ_CONF_LOG_ERRORS', true);
    ini_set('log_errors', '1');
    define('SQ_CONF_SESSION_GC_MAXLIFETIME', 604800);
    ini_set('session.gc_maxlifetime', 604800);
    define('SQ_CONF_EDITING_TIME', 3600);
    define('SQ_CONF_NUM_DATA_DIRS', 20);
    define('SQ_CONF_FORCE_SECURE_LOGIN_URLS', '');
    define('SQ_CONF_WEB_MEMORY_LIMIT', 16);
    define('SQ_CONF_CRON_MEMORY_LIMIT', 16);
    define('SQ_CONF_USE_DEFAULT_SESSION_SAVE_PATH', false);
    ?>
    ----------------------------------
    ----------------------------------
    <?php
    define('SQ_LICENCE_TYPE', 'GPL');
    define('SQ_LICENCE_INSTALL_KEY', '');
    define('SQ_LICENCE_WARRANTY_KEY', '');
    ?>
    ----------------------------------
    ----------------------------------
    <?php
    define('SQ_TOOL_HTML_TIDY_ENABLED', false);
    define('SQ_TOOL_PDFTOHTML_PATH', '/usr/bin/pdftohtml');
    define('SQ_TOOL_PDFTOHTML_ENABLED', false);
    define('SQ_TOOL_ANTIWORD_PATH', '/usr/bin/antiword');
    define('SQ_TOOL_ANTIWORD_MAPPING_PATH', '/usr/share/antiword');
    define('SQ_TOOL_ANTIWORD_ENABLED', false);
    define('SQ_TOOL_JPEG_TOOLKIT_PATH', '');
    define('SQ_TOOL_JPEG_TOOLKIT_ENABLED', false);
    define('SQ_TOOL_SPELL_CHECKER_LANG', 'en');
    ?>
    ----------------------------------
    ----------------------------------
    <?php
    define('SQ_SERVER_SYSTEM_ROOT', '');
    define('SQ_SERVER_SYSTEMID', '');
    define('SQ_SERVER_DOMAIN', '');
    define('SQ_SERVER_PORT', 0);
    ?>
    ----------------------------------
    ----------------------------------
    <?php
    $request_notes = array (
    );
    ?>
    ----------------------------------
    ----------------------------------
    <?php
    define('SQ_HIPO_USE_SERVER', false);
    define('SQ_HIPO_SERVER_STATUS_CHECK_THRESHOLD', 30);
    define('SQ_HIPO_TOTAL_THRESHOLD', 80);
    ?>
    ----------------------------------
    ----------------------------------
    <?php
    define('SQ_MS_LOG_TO_FILE_WHITE_LIST', '*');
    define('SQ_MS_LOG_TO_FILE_BLACK_LIST', 'asset.attributes
    asset.workflow.invitation
    asset.workflow.announce
    asset.workflow.invitation.*
    asset.workflow.announce.*');
    define('SQ_MS_LOG_TO_DB_WHITE_LIST', '*');
    define('SQ_MS_LOG_TO_DB_BLACK_LIST', 'asset.attributes.fulllog
    asset.workflow.invitation
    asset.workflow.announce
    asset.workflow.invitation.*
    asset.workflow.announce.*
    install.*');
    define('SQ_MS_SEND_MAIL_WHITE_LIST', 'asset.locking.forced
    config.*
    hipo.*
    inbox.*
    asset.status.notify
    asset.workflow.invitation
    asset.workflow.announce
    asset.workflow.invitation.*
    asset.workflow.announce.*
    asset.workflow.stale
    cron.deadlock');
    define('SQ_MS_SEND_MAIL_BLACK_LIST', '');
    ?>
    ----------------------------------
    ----------------------------------
    <?php
    define('SQ_PASSWD_RULE_LENGTH', 6);
    define('SQ_PASSWD_RULE_DISALLOW_USER_INFO', 1);
    define('SQ_PASSWD_RULE_NUM_CAPS', 0);
    define('SQ_PASSWD_RULE_NUM_LOWER', 0);
    define('SQ_PASSWD_RULE_NUM_INT', 0);
    define('SQ_PASSWD_RULE_NUM_PUNC', 0);
    define('SQ_PASSWD_RULE_NUM_SPC', 0);
    define('SQ_PASSWD_RULE_DISALLOWED', -1);
    define('SQ_PASSWD_RULE_DISABLED', 0);
    define('SQ_PASSWD_RULE_BLACK_LIST', '');
    define('SQ_PASSWD_RULE_BLACK_LIST_EXACT', 1);
    ?>
    ----------------------------------
    ----------------------------------
    <?php
    define('SQ_PA_ENABLED', false);
    define('SQ_PA_HOSTNAME', '');
    define('SQ_PA_PORT', '');
    define('SQ_PA_USERNAME', '');
    define('SQ_PA_PASSWORD', '');
    define('SQ_PROXY_URL_PORT_STRIP', false);
    ?>
    ----------------------------------
    
    ######### I DIDN't CAPTURE THIS LIST ###############
    
    10 => powerpoint_doc
    11 => thesaurus
    12 => bodycopy
    13 => bodycopy_container
    14 => lookup_value
    15 => form_question
    16 => form_question_rule
    17 => form_question_type_tickbox_table
    18 => form_question_type_tickbox_list
    19 => form_question_type_datetime
    20 => form_question_type_select
    21 => form_question_type_password
    22 => form_question_type_file_upload
    23 => form_question_type_country
    24 => form_question_type_text
    25 => form_question_type_option_list
    26 => simple_form
    27 => data_source
    28 => data_record
    29 => data_source_record_set
    30 => content_type
    31 => layout
    32 => design_area
    33 => design
    34 => folder
    35 => site_network
    36 => page
    37 => thesaurus_term
    38 => content_type_wysiwyg
    39 => inbox
    40 => workspace
    41 => user
    42 => backend_user
    43 => user_group
    44 => metadata_field
    45 => metadata_schema
    46 => metadata_section
    47 => paint_layout_bodycopy
    48 => paint_layout_lookup_value
    49 => designs_folder
    50 => remap_manager
    51 => system_management_folder
    52 => root_folder
    53 => condition
    54 => login_design
    55 => tool
    56 => authentication
    57 => authentication_default
    58 => authentication_folder
    59 => trigger_manager
    60 => trigger_action
    61 => trigger
    62 => trigger_action_clear_cache
    63 => trigger_action_set_design
    64 => trigger_action_set_index_page
    65 => trigger_action_replace_file_asset
    66 => trigger_action_increment_version
    67 => trigger_action_set_attribute_value
    68 => trigger_action_set_workflow_schema
    69 => trigger_action_set_permission
    70 => trigger_action_set_future_lineage
    71 => trigger_action_add_assetid_remap
    72 => trigger_action_delete_future_status
    73 => trigger_action_set_session_var
    74 => trigger_action_add_url
    75 => trigger_action_release_lock
    76 => trigger_action_set_tag
    77 => trigger_action_fail
    78 => trigger_action_set_design_parse_file
    79 => trigger_action_reload_user
    80 => trigger_action_set_metadata_value
    81 => trigger_action_set_design_associated_files
    82 => trigger_action_set_metadata_schema
    83 => trigger_action_send_email
    84 => trigger_action_create_link
    85 => trigger_action_create_asset
    86 => trigger_action_create_clone
    87 => trigger_action_set_status
    88 => trigger_action_create_image_variety
    89 => trigger_action_create_design_customisation
    90 => trigger_action_create_file_asset
    91 => trigger_action_set_future_status
    92 => trigger_action_set_role
    93 => trigger_action_set_thesaurus_terms
    94 => trigger_action_add_web_path
    95 => trigger_condition
    96 => trigger_event
    97 => cache_manager
    98 => log_manager
    99 => tag_manager
    100 => layout_manager
    101 => trash_folder
    102 => public_user
    103 => password_change_design
    104 => cron_job
    105 => cron_manager
    106 => system_user_group
    107 => system_user
    108 => tool_clear_matrix_cache
    109 => tool_mass_clone
    110 => tool_asset_sorter
    111 => site
    112 => workflow_step
    113 => workflow_schema
    114 => page_standard
    115 => bodycopy_table
    116 => bodycopy_div
    117 => report
    118 => form_question_rule_type_integer
    119 => form_question_rule_type_regexp
    120 => form_question_rule_type_comparison
    121 => form_question_rule_type_numeric
    122 => form_question_rule_type_select_limit
    123 => form_question_rule_type_length
    124 => form_question_rule_type_begins_with
    125 => form_question_rule_type_found_in
    126 => form_question_rule_type_selection
    127 => form_question_rule_type_contain
    128 => form_question_rule_type_file_type
    129 => form_question_rule_type_ends_with
    130 => form_question_rule_type_file_size
    131 => form_question_rule_type_email
    132 => form_question_type_numeric
    133 => form_question_type_email_address
    134 => report_incomplete_metadata
    135 => structured_asset_info
    136 => report_safe_trash
    137 => report_asset_counter
    138 => design_area_login_form
    139 => design_area_nest_content
    140 => design_area_password_change_form
    141 => design_area_constant_button
    142 => design_area_request_vars
    143 => design_area_asset_lineage
    144 => design_area_custom_image
    145 => design_area_metadata
    146 => design_area_colourise_image
    147 => design_area_head
    148 => design_area_declared_vars
    149 => design_area_body
    150 => design_area_linked_css
    151 => design_area_datetime
    152 => design_area_show_if
    153 => design_area_access_history
    154 => design_area_menu_type
    155 => design_css
    156 => design_customisation
    157 => design_css_customisation
    158 => log_report
    159 => role
    160 => metadata_field_multiple_text
    161 => metadata_field_thesaurus
    162 => metadata_field_select
    163 => metadata_field_date
    164 => metadata_field_text
    165 => paint_layout_page
    166 => root_user
    167 => condition_logged_in
    168 => condition_user_type
    169 => condition_simple_edit_mode
    170 => condition_write_access
    171 => condition_in_user_group
    172 => condition_form_posted
    173 => condition_asset_status
    174 => condition_server_variable
    175 => condition_user_frequency
    176 => condition_logical
    177 => condition_user_agent
    178 => condition_admin_access
    179 => condition_keyword_regexp
    180 => condition_user_ip
    181 => trigger_condition_asset_id
    182 => trigger_condition_access_permission
    183 => trigger_condition_status
    184 => trigger_condition_link_exists
    185 => trigger_condition_url_matches
    186 => trigger_condition_user_sysadmin
    187 => trigger_condition_tree_location
    188 => trigger_condition_asset_tagged
    189 => trigger_condition_asset_type
    190 => trigger_action_set_cache_expiry
    191 => trigger_event_attributes_changed
    192 => trigger_event_user_logout
    193 => trigger_event_enter_simple_edit
    194 => trigger_event_status_changed
    195 => trigger_event_asset_created
    196 => trigger_event_before_asset_deleted
    197 => trigger_event_before_asset_created
    198 => trigger_event_link_created
    199 => trigger_event_lookups_updated
    200 => trigger_event_attributes_saved
    201 => trigger_event_link_deleted
    202 => trigger_event_asset_accessed
    203 => trigger_event_user_login
    204 => trigger_event_metadata_updated
    205 => trigger_event_asset_updated
    206 => web_folder
    207 => web_folder_designs
    208 => web_folder_media
    209 => web_folder_users
    210 => cron_job_future_status
    211 => cron_job_escalate_safe_trash
    212 => cron_job_expired_workflow
    213 => cron_job_generate_log_reports
    214 => cron_job_attempt_safe_trash
    215 => cron_job_clear_matrix_cache
    216 => cron_job_refresh_cache
    217 => cron_job_future_lineage
    218 => cron_job_regenerate_report
    219 => design_area_menu_recursive
    220 => design_area_menu_normal
    221 => design_area_menu_stalks
    222 => trigger_condition_attribute_value
    223 => trigger_condition_attribute_changed
    +--------------------------------------------------------------------------+
    | PHP Warning															  |
    |--------------------------------------------------------------------------|
    | require_once(Mail.php): failed to open stream: No such file or directory |
    +--------------------------------------------------------------------------+
    
    Fatal error: require_once(): Failed opening required 'Mail.php' (include_path='.hare/php:/usr/share/pear') in /home/bpulliese/squiz/mysource_matrix/core/include
    Segmentation fault (core dumped)

[quote]I’ve got the same issue… and re-installed from scratch 3 times… As far as I could see I did not get any related errors…


±-------------------------------------------------------------------------+

| PHP Warning |

|--------------------------------------------------------------------------|

| require_once(Mail.php): failed to open stream: No such file or directory |

±-------------------------------------------------------------------------+



Fatal error: require_once(): Failed opening required ‘Mail.php’ (include_path=’.hare/php:/usr/share/pear’) in /home/bpulliese/squiz/mysource_matrix/core/include

Segmentation fault (core dumped)[/code][/quote]



You need to install the PEAR Mail package. There are a list of PEAR packages that are required for MySource Matrix here: http://matrix.squiz.net/resources/requirements


That's fine.. I will install the PEAR Mail Package, but is that really why the index page bugs out?

Your index page isnt working because the install failed before it installed the required core assets, like public user.

Thanks for your help so far Avi & Greg. I have installed the PEAR packages required and re-installed everything. Now am getting a different error.


ERROR: URL “http://10.140.146.164” not found [SYS0218]



example: http://matrix.aquamedia.com.a



10.140.146.164 is my servers internal IP. I believe my Virtual Host configuration is correct.



View below:


    			
    NameVirtualHost *:80
    
    
    		ServerAdmin webmaster@aquamedia.com.au
    		DocumentRoot /home/bpulliese/squiz/mysource_matrix/core/web
    		ServerName matrix.aquamedia.com.au


and my main.inc is

    <?php
    define('SQ_CONF_PEAR_PATH', SQ_SYSTEM_ROOT.'/php_includes');
    $inc_dir = ini_get('include_path');
    $inc_dir = (substr($inc_dir, 0, 2) == '.:') ? '.:'.SQ_CONF_PEAR_PATH.':'.substr($inc_dir, 2) : SQ_CONF_PEAR_PATH.':'.$inc_dir;
    ini_set('include_path', $inc_dir);
define('SQ_CONF_BACKEND_SUFFIX', '_admin');
define('SQ_CONF_LIMBO_SUFFIX', '_edit');
define('SQ_CONF_LOGIN_SUFFIX', '_login');
define('SQ_CONF_NOCACHE_SUFFIX', '_nocache');
define('SQ_CONF_ASSET_TREE_BASE', 64);
define('SQ_CONF_ASSET_TREE_SIZE', 4);
define('SQ_CONF_ASSET_CACHE_SIZE_WEB', -1);
define('SQ_CONF_ASSET_CACHE_SIZE_CLI', -1);
define('SQ_CONF_ROLLBACK_ENABLED', '0');
define('SQ_CONF_DEBUG', 0);
define('SQ_CONF_SYSTEM_NAME', 'The System');
define('SQ_CONF_SYSTEM_OWNER', '');
define('SQ_CONF_SYSTEM_ROOT_URLS', 'matrix.aquamedia.com.au');
define('SQ_CONF_SYSTEM_PARENT_DOMAINS', '');
define('SQ_CONF_STATIC_ROOT_URL', '');
define('SQ_CONF_WEB_PATH_SEPARATOR', '_');
define('SQ_CONF_STATIC_ROOT_HTTP', true);
define('SQ_CONF_STATIC_ROOT_HTTPS', false);
define('SQ_CONF_DEFAULT_EMAIL', 'brian@aquamedia.com.au');
define('SQ_CONF_TECH_EMAIL', 'brian@aquamedia.com.au');
define('SQ_CONF_MAX_LOGIN_ATTEMPTS', 3);
define('SQ_CONF_REFRESH_INTERVAL', 120);
define('SQ_CONF_LOCK_LENGTH', 600);
define('SQ_CONF_ASSET_MAP_ASSET_LIMIT', 50);
define('SQ_CONF_ASSET_MAP_ASSET_DISPLAY_NAME', '%asset_short_name%');
define('SQ_CONF_SEND_CACHEABLE_HEADER', '0');
define('SQ_CONF_SEND_LAST_MODIFIED_HEADER', '0');
define('SQ_CONF_SEND_NOT_MODIFIED_HEADER', '0');
define('SQ_CONF_SEND_NO_CACHE_HEADER', '0');
define('SQ_CONF_SEND_404_CACHEABLE_HEADER', '0');
define('SQ_CONF_ERRORS_HIDE_FRONTEND', false);
define('SQ_CONF_DEFAULT_FRONTEND_LANGUAGE', 'en');
define('SQ_CONF_DEFAULT_BACKEND_LOCALE', 'en_AU');
define('SQ_CONF_DEFAULT_CHARACTER_SET', 'iso-8859-1');
define('SQ_CONF_ALLOW_IP_CHANGE', '0');
define('SQ_CONF_ALLOW_HTTP_LOGIN', '0');
define('SQ_CONF_ENABLE_HTTP_LOGIN', '0');
define('SQ_CONF_ENABLE_EXTERNAL_AUTH_SYSTEMS', true);
define('SQ_CONF_HTTP_LOGIN_VAR', 'REMOTE_USER');
define('SQ_CONF_ACCEPT_HTTP_CREDS', '0');
define('SQ_CONF_COMMIT_BUTTON_TEXT', 'Commit');
define('SQ_CONF_LOG_EXTENSION', '.log');
define('SQ_CONF_LOG_FILE_SYSTEM', 'system');
define('SQ_CONF_LOG_FILE_ERROR', 'error');
ini_set('error_log',  SQ_LOG_PATH.'/'.SQ_CONF_LOG_FILE_ERROR.SQ_CONF_LOG_EXTENSION);
define('SQ_CONF_LOG_ERRORS', true);
ini_set('log_errors', '1');
define('SQ_CONF_SESSION_GC_MAXLIFETIME', 604800);
ini_set('session.gc_maxlifetime', 604800);
define('SQ_CONF_EDITING_TIME', 3600);
define('SQ_CONF_NUM_DATA_DIRS', 20);
define('SQ_CONF_FORCE_SECURE_LOGIN_URLS', '');
define('SQ_CONF_WEB_MEMORY_LIMIT', 16);
define('SQ_CONF_CRON_MEMORY_LIMIT', 16);
define('SQ_CONF_USE_DEFAULT_SESSION_SAVE_PATH', false);
?></pre>

That error just means there is no site created in your system with that URL applied. Log into _admin and start building your site. The install appears fine.



Hi Greg - when I try to login with root root it says its the wrong password... I'm guessing the passwords are encrypted so how can I reset the password?


All good.. It works... I just needed to use the domain name rather than the internal IP.. thank you for your help...

After 2 days of research and analysis about Matrix and preparation of the system requirements, i'm now ready to install the system.
Here's how my installation of the system goes…



I got this similar error after running (#php [size=3]install/step_02.php[/size] /[SYSTEM_ROOT]) script that will initialise the DB schema:


    +-----------------------------------------------------------------------------------------------------
    | PHP Warning
    |-----------------------------------------------------------------------------------------------------
    | require_once([SYSTEM_ROOT]/data/private/conf/messaging_service.inc): failed to open stream: No such
    +-----------------------------------------------------------------------------------------------------
    
    Fatal error: require_once(): Failed opening required '[SYSTEM_ROOT]/data/private/conf/messaging_service.inc'
    Segmentation fault


So I run the same installation script again and it seems the initialisation of the Matrix database seems ok except I got this at the very bottom after running the script.

    ------------------------------------
    PGSQL SECONDARY AND TERTIARY USER PERMISSIONS FIXED
    ------------------------------------
    Segmentation fault



That 'worksforme' I guess, so I run the script ([size=3][b]install/compile_locale.php[/b][/size]) , and I got this warning message at the top of the compilation.

    WARNING: You did not specify a --locale parameter. This is okay but be aware that all locales will be compiled, which may take a while if you have multiple locales on your system
----------------------------------</pre><br />

then the script continues what it should do after x seconds of displaying the warning message and got this '[i][b][size=3]PHP Warning[/size][/b][/i]' and a '[i][b][size=3]Fatal error[/size][/b][/i]' at the end:


    +---------------------------------------------------------------------------------------------------------------------------+
    | PHP Warning																											   |
    |---------------------------------------------------------------------------------------------------------------------------|
    | DAL::require_once([SYSTEM_ROOT]/core/lib/DAL/Oven/core/coreQueries.inc): failed to open stream: No such file or directory |
    +---------------------------------------------------------------------------------------------------------------------------+
Fatal error: DAL::require_once(): Failed opening required '[SYSTEM_ROOT]/core/lib/DAL/Oven/[size="3"][b]core/coreQueries.inc[/b][/size]' (include_path='.:[SYSTEM_ROOT]/php_includes:/usr/share/php:/usr/share/pear') in [SYSTEM_ROOT]/core/lib/DAL/DAL.inc on line 1575
Segmentation fault</pre><br />


I checked the ([SYSTEM_ROOT]/core/lib/DAL/Oven/) directory and this directory seems to be empty.

    dev:[SYSTEM_ROOT]# ls -a core/lib/DAL/Oven/
    .
    ..
    .cvsignore
    .stop_pruning
    CVS


So I run the script ([size=3][b]install/compile_locale.php[/b][/size]) again and got this message at the very end:

    Compiling localised edit interfaces...
    asset (Base Asset).......
    Compiling strings for locale en
    Compiling localised errors for locale en
    Compiling localised internal messages for locale en
    Segmentation fault


So it 'worksforme' again and continue on (install/step_03.php) and got the message at the end.

    ------------------------------------
    ASSET TYPES CACHED
    ------------------------------------
    Segmentation fault


And that 'worksforme' so I finalise the installation and run (install/compile_locale.php) and as I expected:

    import_tools_manager (Import Tools Manager).
    import_tool_converter (Import Tool Converter)..
    Compiling strings for locale en
    Compiling localised errors for locale en
    Compiling localised internal messages for locale en
    Segmentation fault


"Segmentation fault" seems to be everywhere, anyway when I checked again, '[size=3][b]core/coreQueries.inc[/b][/size]' is now on '[SYSTEM_ROOT]/core/lib/DAL/Oven/'.

Now I'll come back and post again why that message seems to appear or someone from Squiz will be happy enough to answer whats causing it.
to be cont'd...

[quote]Now I'll come back and post again why that message seems to appear or someone from Squiz will be happy enough to answer whats causing it.
to be cont'd…[/quote]



There is something very wrong about your server configuration – any instance of "Segmentation Fault" indicates that PHP has hit a hard crash. I would not trust this system for production use at this stage. Your best bet (if possible) is to contact Squiz Support so that we can assist you in fixing your server configuration so that PHP does not segfault during installation.



If this is not possible, please could you specify what operating system, version and software you have installed so that we can assist you in debugging this.

[quote]There is something very wrong about your server configuration – any instance of “Segmentation Fault” indicates that PHP has hit a hard crash. I would not trust this system for production use at this stage. Your best bet (if possible) is to contact Squiz Support so that we can assist you in fixing your server configuration so that PHP does not segfault during installation.


If this is not possible, please could you specify what operating system, version and software you have installed so that we can assist you in debugging this.[/quote]



Here’s my phpinfo() -> http://dev.nsp.co.nz/phpinfo.php

    Kernel Version 	2.6.16-xen-generic
    Distro Name 	 Debian 4.0

[quote]

    Kernel Version 	2.6.16-xen-generic
Distro Name Debian 4.0
[/quote]



Is this a stock installation of Debian or have you installed any custom software?

probably but not sure, does that really matter? no installed custom software, I think...

What matters is that PHP is segfaulting which is a hard crash. This really shouldn't be happening on a production system. We need to determine why PHP is segfaulting and resolve that issue. If you had compiled PHP from source, it may be a cause of this (bad compilation options, for example). With a stock Debian system, it makes debugging more difficult.

I'm also not sure where the segfault error would get logged to at this point. There may be some error codes in the data/private/logs/error.log file. Can you check that? Also check /var/log/messages to see if there's anything reported there.

[quote]What matters is that PHP is segfaulting which is a hard crash. This really shouldn't be happening on a production system. We need to determine why PHP is segfaulting and resolve that issue. If you had compiled PHP from source, it may be a cause of this (bad compilation options, for example). With a stock Debian system, it makes debugging more difficult.


I'm also not sure where the segfault error would get logged to at this point. There may be some error codes in the data/private/logs/error.log file. Can you check that? Also check /var/log/messages to see if there's anything reported there.[/quote]



Here's the data/private/logs/error.log file and nothing on /var/log/messages.


    [06-Jun-2008 10:20:32] 
    [2008-06-06 08:23:18][0:MySource System][2:php warning][R] (/core/include/messaging_service.inc:18) - require_once(/data/private/conf/messaging_service.inc): failed to open stream: No such file or directory
    [06-Jun-2008 10:23:18] PHP Fatal error:  require_once(): Failed opening required '/var/www-virtual/dev.nsp.co.nz/matrix/data/private/conf/messaging_service.inc' (include_path='.:/var/www-virtual/dev.nsp.co.nz/matrix/php_includes:/usr/share/php:/usr/share/pear') in /var/www-virtual/dev.nsp.co.nz/matrix/core/include/messaging_service.inc on line 18
    [2008-06-06 08:24:29][0:MySource System][512:mysource warning][R] (/install/step_02.php:73) - Neither the System Default nor Tech email addresses have been set
    [2008-06-06 08:24:43][0:MySource System][512:mysource warning][R] (/install/step_02.php:73) - Neither the System Default nor Tech email addresses have been set
    [2008-06-06 08:28:05][0:MySource System][2:php warning][R] (/core/lib/DAL/DAL.inc:1575) - DAL::require_once(/core/lib/DAL/Oven/core/coreQueries.inc): failed to open stream: No such file or directory
    [06-Jun-2008 10:28:05] PHP Fatal error:  DAL::require_once(): Failed opening required '/var/www-virtual/dev.nsp.co.nz/matrix/core/lib/DAL/Oven/core/coreQueries.inc' (include_path='.:/var/www-virtual/dev.nsp.co.nz/matrix/php_includes:/usr/share/php:/usr/share/pear') in /var/www-virtual/dev.nsp.co.nz/matrix/core/lib/DAL/DAL.inc on line 1575
    [2008-06-06 09:04:06][0:MySource System][512:mysource warning][R] (/install/step_02.php:73) - Neither the System Default nor Tech email addresses have been set
    [2008-06-06 09:17:56][0:MySource System][8:php notice][R] (/core/assets/package_manager_core.inc:288) - Undefined index:  HOSTNAME
    [2008-06-06 09:17:56][0:MySource System][512:mysource warning][R] (/core/include/locale_manager.inc:504) - "root@" is not a valid value for attribute "email" [SYS0073]
    [2008-06-06 09:17:56][0:MySource System][512:mysource warning][R] (/core/include/locale_manager.inc:504) - "root@" is not a valid value for attribute "email" [SYS0073]
    [2008-06-06 14:02:42][7:Public User][1024:mysource notice][R] (/core/include/locale_manager.inc:504) - URL "https://dev.nsp.co.nz/matrix/core/web/index.php" not found [SYS0218]
    [2008-06-06 14:03:03][7:Public User][1024:mysource notice][R] (/core/include/locale_manager.inc:504) - URL "http://dev.nsp.co.nz/matrix/core/web/index.php" not found [SYS0218]

[quote]Here's the data/private/logs/error.log file and nothing on /var/log/messages.

    [06-Jun-2008 10:20:32] 
    [2008-06-06 08:23:18][0:MySource System][2:php warning][R] (/core/include/messaging_service.inc:18) - require_once(/data/private/conf/messaging_service.inc): failed to open stream: No such file or directory
[/quote]

This require it is strange - Path is incorrect.

A have :
[root@thor include]# cat messaging_service.inc | grep service.in | grep requ
require_once SQ_DATA_PATH.'/private/conf/messaging_service.inc';
[root@thor include]#
For me it's looks like your SQ_DATA_PATH is not set.


I'm wrong. You have this option.

What do you have in:
/var/www-virtual/dev.nsp.co.nz/matrix/data/private/conf/

Regards
Arek