Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

404 error-links not working-Need assistance


mrs.flyingv

Recommended Posts

Hello:

 

We have been testing our store with fake sales. All the links in the right side header/navigation bar don't work. If you click on Log out, Account, Cart Contents or Checkout i get a 404 page not found error. When i click on the Account this is what is displayed in the URL bar with the 404 error.

 

https://st12.startlogic.com/~freelebr/osCom...L');%20?%3E

 

At this point i wasn't logged in as a customer yet. Even when i logged in as a customer none of the links work. All of the files are there. I do share a SSL from Startlogic and have enabled SSL to True when installed.

 

 

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

 Copyright © 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', 'https://st12.startlogic.com');		
 define('HTTPS_SERVER', 'https://st12.startlogic.com');
 define('ENABLE_SSL', true);			// secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'freelebros.com');
 define('HTTPS_COOKIE_DOMAIN', 'st12.startlogic.com/~freelebr');
 define('HTTP_COOKIE_PATH', '/~freelebr/osCommerce/catalog/');
 define('HTTPS_COOKIE_PATH', '/~freelebr/osCommerce/catalog/');
 define('DIR_WS_HTTP_CATALOG', '/~freelebr/osCommerce/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '/~freelebr/osCommerce/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/freelebr/public_html/osCommerce/catalog/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

What file do i need to fix to have Account, log out, Cart Contents and Checkout got to the correct page?

 

Thanks

Mrs.Flyingv

Link to comment
Share on other sites

I think the problem is in this file:

 

/catalog/includes/application_top.php

 

That's where the code for these links are at, and it definitely needs some work.

:blush:

 

Can you copy/paste the contents of that file (between "code" tags please) into your next post?

:unsure:

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

EEKS!!!

 

I've asked for the wrong file.

:blush:

 

Please post the contents of "/catalog/includes/header.php"

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

That's twice you've asked for the wrong files. The problem is not in either application_top.php or in header.php. It has nothing to do with them. The problem is in the configure.php file.

 

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

define('HTTPS_SERVER', 'https://st12.startlogic.com'/~freelebr');

define('ENABLE_SSL', true);

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

define('HTTPS_COOKIE_DOMAIN', 'st12.startlogic.com');

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

define('HTTPS_COOKIE_PATH', '/~freelebr/osCommerce/catalog/');

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

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

 

It's also not a good idea to captalise letters in a domain name or pathway, because they will either be rendered to lower case (so what's the point of making them upper case), or else you'll end up with a 404 error (can't find the file).

 

So rename the 'osCommerce' folder to 'oscommerce', and edit the two configure.php files accordingly.

 

Vger

Link to comment
Share on other sites

Here is the file from the Admin file.

<?php
/*
 $Id: configuration.php,v 1.43 2003/06/29 22:50:51 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

 Copyright © 2003 osCommerce

 Released under the GNU General Public License
*/

 require('includes/application_top.php');

 $action = (isset($HTTP_GET_VARS['action']) ? $HTTP_GET_VARS['action'] : '');

 if (tep_not_null($action)) {
   switch ($action) {
     case 'save':
       $configuration_value = tep_db_prepare_input($HTTP_POST_VARS['configuration_value']);
       $cID = tep_db_prepare_input($HTTP_GET_VARS['cID']);

       tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . tep_db_input($configuration_value) . "', last_modified = now() where configuration_id = '" . (int)$cID . "'");

       tep_redirect(tep_href_link(FILENAME_CONFIGURATION, 'gID=' . $HTTP_GET_VARS['gID'] . '&cID=' . $cID));
       break;
   }
 }

 $gID = (isset($HTTP_GET_VARS['gID'])) ? $HTTP_GET_VARS['gID'] : 1;

 $cfg_group_query = tep_db_query("select configuration_group_title from " . TABLE_CONFIGURATION_GROUP . " where configuration_group_id = '" . (int)$gID . "'");
 $cfg_group = tep_db_fetch_array($cfg_group_query);
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
<title><?php echo TITLE; ?></title>
<link rel="stylesheet" type="text/css" href="includes/stylesheet.css">
<script language="javascript" src="includes/general.js"></script>
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF" onload="SetFocus();">
<!-- header //-->
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<!-- header_eof //-->

<!-- body //-->
<table border="0" width="100%" cellspacing="2" cellpadding="2">
 <tr>
   <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="1" cellpadding="1" class="columnLeft">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- left_navigation_eof //-->
   </table></td>
<!-- body_text //-->
   <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">
     <tr>
       <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
         <tr>
           <td class="pageHeading"><?php echo $cfg_group['configuration_group_title']; ?></td>
           <td class="pageHeading" align="right"><?php echo tep_draw_separator('pixel_trans.gif', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
         </tr>
       </table></td>
     </tr>
     <tr>
       <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
         <tr>
           <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">
             <tr class="dataTableHeadingRow">
               <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_CONFIGURATION_TITLE; ?></td>
               <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_CONFIGURATION_VALUE; ?></td>
               <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_ACTION; ?> </td>
             </tr>
<?php
 $configuration_query = tep_db_query("select configuration_id, configuration_title, configuration_value, use_function from " . TABLE_CONFIGURATION . " where configuration_group_id = '" . (int)$gID . "' order by sort_order");
 while ($configuration = tep_db_fetch_array($configuration_query)) {
   if (tep_not_null($configuration['use_function'])) {
     $use_function = $configuration['use_function'];
     if (ereg('->', $use_function)) {
       $class_method = explode('->', $use_function);
       if (!is_object(${$class_method[0]})) {
         include(DIR_WS_CLASSES . $class_method[0] . '.php');
         ${$class_method[0]} = new $class_method[0]();
       }
       $cfgValue = tep_call_function($class_method[1], $configuration['configuration_value'], ${$class_method[0]});
     } else {
       $cfgValue = tep_call_function($use_function, $configuration['configuration_value']);
     }
   } else {
     $cfgValue = $configuration['configuration_value'];
   }

   if ((!isset($HTTP_GET_VARS['cID']) || (isset($HTTP_GET_VARS['cID']) && ($HTTP_GET_VARS['cID'] == $configuration['configuration_id']))) && !isset($cInfo) && (substr($action, 0, 3) != 'new')) {
     $cfg_extra_query = tep_db_query("select configuration_key, configuration_description, date_added, last_modified, use_function, set_function from " . TABLE_CONFIGURATION . " where configuration_id = '" . (int)$configuration['configuration_id'] . "'");
     $cfg_extra = tep_db_fetch_array($cfg_extra_query);

     $cInfo_array = array_merge($configuration, $cfg_extra);
     $cInfo = new objectInfo($cInfo_array);
   }

   if ( (isset($cInfo) && is_object($cInfo)) && ($configuration['configuration_id'] == $cInfo->configuration_id) ) {
     echo '                  <tr id="defaultSelected" class="dataTableRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href=\'' . tep_href_link(FILENAME_CONFIGURATION, 'gID=' . $HTTP_GET_VARS['gID'] . '&cID=' . $cInfo->configuration_id . '&action=edit') . '\'">' . "\n";
   } else {
     echo '                  <tr class="dataTableRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href=\'' . tep_href_link(FILENAME_CONFIGURATION, 'gID=' . $HTTP_GET_VARS['gID'] . '&cID=' . $configuration['configuration_id']) . '\'">' . "\n";
   }
?>
               <td class="dataTableContent"><?php echo $configuration['configuration_title']; ?></td>
               <td class="dataTableContent"><?php echo htmlspecialchars($cfgValue); ?></td>
               <td class="dataTableContent" align="right"><?php if ( (isset($cInfo) && is_object($cInfo)) && ($configuration['configuration_id'] == $cInfo->configuration_id) ) { echo tep_image(DIR_WS_IMAGES . 'icon_arrow_right.gif', ''); } else { echo '<a href="' . tep_href_link(FILENAME_CONFIGURATION, 'gID=' . $HTTP_GET_VARS['gID'] . '&cID=' . $configuration['configuration_id']) . '">' . tep_image(DIR_WS_IMAGES . 'icon_info.gif', IMAGE_ICON_INFO) . '</a>'; } ?> </td>
             </tr>
<?php
 }
?>
           </table></td>
<?php
 $heading = array();
 $contents = array();

 switch ($action) {
   case 'edit':
     $heading[] = array('text' => '<b>' . $cInfo->configuration_title . '</b>');

     if ($cInfo->set_function) {
       eval('$value_field = ' . $cInfo->set_function . '"' . htmlspecialchars($cInfo->configuration_value) . '");');
     } else {
       $value_field = tep_draw_input_field('configuration_value', $cInfo->configuration_value);
     }

     $contents = array('form' => tep_draw_form('configuration', FILENAME_CONFIGURATION, 'gID=' . $HTTP_GET_VARS['gID'] . '&cID=' . $cInfo->configuration_id . '&action=save'));
     $contents[] = array('text' => TEXT_INFO_EDIT_INTRO);
     $contents[] = array('text' => '<br><b>' . $cInfo->configuration_title . '</b><br>' . $cInfo->configuration_description . '<br>' . $value_field);
     $contents[] = array('align' => 'center', 'text' => '<br>' . tep_image_submit('button_update.gif', IMAGE_UPDATE) . ' <a href="' . tep_href_link(FILENAME_CONFIGURATION, 'gID=' . $HTTP_GET_VARS['gID'] . '&cID=' . $cInfo->configuration_id) . '">' . tep_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
     break;
   default:
     if (isset($cInfo) && is_object($cInfo)) {
       $heading[] = array('text' => '<b>' . $cInfo->configuration_title . '</b>');

       $contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_CONFIGURATION, 'gID=' . $HTTP_GET_VARS['gID'] . '&cID=' . $cInfo->configuration_id . '&action=edit') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a>');
       $contents[] = array('text' => '<br>' . $cInfo->configuration_description);
       $contents[] = array('text' => '<br>' . TEXT_INFO_DATE_ADDED . ' ' . tep_date_short($cInfo->date_added));
       if (tep_not_null($cInfo->last_modified)) $contents[] = array('text' => TEXT_INFO_LAST_MODIFIED . ' ' . tep_date_short($cInfo->last_modified));
     }
     break;
 }

 if ( (tep_not_null($heading)) && (tep_not_null($contents)) ) {
   echo '            <td width="25%" valign="top">' . "\n";

   $box = new box;
   echo $box->infoBox($heading, $contents);

   echo '            </td>' . "\n";
 }
?>
         </tr>
       </table></td>
     </tr>
   </table></td>
<!-- body_text_eof //-->
 </tr>
</table>
<!-- body_eof //-->

<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof //-->
<br>
</body>
</html>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

 

This is the file from the catalog/includes

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

 Copyright © 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', 'https://st12.startlogic.com');		
 define('HTTPS_SERVER', 'https://st12.startlogic.com');
 define('ENABLE_SSL', true);			// secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'freelebros.com');
 define('HTTPS_COOKIE_DOMAIN', 'st12.startlogic.com/~freelebr');
 define('HTTP_COOKIE_PATH', '/~freelebr/osCommerce/catalog/');
 define('HTTPS_COOKIE_PATH', '/~freelebr/osCommerce/catalog/');
 define('DIR_WS_HTTP_CATALOG', '/~freelebr/osCommerce/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '/~freelebr/osCommerce/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/freelebr/public_html/osCommerce/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', not going to tell);
 define('DB_SERVER_PASSWORD', not going to tell);
 define('DB_DATABASE', not going to tell);
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
?>

 

I will rename osc folder to all lower case and change the configure files to lower case. If you get a chance please take a look at the configure files and see if the CAPITAL letters is the cause to the page not found. What other files contain the the osCommerce that i will have to edit to all lower case?

 

Thanks

Mrs.Flyingv

Link to comment
Share on other sites

There is however a problem with header.php

 

The source shows the following: -

 

	  <a href=
  "%3C?php%20echo%20tep_href_link(FILENAME_ACCOUNT,%20'',%20'SSL');%20?%3E"
  class="headerNavigation">My Account</a>
   |  <a href=
  "%3C?php%20echo%20tep_href_link(FILENAME_SHOPPING_CART);%20?%3E" class=
  "headerNavigation">Cart Contents</a>
   |  <a href=
  "%3C?php%20echo%20tep_href_link(FILENAME_CHECKOUT_SHIPPING,%20'',%20'SSL');%20?%3E"
  class="headerNavigation">Checkout</a>
    

 

For some reason characters are being urlencoded and therefore not parsed as PHP.

 

I would suggest uploading the header.php from the standard package or at the least comparing that bit of code in the files.

Link to comment
Share on other sites

I changed the osCommerce directory to all lowercase. I also did the same in both configure.php files. Through my Startlogic v-deck i have reset my passwords but i now get error 401 not authorized from Startlogic. I guess i need to contact my hosting and have them reset the passwords for me.

 

As for the header.php I'll will compare it to a clean/default header.php and see what is happening. I have all the OG files from the fresh install saved on my computer just in case i need to fix something. I always make a copy to upload not the original.

 

Thanks

Mrs.Flyingv

Link to comment
Share on other sites

There is however a problem with header.php

 

I agree.

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

I did find that i had done // to the gif icon and the links too. I used the fresh install admin/includes/header.php and catalog/includes/header.php to replace the ones i had messed up. Thanks for pointing me in the right direction.

 

I'm still having the not authorized issue. Any ideas?

 

Mrs.Flyingv

Link to comment
Share on other sites

Off hand I'd say you have some .htaccess files that are either misplaced or have incorrect settings.

 

I've not used .htaccess files, so I won't be any help in that area.

:blush:

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

Shall I kiss your ring with the unwarranted expectation of avoiding a summary execution, your Majesty?

 

Abusive postings are not allowed on these forums (or any others that I know of). Consider yourself reported to the mods.

 

I have posted what I believe the correct settings to use for the includes/configure.php file. I have done so because the original posted is incorrect in so many ways that the website will never work until it is corrected.

 

The other file which has been posted is the admin/configuration.php file and not the admin/includes/configure.php file.

 

When %20 is shown this is a spacing used within the file which is being converted to ASCII/ANSI code. This may be a problem with the server, but it may also be a problem with the Browser being used to view the source code. It may also be a problem with the FTP programme being used. The only ones I would recommend are FileZilla (free), Fire FTP for Firefox (free), and WS FTP (paid, but well worth the small amount it costs to purchase).

 

I would most definitely not use Coffee Cup, Dreamweavers' FTP client, Cute FTP, Smart FTP, or use Internet Explorer (not even a real FTP programme).

 

The use of ansi/ascii characters would cause error messages to be displayed, but would not cause the whole website to fail with no error message of any description.

 

Vger

Link to comment
Share on other sites

Miss Anthony,

 

I'm sure the advice you posted was prudent and sound, as it usually is.

 

Nevertheless, the problem reported in the original post with the links could also be caused by code errors in the "header.php" file as well.

 

Unless the topic originator posts the contents of that file as they were when this started, we'll never know.

 

But, the issue here isn't who's "right" or who's "wrong".

 

The issue here is to provide assistance to those with problems. That's the main goal of this forum. Something you may have lost sight of.

 

As long as the topic originator get's resolution to their problem, it's immaterial who's "right" or "wrong".

 

This isn't the first time you've "thrown daggers at me" in a post. Although I'm at a loss to explain why as I've never questioned your advice or integrity.

 

I just find it sad that only one of us seems to possess the ability to offer sound advice in one hand without feeling the need to throw stones at someone else with the other.

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

Here is the admin/includes/configure file. I do have the links up and working now. I changed to the FTP FileZilla. Can you recommend a good php editor? We use Internet Explore or Firefox. Startlogic is the web hosting that we go through.

 

I'm not sure what file it was that has the %20. I can you please tell me what file it was in. I would like to compare to my original back up to see what is going on.

 

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

 Copyright © 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', 'https://st12.startlogic.com');
 define('HTTP_CATALOG_SERVER', 'https://st12.startlogic.com');
 define('HTTPS_CATALOG_SERVER', 'https://st12.startlogic.com');
 define('ENABLE_SSL_CATALOG', true); 	// secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/home/freelebr/public_html/osCommerce/catalog/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/~freelebr/osCommerce/catalog/admin/'); 	// absolute path required
 define('DIR_FS_ADMIN', '/home/freelebr/public_html/osCommerce/catalog/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', '/~freelebr/osCommerce/catalog/'); 		// absolute path required
 define('DIR_FS_CATALOG', '/home/freelebr/public_html/osCommerce/catalog/'); // absolute path required
 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 our database connection
 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', );
 define('DB_SERVER_PASSWORD', 
 define('DB_DATABASE', );
 define('USE_PCONNECT', 'false'); // use persisstent connections?
 define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
?>

 

Thanks for all the help.

 

Mrs.Flyingv

Link to comment
Share on other sites

Link to comment
Share on other sites

Ma'am,

 

I believe you should make the changes in your "configure.php" files as Miss Anthony has suggested.

 

And find a solution to what appears to be problems with .htaccess

 

Your site seems to be asking for a username and password in places it shouldn't.

:blush:

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

Archived

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

×
×
  • Create New...