Mysidia Adoptables Support Forum  

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

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 07-21-2014, 09:57 AM
svmajesie svmajesie is offline
Member
 
Join Date: Jul 2014
Posts: 7
Gender: Female
Credits: 867
svmajesie is on a distinguished road
Default Subdomain installation issues

Okay, I'm just gonna compile this to one thread on its own as I'm driving myself bonkers trying to fix this.

I am wanting to install MAS to my subdomain, messengers.godspack.com. I am using Godaddy and paying for my hosting. Database is setup, install SEEMS to go fine.

Here's my config file:

<?php
//Mysidia Adoptables Site Configuration File

define('DBHOST', 'messengersadopt.db.12382978.hostedresource.com'); //DB Hostname
define('DBUSER', 'messengersadopt'); //DB Username
define('DBPASS', '****!'); //DB Password
define('DBNAME', 'messengersadopt'); //Your database name
define('DOMAIN', 'godspack.com'); //Your domain name (No http, www or . )
define('SCRIPTPATH', '/messengers'); //The folder you installed this script in
define('PREFIX', 'adopts_');
?>


This is what the site looks like when accessed through messengers.godspack.com: (image)
-Looks wrong but has correct URL
-I can't log in here, it just loops back to messengers.godspack.com/login and never actually logs in.

And this is what it looks like when accessed through godspack.com/messengers (which is where the directory for the subdomain is): (image)
-Looks right but has wrong URL
-Can't log in here either, as it just redirects to a 404 page with the url of godspack.com/messengers/login

I was up until 3am trying to fix this but no combination of different specificed domains and paths seems to produce the correct results.

Last edited by svmajesie; 07-21-2014 at 09:05 PM. Reason: censor
Reply With Quote
  #2  
Old 07-23-2014, 06:56 PM
Missy Master's Avatar
Missy Master Missy Master is offline
Pet-Sim.Online
 
Join Date: Jan 2010
Posts: 475
Gender: Unknown/Other
Credits: 45,044
Missy Master is an unknown quantity at this point
Default

I had a big problem with my .htaccess of all things, and it did the same thing.

Make a new file and add JUST this to it.

You want this in your main dir where the pet site is loaded. If you can name the file .htaccess its good, if not see if you can name it htaccess.

good luck!



RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{HTTP_HOST} ^www\.(.*) [NC]
RewriteRule ^ http://%1%{REQUEST_URI} [L,R=301]
RewriteCond %{REQUEST_URI} !\.(js|css|gif|jpg|png|ico)$ [NC]
RewriteRule ^(.*)$ index.php [QSA,L]
RewriteRule ^get/([0-9]+).gif$ /click/siggy/$1 [L]
Reply With Quote
  #3  
Old 07-25-2014, 04:26 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 332,772
Hall of Famer is on a distinguished road
Default

Well if you have a subdomain, treat it as a domain. The scriptpath part should be left blank instead unless it's in a directory of your subdomain.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
Reply


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
iPage installation issues SoubisSacrifice Questions and Supports 11 01-23-2015 05:36 PM
Install to a subdomain? GoldMiner Questions and Supports 7 07-21-2014 09:48 AM
Oh look more issues Abronsyth Questions and Supports 2 10-20-2011 06:35 AM
WildCard subdomain overtux Webmasters Area 10 12-03-2010 12:24 AM
2 Issues Breakdown Questions and Supports 8 03-01-2009 02:48 PM


All times are GMT -5. The time now is 12:34 AM.

Currently Active Users: 2026 (0 members and 2026 guests)
Threads: 4,080, Posts: 32,024, 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 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636