View Single Post
  #27  
Old 02-16-2016, 07:31 PM
Kasandra Kasandra is offline
Member
 
Join Date: Feb 2016
Posts: 11
Gender: Female
Credits: 926
Kasandra is on a distinguished road
Default

Hi Kyttias,

This is my config file;

Code:
<?php
//Mysidia Adoptables Site Configuration File

define('DBHOST', '127.0.0.1');             //DB Hostname
define('DBUSER', 'root');             //DB Username
define('DBPASS', '*****');             //DB Password
define('DBNAME', 'mysite');             //Your database name
define('DOMAIN', '127.0.0.1:8080');             //Your domain name (No http, www or . )
define('SCRIPTPATH', '/Mysidia');     //The folder you installed this script in
define('PREFIX', 'adopts_');
?>
If 127.0.0.1:8080/Mysidia works (but wont let me login) then these settings look correct.

I followed that procedure you linked to, but came up with this error:

ERR_ICANN_NAME_COLLISION

Apparently Chrome does not like you using .dev
So I tried .loc , .local , .localhost
and they all just went to google search instead.

I restarted Xampp each time.

I've even attempted to try this - https://support.apple.com/en-us/HT204684

So, maybe its the files themselves? Well, here's what I have.

.hosts
Code:
	127.0.0.1       localhost
	127.0.0.1       www.mysidia.localhost
I've even tried added the 8080 port, just in case, but that didn't work either.

...-vhosts.config
Code:
NameVirtualHost *:8080

<VirtualHost *:8080>
       DocumentRoot "C:/xampp/htdocs/"
       ServerName localhost
</VirtualHost>

<VirtualHost *:8080>
DocumentRoot "C:/xampp/htdocs/Mysidia"
ServerName mysidia.localhost
ServerAlias www.mysidia.localhost
<Directory "C:/xampp/htdocs/Mysidia">
AllowOverride All
Require all Granted
</Directory>
</VirtualHost>
I am at my wits end trying to work this out >.<
Reply With Quote