Hi,
I'm updating from RC1 to RC2 and received the following error when uploading the main RC2 patch file;
MySource Warning
The uploaded file "maps upload patch" excedded the size specified by the upload_max_size directive in php.ini ()
I peformed the update to the index.php file and restarted both mysql and apache.
Any ideas?
thanks,
Ian
There is a option in the php.ini file that specifies the maximum file size for uploads
I believe that the default is 2M, so you might want to change this to something like 8M.
so
upload_max_size = 2M
whould become
upload_max_size = 8M
Thanks,
that fixed the upload problem but then I received this error;
Install Order :
0 => "bodycopy",
1 => "bodycopy_container",
2 => "bodycopy_div",
3 => "bodycopy_table",
4 => "bridge",
5 => "content_type",
6 => "content_type_wysiwyg",
7 => "design_area",
8 => "design_area_asset_lineage",
9 => "design_area_body",
10 => "design_area_colourise_image",
11 => "design_area_constant_button",
12 => "design_area_custom_image",
13 => "design_area_datetime",
14 => "design_area_declared_vars",
15 => "design_area_head",
16 => "design_area_linked_css",
17 => "design_area_login_form",
18 => "design_area_metadata",
19 => "design_area_nest_content",
20 => "design_area_menu_type",
21 => "file",
22 => "image",
23 => "pdf_file",
24 => "thumbnail",
25 => "word_doc",
26 => "folder",
27 => "layout",
28 => "metadata_field",
29 => "metadata_field_date",
30 => "metadata_field_select",
31 => "metadata_field_text",
32 => "metadata_schema",
33 => "metadata_section",
34 => "page",
35 => "page_standard",
36 => "report",
37 => "report_incomplete_metadata",
38 => "site",
39 => "authentication",
40 => "authentication_folder",
41 => "authentication_default",
42 => "cache_manager",
43 => "cron_job",
44 => "cron_manager",
45 => "cron_job_future_lineage",
46 => "cron_job_future_status",
47 => "designs_folder",
48 => "layout_manager",
49 => "remap_manager",
50 => "root_folder",
51 => "system_management_folder",
52 => "trash_folder",
53 => "inbox",
54 => "user",
55 => "user_group",
56 => "workspace",
57 => "workflow_schema",
58 => "workflow_step",
59 => "workflow_step_condition",
60 => "design",
61 => "design_area_menu_normal",
62 => "design_area_menu_recursive",
63 => "design_area_menu_stalks",
64 => "design_css",
65 => "design_css_customisation",
66 => "design_customisation",
67 => "login_design",
68 => "system_user_group",
69 => "backend_user",
70 => "system_user",
71 => "root_user"
Fatal error: main(): Failed opening required 'Cache.php' (include_path='c:/apache_group/apache/htdocs/matrix3/mysource_matrix_3-1-0-RC1/php_includes;C:\Apache_Group\Apache\htdocs\pear\pear;c:\php\dlls') in c:\apache_group\apache\htdocs\matrix3\mysource_matrix_3-1-0-rc1\core\assets\system\cache_manager\cache_manager.inc on line 26
hmm,
Ian
You need to install the PEAR Cache module to support Matrix's new Cache Manager. You need to run this from a command prompt:
# pear install Cache
There may be some dependant PEAR modules that also need to be installed.
Hi,
I need to know two things to help me install the pear 'cache' module as my work blocks net updates and my home pc doesn't.
- Where do I put the cache.tgz file when I want to manually install the pear 'cache' module and what do I type. My pear.bat file is in;
/htdocs/pear/
- How do I launch the web based installer for pear to add the 'cache' module on my home pc. My pear.conf file is;
#PEAR_Config 0.9
a:9:{s:15:"preferred_state";s:6:"stable";s:7:"bin_dir";s:7:"c:\pear";s:7:"php_dir";s:12:"C:\Program Files\Apache Group\Apache\htdocs\pear\PEAR";s:7:"doc_dir";s:17:"C:\Program Files\Apache Group\Apache\htdocs\pear\PEAR\docs";s:8:"data_dir";s:17:"C:\Program Files\Apache Group\Apache\htdocs\pear\PEAR\data";s:8:"test_dir";s:18:"C:\Program Files\Apache Group\Apache\htdocs\pear\PEAR\tests";s:9:"cache_dir";s:18:"C:\Program Files\Apache Group\Apache\htdocs\pear\PEAR\cache";s:9:"cache_ttl";i:300;s:7:"php_bin";s:18:"c:/php/cli/php.exe";}
For your work PC, if you have the cache.tgz file you can install the PEAR package by typing: pear install cache.tgz
In fact, you should be able to do the same thing on your Home PC. If PHP is installed at C:\PHP, there should be a pear.bat file in there as well. From the C:\PHP directory, you should be able to run:
C:\PHP> pear install Cache
Check the PHP website or PHP website for more details on how to install PEAR modules.
Yeah,
I fixed this when I set up RC1 but can't remember why I keep getting the message box;
"The procedure entry point zend_uv could not be located in the dynamic link library php4ts.dll"
If I proceed from step 4 to 5 leaving the path as c:\php\pear i get the error;
Fatal error: Cannot instantiate non-existent class: pear_registry in c:\program files\apache group\apache\htdocs\matrix3\mysource_matrix_installer\steps\versioncheck.inc on line 281
I always seem to get stuck at this point.
Thanks,
Ian
Check to make sure you've run the go-pear.bat file for Windows and you've added the PEAR location into your C:\WINDOWS\php.ini file (so that PHP can find the PEAR registry).
Ok,
that got me a bit further. I double checked that the right path the PEAR was in my php.ini file. The PEAR modules/classes were found and I added the paths to htttp.conf (and retarted apache). Then this error came up;
Warning: main(c:\program files\apache group\apache\htdocs\matrix3\mysource_matrix_3-1-0-rc2/data/private/conf/main.inc): failed to open stream: No such file or directory in c:\program files\apache group\apache\htdocs\matrix3\mysource_matrix_3-1-0-rc2\core\include\init.inc on line 81
Fatal error: main(): Failed opening required 'c:\program files\apache group\apache\htdocs\matrix3\mysource_matrix_3-1-0-rc2/data/private/conf/main.inc' (include_path='.;c:/php/includes;C:\Program Files\Apache Group\Apache\htdocs\go-pear\PEAR') in c:\program files\apache group\apache\htdocs\matrix3\mysource_matrix_3-1-0-rc2\core\include\init.inc on line 81
I feel that we're getting close.
Now that you've fixed PEAR, you may want to erase the half-finished installation and start again instead. Its a lot simpler than trying to fix a broken install (which is what this looks like – main.inc is the main configuration file for Matrix, which is created during in the installation process).
I changed pear to work exactly as specified (i.e. from c:\php\pear) and made the appropriate updates (latest versions, registry, php.ini etc). All of the modules/classes were recognised by the installer. I made sure that I re-extracted both the installer.zip and the rc2.zip to the htdocs subdir before restarting the whole install. Once again it gets to the point where I stop the server, add the paths to http.conv and restart the server. It still comes up with;
Warning: main(c:\program files\apache group\apache\htdocs\matrix3\mysource_matrix_3-1-0-rc2/data/private/conf/main.inc): failed to open stream: No such file or directory in c:\program files\apache group\apache\htdocs\matrix3\mysource_matrix_3-1-0-rc2\core\include\init.inc on line 81
Fatal error: main(): Failed opening required 'c:\program files\apache group\apache\htdocs\matrix3\mysource_matrix_3-1-0-rc2/data/private/conf/main.inc' (include_path='.;C:\php\pear;c:/php/includes') in c:\program files\apache group\apache\htdocs\matrix3\mysource_matrix_3-1-0-rc2\core\include\init.inc on line 81
The php. ini in c:\windows has this;
;***** Added by go-pear
include_path=".;C:\php\pear;c:/php/includes"
;*****
The pear.ini in c:\windows has this;
#PEAR_Config 0.9
a:7:{s:15:"preferred_state";s:6:"stable";s:7:"bin_dir";s:6:"C:\php";s:7:"php_dir";s:11:"C:\php\pear";s:7:"doc_dir";s:16:"C:\php\pear\docs";s:8:"data_dir";s:16:"C:\php\pear\data";s:8:"test_dir";s:17:"C:\php\pear\tests";s:7:"php_bin";s:18:"C:\php\cli\php.exe";}
An interesting aside for those who can't get pear to work at all from the php directory is to include the php4ts.dll in your c:\php\cli directory.
Not sure where to go from here guys.
Ah, yes. This is a problem with Windows and Apache. Don’t change httpd.conf and restart until you’ve completed the installer (i.e. finished at step 17). Once it tells you you can login to the Administration Interface, then make the changes and restart. Once you’ve done that, you will be able to login to the Administration Interface by pointing your browser at [font=“courier”]http://www.yourdomain.com/_admin[/font].
Thanks,
I finally got it up and running (at home anyway). Your last pointer plus downloading the latest installer did the trick.
cheers,
Ian
Glad the hear it. 