Mysidia Adoptables Support Forum  

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

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #16  
Old 02-27-2016, 10:40 PM
Kasandra Kasandra is offline
Member
 
Join Date: Feb 2016
Posts: 11
Gender: Female
Credits: 926
Kasandra is on a distinguished road
Default

I appreciate you trying to help me out here. I still cant seem to get anything to work correctly.

localhost - shows nothing.
localhost:8080 - shows what its supposed to.

I tried to remove the 8080 port, but it says port 80 is used by something else and I can't find what it is.


Code:
NameVirtualHost *:8080



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


<VirtualHost *:8080>
	DocumentRoot "C:/xampp/htdocs/Mysidia"
	ServerName mysidia.dev
<Directory "C:/xampp/htdocs/Mysidia">
    AllowOverride All
	Require all Granted
</Directory>
</VirtualHost>
Code:
	127.0.0.1      localhost
#	127.0.0.1       mysidia.dev
	127.0.0.1:8080       mysidia.dev
I've got both here, just # them out and tried them both - neither seems to work but I'll just paste both.

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

define('DBHOST', '127.0.0.1:8080');             //DB Hostname
define('DBUSER', 'root');             //DB Username
define('DBPASS', '1234ABC');             //DB Password
define('DBNAME', 'mysite');             //Your database name
define('DOMAIN', 'mysidia.dev');             //Your domain name (No http, www or . )
define('SCRIPTPATH', '/Mysidia');     //The folder you installed this script in
define('PREFIX', 'adopts_');
?>

Is there something I missed?


//I did seem to get this error while trying to access the site through various urls such as "localhost:8080/Mysidia"

Code:
Warning: PDO::__construct(): MySQL server has gone away in C:\xampp\htdocs\Mysidia\classes\class_database.php on line 57

Warning: PDO::__construct(): Error while reading greeting packet. PID=13748 in C:\xampp\htdocs\Mysidia\classes\class_database.php on line 57

Warning: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2006] MySQL server has gone away' in C:\xampp\htdocs\Mysidia\classes\class_database.php:57 Stack trace: #0 C:\xampp\htdocs\Mysidia\classes\class_database.php(57): PDO->__construct('mysql:host=127....', 'root', '1234ABC') #1 C:\xampp\htdocs\Mysidia\classes\class_mysidia.php(220): Database->__construct('mysite', '127.0.0.1:8080', 'root', '1234ABC', 'adopts_') #2 C:\xampp\htdocs\Mysidia\classes\class_mysidia.php(164): Mysidia->loadDb() #3 C:\xampp\htdocs\Mysidia\classes\class_initializer.php(109): Mysidia->__construct() #4 C:\xampp\htdocs\Mysidia\classes\class_initializer.php(45): Initializer->initialize() #5 C:\xampp\htdocs\Mysidia\index.php(68): Initializer->__construct() #6 C:\xampp\htdocs\Mysidia\index.php(78): IndexController::main() #7 {main} thrown in C:\xampp\htdocs\Mysidia\classes\class_database.php on line 57

Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\Mysidia\classes\class_database.php on line 57

Last edited by Kasandra; 02-27-2016 at 10:48 PM.
Reply With Quote
 

Tags
hosting, wamp


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 03:37 PM.

Currently Active Users: 9282 (0 members and 9282 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