Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Parse error in configure.php


mbols

Recommended Posts

Posted

What have I done wrong??? I got my ssl up & then this happened. The config files for admin are set the same as this one. Is something missing??

 

<?php

/*

 osCommerce, Open Source E-Commerce Solutions

 http://www.oscommerce.com



 Copyright (c) 2003 osCommerce



 Released under the GNU General Public License

*/



// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

 define('HTTP_SERVER', 'http://artglass2.com'); // eg, http://localhost - should not be empty for productive servers

 define('HTTPS_SERVER', 'https://www.artglass2.com); // eg, https://localhost - should not be empty for productive servers

 define('ENABLE_SSL', true); // secure webserver for checkout procedure?

 define('HTTP_COOKIE_DOMAIN', 'artglass2.com');

 define('HTTPS_COOKIE_DOMAIN', 'artglass2.com');

 define('HTTP_COOKIE_PATH', '/catalog/');

 define('HTTPS_COOKIE_PATH', '/catalog/');

 define('DIR_WS_HTTP_CATALOG', '/catalog/');

 define('DIR_WS_HTTPS_CATALOG', '/catalog/');

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

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

 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_DOWNLOAD_PUBLIC', 'pub/');

 define('DIR_FS_CATALOG', '/home/artgla2/public_html/catalog/');

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

 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');



// define our database connection

 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

 define('DB_SERVER_USERNAME', 'xxxxx');

 define('DB_SERVER_PASSWORD', 'xxxx{TBrE');

 define('DB_DATABASE', 'xxxxx');

 define('USE_PCONNECT', 'false'); // use persisstent connections?

 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

Posted

first error

 

define('HTTPS_SERVER', 'https://www.artglass2.com);

 

needs to be

define('HTTPS_SERVER', 'https://www.artglass2.com');

 

missing closing single quote after com

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

Thank you!

But now I get this!!!!!!!

Warning: main(DIR_WS_INCLUDESfilenames.php): failed to open stream: No such file or directory in /home/artgla2/public_html/catalog/includes/application_top.php on line 53

Warning: main(DIR_WS_INCLUDESfilenames.php): failed to open stream: No such file or directory in /home/artgla2/public_html/catalog/includes/application_top.php on line 53

Fatal error: main(): Failed opening required 'DIR_WS_INCLUDESfilenames.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/artgla2/public_html/catalog/includes/application_top.php on line 53

Posted

firstly it says DIR_WS_INCLUDES when it should say includes then have a forward slash before filenames.php

 

check that you have this line in applications_top.php

// include the list of project filenames
 require(DIR_WS_INCLUDES . 'filenames.php');

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

I looked & the code was there. I have a copy of the files on my hard drive so I can compare in case anything goes wrong.

I just had to re-install the catalog to get it to work. I think it was a prolem with getting my certificate after I had installed it. I took more time to try & figure it out than to just redo the few categories I had set up.

Thank you anyway,

Mimi

Archived

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

×
×
  • Create New...