Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Tutorials and Tips

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 02-15-2016, 11:38 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 139,742
Kyttias is on a distinguished road
Default

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.
Reply With Quote
  #2  
Old 02-16-2016, 07:31 PM
Kasandra Kasandra is offline
Member
 
Join Date: Feb 2016
Posts: 11
Gender: Female
Credits: 1,026
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
Reply

Tags
hosting, wamp

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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


All times are GMT -5. The time now is 12:37 PM.

Currently Active Users: 1240 (0 members and 1240 guests)
Threads: 4,081, Posts: 32,043, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636