> On 6/8/2015 1:17 PM, jans wrote:
> > On Monday, June 8, 2015 at 10:06:09 AM UTC-7, jans wrote:
> >> On Sunday, June 7, 2015 at 9:24:41 PM UTC-7, jans wrot
> >>> On Sunday, June 7, 2015 at 9:03:40 PM UTC-7, jans wrote:
> >>>> I can hit the login page of this app. I enter the credentials but then I get an error;
> >>>>
> >>>> "The requested URL /user/login was not found on this server." Seems like it should work. I'm not getting any php errors. I have the following Mamp Pro configurations. I run apache as me, jrough user. The owner of the files, is likewise is me, jrough and group is admin and all the permissions are rwx for owner, group and others.
> >>>> Name resolution is via /etc/hosts. I have AllowOverride All, Order allow, deny, & Allow from all. The login file should exists=. I don't know what to check for. Thanks,
> >>>
> >>> sorry, I found the answer. Just on a whim I tried port 8888 and it worked after all afternoon. I don't have anything running on port 80, or I didn't think I did, but I guess something I don't know about is running on port 80. I apologize.
> >>
> >>
On Monday, June 8, 2015 at 10:29:11 AM UTC-7, Jerry Stuckle wrote:
Can you tell me what is my site name and what is my site host from this
All I need is the right values in the xml. It can't find the environment which is the root value development because I am getting the sitHost and/or the site Name wrong because I don't understand the virtual host part:
<development>
<sitHost>localhost:8888</sitHost>
<siteName>conduit-local:8888</siteName>
<runLocal>true</runLocal>
<databaseParams>
<host>127.0.0.1</host>
<username>xxxx</username>
<password>xxxx</password>
<dbname>conduit-earth</dbname>
</databaseParams>
</development>
Here is my php error:
Fatal error: Uncaught exception 'Exception' with message 'SiteConfig.xml misconfigured, could not find environment based on HTTP_HOST' in /Applications/MAMP/htdocs/conduit-local/earth/library/Config.php:41 Stack trace: #0 /Applications/MAMP/htdocs/conduit-local/earth/library/Config.php(25): Config->__construct() #1 /Applications/MAMP/htdocs/conduit-local/earth/application/earth/controllers/BaseController.php(16): Config::getInstance() #2 /Applications/MAMP/htdocs/conduit-local/earth/library/Zend/Controller/Dispatcher/Standard.php(262): BaseController->__construct(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http), Array) #3 /Applications/MAMP/htdocs/conduit-local/earth/application/HMIDispatcher.php(14): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #4 /Applications/MAMP/htdocs/conduit-local/earth/library/Zend/Controller/Front.php(946): HMIDispatcher->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Re in /Applications/MAMP/htdocs/conduit-local/earth/library/Config.php on line 41
MAMP_VirtualHosts_begin_MAMP
#
# MAMP virtual hosts
#
MAMP_IP_or_Star_Port_iteration_begin_MAMP
NameVirtualHost MAMP_IP_or_Star_Port_MAMP
MAMP_IP_or_Star_Port_iteration_end_MAMP
MAMP_Port_iteration_begin_MAMP
#<VirtualHost _default_:MAMP_Port_MAMP>
# DocumentRoot "MAMP_DocumentRoot_MAMP"
#</VirtualHost>
MAMP_Port_iteration_end_MAMP
MAMP_VirtualHost_iteration_begin_MAMP
<VirtualHost MAMP_VirtualHost_IP_MAMP:MAMP_VirtualHost_Port_MAMP>
ServerName MAMP_VirtualHost_ServerName_MAMP
MAMP_VirtualHost_ServerAdmin_MAMP
MAMP_VirtualHost_DirectoryIndex_MAMP
DocumentRoot "MAMP_VirtualHost_DocumentRoot_MAMP"
<IfModule xsendfile_module>
XSendFilePath "MAMP_VirtualHost_DocumentRoot_MAMP"
</IfModule>
MAMP_VirtualHost_ServerAliases_MAMP
<Directory "MAMP_VirtualHost_DocumentRoot_MAMP">
Options MAMP_VirtualHost_Options_MAMP
AllowOverride MAMP_VirtualHost_AllowOverride_MAMP
Order MAMP_VirtualHost_Order_MAMP
Allow MAMP_VirtualHost_Allow_MAMP
MAMP_VirtualHost_DirectoryCustom_MAMP
</Directory>
MAMP_VirtualHost_WSGIDAEMON_MAMP
MAMP_VirtualHost_WSGIAPP_MAMP
MAMP_VirtualHost_ActionPhpCgi_MAMP
MAMP_VirtualHost_AdditionalCustom_MAMP
</VirtualHost>=