RockingRooster Posted September 22, 2005 Posted September 22, 2005 Ok, I have just ran the web installation for oscommerce. Finally got the catalog to show up. Besides the warning errors that say the config file is writable and Installation directory exists, it looks like its running. :'( However the admin section is now giveing me static. Here is the error. Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in D:\Inetpub\folder\catalog\admin\includes\configure.php on line 19 Here is my admin\includes\Configuration.php file // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'http://208.179.90.85'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://208.179.90.85/catalog'); define('HTTPS_CATALOG_SERVER', 'https://208.179.90.85/catalog/''); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); 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/'); What am I doing wrong, or missing, I have been at this for 3 weeks now. I am using Windows 2003 Ent. Server, IIS6. I know that this is not the ideal situation, but Its mandatory at this point. Thank You
kgt Posted September 22, 2005 Posted September 22, 2005 define('HTTP_CATALOG_SERVER', 'http://208.179.90.85/catalog'); define('HTTPS_CATALOG_SERVER', 'https://208.179.90.85/catalog/''); //oops - wrong define('HTTP_CATALOG_SERVER', 'http://208.179.90.85'); define('HTTPS_CATALOG_SERVER', 'https://208.179.90.85'); //right You have an extra '. And unless your path is http://208.179.90.85/catalog/catalog, then you need to remove the "catalog" part from the constant. Contributions Discount Coupon Codes Donations
RockingRooster Posted September 22, 2005 Author Posted September 22, 2005 Well that didnt work, i go this message again. :angry: Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in D:\Inetpub\folder\catalog\admin\includes\configure.php on line 19 :angry: This is the error that I got when I get to step 7 on the install. I thought maybe someone would understand what I am doing wrong. I get to this point and then the catalog works, but not the admin panel.......im so close yet so far away! New Installation osCommerce Configuration Warning: fopen(/includes/configure.php) [function.fopen]: failed to open stream: No such file or directory in D:\Inetpub\marilynmichelle\catalog\install\templates\pages\install_7.php on line 209 Warning: fputs(): supplied argument is not a valid stream resource in D:\Inetpub\marilynmichelle\catalog\install\templates\pages\install_7.php on line 210 Warning: fclose(): supplied argument is not a valid stream resource in D:\Inetpub\marilynmichelle\catalog\install\templates\pages\install_7.php on line 211 Warning: fopen(/admin/includes/configure.php) [function.fopen]: failed to open stream: No such file or directory in D:\Inetpub\marilynmichelle\catalog\install\templates\pages\install_7.php on line 259 Warning: fputs(): supplied argument is not a valid stream resource in D:\Inetpub\marilynmichelle\catalog\install\templates\pages\install_7.php on line 260 Warning: fclose(): supplied argument is not a valid stream resource in D:\Inetpub\marilynmichelle\catalog\install\templates\pages\install_7.php on line 261 The configuration was successful!
♥Vger Posted September 22, 2005 Posted September 22, 2005 This means that on the Windows server the Install programme was unable to write data to the configure.php file. All other errors stem from this. The configure.php files need to have full permissions (777) set on them for the install to be able to write to them. After install they need to be reset to Read Only - start with 644, then try 444, and if they don't work 400 - but Windows is usually okay with 644. All folders also need permissions of 775 or 777. Vger
Recommended Posts
Archived
This topic is now archived and is closed to further replies.