Sure could use some help here - I receive the following error whilst executing step one >
Notice: Need to chmod cache and data directories in /home/mysite/public_html/install/step_01.php on line 60
Warning: rename(/tmp/string_to_filekVIT8p,/home/mysite/public_html/data/private/conf/main.inc): Permission denied in /home/mysite/public_html/fudge/general/file_system.inc on line 129
My chmod and data directory permissions have been set, yet i still receive this error. Any tips greatly appreciated - perhaps someone could give me a quick step-by-step rundown for installing via MySQL?
You need to ensure that the cache and data directories (and all sub-directories of data) are chmod 777. The installer needs to create a whole bunch of new files and directories in that location.
To be clear, the user the web server is running as needs write access to those directories. We dont require global write access to Matrix files.
How would one go about doing that in an Apache / Windows 2000 environment? Chmod doesnt work…
Will that stop you from even getting past step01? as I'm getting a screenful of errors (listed below). Also are the web installer and the step 1 2 3 installers mutually exclusive? or should I be running the step 1 2 3 then the web installer (which is what I'm currently trying to do, as the web installer dies after step 4 at the moment with an "[ASSERT EXCEPTION] DB Error: no such table")
Thanks for any help, I'm pretty confused. Hate to throw the M word out here, but I had far less trouble installing mambo thus far.
Cheers
Dale
Notice: Need to chmod cache and data directories in C:\PROGRA~1\APACHE~1\Apache2
\htdocs\matrix\install\step_01.php on line 60
Notice: Constant SQ_CONF_DB_DSN already defined in C:\PROGRA~1\APACHE~1\Apache2\
htdocs\matrix\data\private\conf\main.inc on line 2
Notice: Constant SQ_CONF_DB2_DSN already defined in C:\PROGRA~1\APACHE~1\Apache2
\htdocs\matrix\data\private\conf\main.inc on line 3
Notice: Constant SQ_CONF_PEAR_PATH already defined in C:\PROGRA~1\APACHE~1\Apach
e2\htdocs\matrix\data\private\conf\main.inc on line 4
Notice: Constant SQ_CONF_ASSET_TREE_BASE already defined in C:\PROGRA~1\APACHE~1
\Apache2\htdocs\matrix\data\private\conf\main.inc on line 11
Notice: Constant SQ_CONF_ASSET_TREE_SIZE already defined in C:\PROGRA~1\APACHE~1
\Apache2\htdocs\matrix\data\private\conf\main.inc on line 12
Notice: Constant SQ_CONF_ROLLBACK_ENABLED already defined in C:\PROGRA~1\APACHE~
1\Apache2\htdocs\matrix\data\private\conf\main.inc on line 13
Notice: Constant SQ_CONF_SYSTEM_ROOT_URLS already defined in C:\PROGRA~1\APACHE~
1\Apache2\htdocs\matrix\data\private\conf\main.inc on line 17
Notice: Constant SQ_CONF_DEFAULT_EMAIL already defined in C:\PROGRA~1\APACHE~1\A
pache2\htdocs\matrix\data\private\conf\main.inc on line 18
Notice: Constant SQ_CONF_TECH_EMAIL already defined in C:\PROGRA~1\APACHE~1\Apac
he2\htdocs\matrix\data\private\conf\main.inc on line 19
On Windows, you need to ensure that the user that Apache runs as has write access to those folders using NTFS security.
Step 1, 2 and 3 are mutally exclusive from the Web Based Installer. You use either one or the other, not both.
Excellent, thanks for the reply. Any thoughts as to why I would recieve the:
MySource Error
[ASSERT EXCEPTION] DB Error: no such table
SELECT type_code, version, name, instantiable, allowed_access, parent_type, dir, customisation FROM sq_asset_type [nativecode=1146 ** Table 'matrix.sq_asset_type' doesn't exist] (LINE 90 IN [SYSTEM_ROOT]\core\include\asset_manager.inc) message when running the installer? It isn't up to the part for setting up the Db I thought, so a little confused why I'm getting the message. I set up a MySQL database called matrix.
As for the user permissions, how do I know what user it runs as? I myself has access to the folders, but not quite sure who to add/setup for apache to have permission to r/w.
thanks again for your help, I'd love to be able to use this system as it seems just what the Dr ordered for the govt dept I'm working with.
Cheers
Dale
Looks like its confused itself from the web installer being run. I'd delete the entire Matrix folder, re-extract the archive and start again. Tedious, I know, but Matrix caches out a whole bunch of database information, and it looks like its aborted half-way through.
You can take a look in the Services applet in Administration Tools and get the properties of the Apache user. If its running as "Local System", it'll have access to the folders.
Deleting and starting again fixed it, thanks a tonne for your patience. No need to worry about file permissions in the end, it just ran using the web installer no problem. No Java in my IE browser is a bit of a problem, but I can use firefox to assess it. Thanks again.
Cheers
Dale
Sweet.
Just remember to use the Sun JVM 1.4.2. The download on the Sun site is now 1.5, which wont work woth Matrix.