-
- 115 Posts
New Install on Windows 7
Server Configuration (WAMP localhost)
Apache Version : 2.2.22
PHP Version : 5.4.3
I've tried to follow advice on existing threads regarding this issue but to no avail.
Here's what I've tried so far:
Renamed .htaccess
then tried:
used the following code in .htaccess:
RewriteEngine On
RewriteBase /
RewriteRule ^manager$ /modx/manager/ [R=301,L]
RewriteCond %{HTTP_HOST} ^yourdomain\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.yourdomain\.com$
RewriteCond %{REQUEST_URI} !^/modx/
RewriteRule (.*) /modx/$1
.htaccess has been placed into the www folder in WAMP & MODX files have been unzipped into a folder called 'modx'
then tried:
Changing time zone in 'modx/setup/index.php'
to this:
"@ ini_set ( 'date.timezone' , 'Asia/Kuala_Lumpur' );"
then tried:
creating an empty file in 'modx/core/config' the file was called 'config.core.php' & is read/writable.
................
At every stage I cannot get past this 503 error, I have tried many different snippets of code in the .htaccess file (the code posted on here is just the latest incumbent).
Now I am running low on ideas to find a resolution to this problem after trawling the web for a solution for 2 days (i've even been translating Russian sites!)
Is there any bright spark out there who could put me out of my misery & find a resolution to this problem for me?
What do the config.core.php files say about the MODX_CORE_PATH? There are three of these, one in the installation root, one in manager, and one in connectors.
No, just make sure they have the correct path.
-
- 115 Posts
ok, c&p from notepad++
in root(www):
'<?php
define('MODX_CORE_PATH', dirname(__FILE__) . '/core/');
define('MODX_CONFIG_KEY', 'config');'
in manager:
'<?php
define('MODX_CORE_PATH', dirname(dirname(__FILE__)) . '/core/');
define('MODX_CONFIG_KEY', 'config');'
in connectors:
'<?php
define('MODX_CORE_PATH', dirname(dirname(__FILE__)) . '/core/');
define('MODX_CONFIG_KEY', 'config');'
I'm unsure if these are carrying the correct code because I have nothing to compare them to.
-
- 73 Posts
1) You said ".htaccess has been placed into the www folder in WAMP & MODX files have been unzipped into a folder called 'modx'". Actually it needs to be inside modx folder.
2) You have config file in "in root(www): " too ? Thats not correct.
Quote from: amitpatil at Dec 29, 2012, 06:43 PM1) You said ".htaccess has been placed into the www folder in WAMP & MODX files have been unzipped into a folder called 'modx'". Actually it needs to be inside modx folder.
2) You have config file in "in root(www): " too ? Thats not correct.
Or put the MODX files into the www (root) folder. But don't move those existing files into the root. Reinstall from scratch at the root from an extracted .zip file.
I'd also wait to activate .htaccess till you're able to log into the manager and change the FURL settings. Rename it to ht.access for the moment.
-
- 115 Posts
Hey you guys, thanks for the replies.
I can load the file now simply by opening it in a different way.
I was getting this 503 error when I tried to open MODX from within the WAMP server (this is how I have been opening all other projects)
I found that if I typed the url into the browser it opened!!!
If a moderator can issue this post as resolved it would be great.
Again thanks to all for their valuable input in assisting me to solve this issue.