![]() |
Home Community Mys-Script Creative Off-Topic |
|
![]() |
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
![]()
Just make sure your inc/config.php file matches whatever it is that you're trying to access...? If it requires 8080 as part of the url, make sure that's part of the configuration's file.
I have another solution, though it's an added layer of complexity. Because you're acting as your own server, you can create a "Virtual Host" which will allow you essentially make a fake domain name (fake, because only you can access it... I tend to end my fake sites in .dev but you really could make it anything). Here's a guide that should help. Because you'll be accessing the site at something other than either localhost or 127.0.0.1, it'll route it properly every time.
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it. |
#2
|
|||
|
|||
![]()
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_'); ?> 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 ...-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> |
![]() |
Tags |
hosting, wamp |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
To Non-Coders... an itty-bitty guide | ChibiMaestro | Tutorials and Tips | 2 | 04-20-2018 06:33 PM |
Help setting up my site | Taogoat | Questions and Supports | 2 | 03-08-2014 10:46 AM |
Errors with WAMP | MikiHeart | Questions and Supports | 4 | 11-06-2013 09:12 PM |
Need help setting Mysidia up on Uniform Server | Hedgen | Questions and Supports | 0 | 03-16-2013 05:15 PM |
More help for my guide. | Killgore | Questions and Supports | 3 | 03-03-2009 06:16 PM |
What's New? |
What's Hot? |
What's Popular? |