Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

mdtaylorlrim

♥Ambassador
  • Posts

    2,550
  • Joined

  • Last visited

  • Days Won

    6

mdtaylorlrim last won the day on December 5 2010

mdtaylorlrim had the most liked content!

Profile Information

  • Real Name
    Mark
  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

mdtaylorlrim's Achievements

  1. Actually, I don't remember as it was far too long ago. It does say right in the post that I changed the code so that I would see the detail of the error. i.e. See the full path to the file that could not be found. That is where I saw that the constant DIR_WS_LANGUAGES had not been assigned a value. That should happen in the compatibility add-on but was not, for some reason. So I traced the directory structure for where the file actually was found and forced the value into the variable. It all worked after that, and does to this day. If you don't understand what I said then you should probably stick with the advice from others that are far more experienced in this than am I. Sorry. Mark
  2. @@Jack_mcs In the sitemap page I only get the categories listed. It will list each product if I set it to do so, but with over 1500 items I do not list each item. But, it does not list any other page.... information, privacy, shipping, or any that I created. Should it?
  3. Agreed. It doesn't seem to affect anything at all. I'm fine with letting it go with the way it is. Thanks
  4. @@Jack_mcs That changed the error to: Warning: file() expects parameter 1 to be a valid path, array given in /home/html/admin/includes/functions/sitemap.php on line 205 Line 205 is now: $lines = file($path);
  5. That's fixed... one last problem.... Warning: file(/home/html/includes/modules/boxes/Array): failed to open stream: No such file or directory in /home/html/admin/includes/functions/sitemap.php on line 203 What is causing that? It is returned when you select Update in the Boxes Group Control Thanks Mark
  6. @@Jack_mcs Thanks Jack. Clicking on the Sitemap on the index page returns an error that a table does not exist. Verified with phpMyAdmin. I did run the install script and got a success message, all configuration values were inserted into the configuration table, but the new tables were not created. Any harm in running the install script again? Mark
  7. @@Jack_mcs Ok, the compatibility add on was installed at an earlier date, but my version of Edge (must be the latest as it was installed just last month) must be modular. The index.php has two conditions and a default procedure... First question to determine where to look where it goes would be does it go in the section where $category_depth is "nested", $category_depth is "products", or in the default? Mark
  8. @@Jack_mcs, I was installing this on Bootstrap Edge today and when I got to step 10, the instructions seem to fall apart. The phrase "include(DIR_WS_MODULES" does not appear anywhere in the index.php file. Or am I missing something? Thanks mark
  9. Thanks, that was it. Now something new. I get the error Call-time pass-by-reference has been removed in.... Which, I know the reasons, but when xml.php tests for the version of php using if (PHP_VERSION >= '5.0.0') PHP_VERSION returns a null value and therefore executes the code as if it is the older version of php. PHP_VERSION is set by environment variables by php, right? Rather than change all the code, or erase the inapplicable code and force the new code, where can I check for php not setting the value of PHP_VERSION? My Server info in Administration properly shows a current version of php. Mark
  10. My problem is the error: Couldn't find constant UPSXML_--none-- in.... However, I did attempt to get the code changed in modules.php as the install directions say, but it was slightly different. I had installed the USPS rates module so the code differed slightly. Here is my present code block: if (tep_not_null($action)) { switch ($action) { case 'save': reset($HTTP_POST_VARS['configuration']); while (list($key, $value) = each($HTTP_POST_VARS['configuration'])) { // USPS START if (is_array($value)) $value = implode(', ', $value); // USPS END tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . $value . "' where configuration_key = '" . $key . "'"); } If I change the code to include the extra line... if (tep_not_null($action)) { switch ($action) { case 'save': reset($HTTP_POST_VARS['configuration']); while (list($key, $value) = each($HTTP_POST_VARS['configuration'])) { // USPS START if (is_array($value)) $value = implode(', ', $value); $value = preg_replace ("/, --none--/", "", $value); } // USPS END tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . $value . "' where configuration_key = '" . $key . "'"); } tep_redirect(tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $HTTP_GET_VARS['module'])); break; I get this error: Parse error: syntax error, unexpected 'case' (T_CASE) in.... So I am thinking it broke the { } syntax. So I added a { if (tep_not_null($action)) { switch ($action) { case 'save': reset($HTTP_POST_VARS['configuration']); while (list($key, $value) = each($HTTP_POST_VARS['configuration'])) { // USPS START if (is_array($value)){ $value = implode(', ', $value); $value = preg_replace ("/, --none--/", "", $value); } // USPS END tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . $value . "' where configuration_key = '" . $key . "'"); } So, I then I get back to Couldn't find constant UPSXML_--none-- in.... So nothing seems to work for me. Anyone have any suggestions? Mark
  11. @@kymation Thanks Jim. It all works great. Off topic but which UPS shipping module works on BS-Edge?
  12. @@kymation The 2.3.4 folder has one file in it. modules.php So where does it go?
  13. So the install instructions say to simply upload the directories New files and Files to Modify into your structure. But in the Files to Modify it has two additional folders. 2.3.4 and 2.3.x.x This will create those folders in the directory tree. Is that what is intended or are we to select which matches our installed version and only upload those?
  14. Anyone use http://bootstrap-live-customizer.com/ Any better tool out there? Mark
×
×
  • Create New...