-
☆ A M B ☆
- 24,524 Posts
MODx provides the ht.access file so that it won’t conflict with an existing configuration; if you want to use it you either copy/paste the relevant parts to an existing .htaccess file, or rename ht.access to .htaccess.
It really shouldn’t. Try making sure there is an .htaccess file in the manager folder and it has this line (uncommented):
Also, check the config.core.php file in the setup/includes directory and make sure the first line is pointing to the true location of the core directory.
The .hpconfig file was hp.config so I changed it.
Thefirst line of the other file says
define (’MODX_CORE_PATH’, MODX_INSTALL_PATH . ’core/’);
Define means a constant. can you tell me what this line means?
That line is defining the MODX_CORE_PATH so setup can find the files.
MODX_INSTALL_PATH is set in the setup/index.php file to the directory above the setup directory (which should contain setup, core, manager, etc.).
The right side of the line just tacks ’core/’ onto the end of the MODX_INSTALL_PATH so MODx knows where the core is.
Let’s back up.
Look in your public_html directory.
You should see the following directories:
connectors/
manager/
core/
setup/
along with three files:
config.core.php
ht.access
index.php
Is that what you see?
Managed to get to the modx install but stuck settinng up daabase.
have alreaady set up on server and double checked input fields are correct?
Connecting to mysql server:
Could not connect to the database server. Check the connection properties and try again.
[2011-01-22 02:55:47] (ERROR in xPDO::connect @ /home/wemyssw1/public_html/core/xpdo/xpdo.class.php : 331) SQLSTATE[28000] [1045] Access denied for user ’wemyssw1_modx’@’localhost’ (using password: YES)
[2011-01-22 02:55:47] (ERROR in xPDO::connect @ /home/wemyssw1/public_html/core/xpdo/xpdo.class.php : 331) SQLSTATE[28000] [1045] Access denied for user ’wemyssw1_modx’@’localhost’ (using password: YES)
- Checking MySQL server version:
- Checking MySQL client version:
Connection character set:
Collation:
→ Create or test selection of your database.
Checking database:
Default Admin User
Now you’ll need to enter some details for the main administrator account. You can fill in your own name here, and a password you’re not likely to forget. You’ll need these to log into Admin once setup is complete.
Administrator username:
Administrator email:
Administrator password:
Confirm password:
Sorry, the assets directory is not there to begin with. It usually created very shortly by an add-on component.
It looks like you’re getting pretty close.
There are only a few things that could be causing your current problem:
Incorrect database name
Incorrect DB username
Incorrect DB password.
Did you create a database yourself for MODx to use? (sometimes you have to).
Did you create a DB user for that database with full rights?
Note that sometimes the DB-name and/or username are not the ones you entered when creating the DB. Many hosts add a prefix.
Nothing wrong with the database I set up! I contacted my host and they sorted it but didn’t tell me what was wrong?
Thanks very much for your help. Hope I can help others once I get my head around things. If nobody gives, nobody recieves!!
Quote from: daleylife at Jan 23, 2011, 12:24 PM
Nothing wrong with the database I set up! I contacted my host and they sorted it but didn’t tell me what was wrong?
Thanks very much for your help. Hope I can help others once I get my head around things. If nobody gives, nobody recieves!!
I’m glad you got it sorted.
Welcome to MODx.