Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#16
|
|||
|
|||
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 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. |
Tags |
hosting, wamp |
|
|
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 |
What's New? |
What's Hot? |
What's Popular? |