Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/mtgman5/public_html/admin/includes/configure.php on line 6

MTG Mania

Recommended Posts

Well, my husband was in playing around and didn't backup the damn file. I have no clue what happened, here is the coding. Please for the love of God, what is wrong so I can fix it. I can't log in to my admin page (can't even get it to LOAD).




define('HTTP_SERVER', 'http://mtgmania.com/');

define('HTTP_CATALOG_SERVER', 'http://mtgmania.com/');

define('HTTPS_CATALOG_SERVER', 'https://mtgmania.com/');


define('DIR_FS_DOCUMENT_ROOT', '/home/mtgman5/public_html/'); <------------ Line 6

define('DIR_WS_ADMIN', '/admin/');

define('DIR_FS_ADMIN', '/home/mtgman5/public_html/admin/');

define('DIR_WS_CATALOG', '/');

define('DIR_FS_CATALOG', '/home/mtgman5/public_html/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');



define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', '');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', '');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

Link to comment
Share on other sites

The error is actually on line 5.


Line 5 should be:




Ask a moderator to remove your DB username and password from you post.


You shouldn't ever post that.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.


"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -


"Headers already sent" - The definitive help


"Cannot redeclare ..." - How to find/fix it


SSL Implementation Help


Like this post? "Like" it again over there >

Link to comment
Share on other sites

Your DB user name and password were exposed for long enough that you'd better change at least the password (and preferably the user name too) right away. You will need to delete the old user and create a new one under a different name, with a different password. Don't forget to update the two configure.php files with the new information.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...