Installation question - can't raise admin page
This is an open discussion with 5 replies, filed under Installation.
Search
I installed Symphony in a directory and when i login i'm redirected to localhost:8888/symphony
instead of localhost:8888/mySymphonyInstall/symphony
If you installed at localhost:8888/symphony
then your admin page should be: localhost:8888/symphony/symphony
From what i know the User/UserName/Sites access the Mac built in Apache. To access the MAMP apache you use the localhost:8888
Can you post the contents of your .htaccess
file on pastie.org and let us see it?
The symphony
path in this context is not really the /symphony
folder, so if your .htaccess
file is wrong, it won't load the path.
Try http://localhost:8888/index.php?mode=administration
which will tell you if Symphony has been installed correctly, it will also more than likely denote an .htaccess
file issue.
Also, if you're using MAMP, it's advisable to switch off the apache setup that shipped with your Mac. You can do this under the System Preferences > Sharing panel, just de-select Web Sharing.
Also, I'd set MAMP up to use default ports. Go to /Applications/MAMP/MAMP.app
and then choose preferences > ports > choose default ports, they should be 80
and 3306
.
Once you've done this, you will be able to access your site at http://localhost/
and the admin at http://localhost/symphony/
, when we've established the issue you're having, of course ;o)
Hi, sorry for the delay getting back, but I was traveling. Thanks for your response.
I changed the apache port to 80 and MySQL to 3306 and restarted. Web sharing was already off. Symphony folder is intalled in Applications/MAMP/htdocs/symphony. The htaccess file is in the symphony folder. It wasn't created on install, or at least is not visible, and I clammed someone else's below.
The Url localhost/symphony raises a primer page with links to the getsymphony.com site. The URL localhost/symphony/symphony produces a 404.
Here is the htaccess file, followed by the installation log:
Symphony 2.2.x
Options +FollowSymlinks -Indexes
RewriteEngine on RewriteBase / ### SECURITY - Protect crucial files RewriteRule ^manifest/(.*)$ - [F] RewriteRule ^workspace/utilities/(.*).xsl$ - [F] RewriteRule ^workspace/pages/(.*).xsl$ - [F] RewriteRule ^(.*).sql$ - [F] RewriteRule (^|/). - [F] ### DO NOT APPLY RULES WHEN REQUESTING "favicon.ico" RewriteCond %{REQUEST_FILENAME} favicon.ico [NC] RewriteRule .* - [S=14] ### CHECK FOR TRAILING SLASH - Will ignore files RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !/$ RewriteCond %{REQUEST_URI} !(.*)/$ RewriteRule ^(.*)$ $1/ [L,R=301] ### URL Correction RewriteRule ^(symphony/)?index.php(/.*/?) $1$2 [NC] ### ADMIN REWRITE RewriteRule ^symphony/?$ index.php?mode=administration&%{QUERY_STRING} [NC,L] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^symphony(/(.*/?))?$ index.php?symphony-page=$1&mode=administration&%{QUERY_STRING} [NC,L] ### FRONTEND REWRITE - Will ignore files and folders RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*/?)$ index.php?symphony-page=$1&%{QUERY_STRING} [L]
#
Log:
============================================
Log Created: 2011-05-20T07:43:21-07:00
Symphony Installer Log Opened: 2011-05-20T07:43:21-07:00 Version: 2.2.1
Domain: http://localhost/symphony-2
2011/05/20 10:20:25 > Notice: Configuration - Could not establish database connection 2011/05/20 10:20:38 > Notice: Configuration - Could not establish database connection 2011/05/20 10:21:19 > Notice: Configuration - No password entered.
============================================
INSTALLATION PROCESS STARTED (2011-05-20T10:28:48-07:00)
2011/05/20 10:28:48 > Notice: MYSQL: Establishing Connection...Done 2011/05/20 10:28:48 > Notice: MYSQL: Selecting Database 'SymphonyTest'...Done 2011/05/20 10:28:48 > Notice: MYSQL: Importing Table Schema...Done 2011/05/20 10:28:50 > Notice: MYSQL: Creating Default Author...Done 2011/05/20 10:28:50 > Notice: WRITING: Creating 'manifest' folder (/manifest) 2011/05/20 10:28:50 > Notice: WRITING: Creating 'logs' folder (/manifest/logs) 2011/05/20 10:28:50 > Notice: WRITING: Creating 'cache' folder (/manifest/cache) 2011/05/20 10:28:50 > Notice: WRITING: Creating 'tmp' folder (/manifest/tmp) 2011/05/20 10:28:50 > Notice: WRITING: Configuration File 2011/05/20 10:28:50 > Notice: CONFIGURING: Frontend 2011/05/20 10:28:50 > Notice: MYSQL: Importing Workspace Data...Done
2011/05/20 10:28:53 > Notice: Installation Process Completed In 5 sec
INSTALLATION COMPLETED: Execution Time - 5 sec (20.05.11 10:28:53)
Whew! Belay that request for help. I finally got the installation to work correctly. I threw out all the files from the first installation and tried again. This time, in phpAdmin I created the database with the name of "Symphony". I had used the name "SymphonyTest" before, and apparently that was at least part of the problem. The html interface presented to install was completely different this time.
Thanks for everyone's help and I hope to be able to contribute a lot to this forum as I learn the ropes.
Create an account or sign in to comment.
I installed Symphony and the database shows in php admin. However, I am not able to raise the admin page at localhost:8888/symphony
I installed symphony from my MAMP htdocs folder where it resides.
Is the htdocs folder the right place to have launched it from? What URL should I use to get the Admin page? Does anything go in the User/UserName/Sites folder?
Using Mac G5 OS 10.4.
Thanks for your help.
Michael