Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

artfulweb

Members
  • Posts

    324
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by artfulweb

  1. I had to uninstall it with 1.0.8.3 and my google rankings plummeted. Tried to reinstall but it does not... nothing shows in the database. If I were to pay for an udate to 1.0.8.5 in your opinion it WILL break? Should I wait?
  2. Hi Jack, Have you been able to get this to work with Phoenix 1.0.8.4 ?
  3. Oh, plus I did overwrite all the HTC files with the new ones from "Use_if_version_Phoenix_V_1.0.7.15_and_later" but without the above changes when editing a product or category the header tags title, description and key words so not save.
  4. Sorry Jack, it was /*** Begin Header Tags SEO ***/ 'categories_seo_title' => Text::prepare(strip_tags((tep_not_null($_POST['categories_seo_title'][$l]['id']) ? str_replace('"', '"', $_POST['categories_seo_title'][$l]['id']) : str_replace('"', '"', $_POST['categories_name'][$l]['id'])))), 'categories_seo_description' => Text::prepare(strip_tags((tep_not_null($_POST['categories_seo_description'][$l]['id']) ? str_replace('"', '"', $_POST['categories_seo_description'][$l]['id']) : str_replace('"', '"', $_POST['categories_name'][$l]['id'])))), 'categories_seo_keywords' => Text::prepare(strip_tags((tep_not_null($_POST['categories_seo_keywords'][$l]['id']) ? str_replace('"', '"', $_POST['categories_seo_keywords'][$l]['id']) : str_replace('"', '"', $_POST['categories_name'][$l]['id'])))), that I changed to 'categories_seo_description' => Text::prepare($_POST['categories_seo_description'][$l['id']]), 'categories_seo_title' => Text::prepare($_POST['categories_seo_title'][$l['id']]), 'categories_seo_keywords' => Text::prepare($_POST['categories_seo_keywords'][$l['id']]), /*** Begin Header Tags SEO ***/ and for products 'products_seo_title' => Text::prepare(strip_tags((tep_not_null($_POST['products_seo_title'][$language_id]) ? str_replace('"', '"', $_POST['products_seo_title'][$language_id]) : str_replace('"', '"', $_POST['products_name'][$language_id])))), 'products_seo_description' => Text::prepare(strip_tags((tep_not_null($_POST['products_seo_description'][$language_id]) ? str_replace('"', '"', $_POST['products_seo_description'][$language_id]) : str_replace('"', '"', $_POST['products_name'][$language_id])))), 'products_seo_keywords' => Text::prepare(strip_tags((tep_not_null($_POST['products_seo_keywords'][$language_id]) ? str_replace('"', '"', $_POST['products_seo_keywords'][$language_id]) : str_replace('"', '"', $_POST['products_name'][$language_id])))), TO: 'products_seo_description' => Text::prepare($_POST['products_seo_description'][$language_id]), 'products_seo_keywords' => Text::prepare($_POST['products_seo_keywords'][$language_id]), 'products_seo_title' => Text::prepare($_POST['products_seo_title'][$language_id]),
  5. Hi Jack, Thank you for the update. I do have several issues. On Phoenix 1.0.7.15 the categories seo title and description were not saving so I had to change line 74-77 : ================================ /*** Begin Header Tags SEO ***/ 'products_seo_title' => Text::prepare(strip_tags((tep_not_null($_POST['products_seo_title'][$language_id]) ? str_replace('"', '"', $_POST['products_seo_title'][$language_id]) : str_replace('"', '"', $_POST['products_name'][$language_id])))), 'products_seo_description' => Text::prepare(strip_tags((tep_not_null($_POST['products_seo_description'][$language_id]) ? str_replace('"', '"', $_POST['products_seo_description'][$language_id]) : str_replace('"', '"', $_POST['products_name'][$language_id])))), 'products_seo_keywords' => Text::prepare(strip_tags((tep_not_null($_POST['products_seo_keywords'][$language_id]) ? str_replace('"', '"', $_POST['products_seo_keywords'][$language_id]) : str_replace('"', '"', $_POST['products_name'][$language_id])))), =========================== TO: 'categories_seo_description' => Text::prepare($_POST['categories_seo_description'][$l['id']]), 'categories_seo_title' => Text::prepare($_POST['categories_seo_title'][$l['id']]), 'categories_seo_keywords' => Text::prepare($_POST['categories_seo_keywords'][$l['id']]), Also the 'categories_htc_title_tag_alt' , 'categories_htc_title_tag_url' and 'categories_htc_breadcrumb_text' only show in one language and do not fill (same for editing a product) Lastly, the following warnings in the logs : 1 - PHP Warning: Illegal offset type in /xx/xx/xx/xx/admin/categories.php on line 78 (and 79, 80) -line 78-80 : 'categories_htc_title_tag_alt' => Text::prepare(strip_tags((tep_not_null($_POST['categories_htc_title_tag_alt'][$l]['id']) ? str_replace('"', '"', $_POST['categories_htc_title_tag_alt'][$l]['id']) : str_replace('"', '"', $_POST['categories_name'][$l]['id'])))), 'categories_htc_title_tag_url' => Text::prepare(strip_tags((tep_not_null($_POST['categories_htc_title_tag_url'][$l]['id']) ? str_replace('"', '"', $_POST['categories_htc_title_tag_url'][$l]['id']) : str_replace('"', '"', $_POST['categories_name'][$l]['id'])))), 'categories_htc_breadcrumb_text' => Text::prepare(strip_tags((tep_not_null($_POST['categories_htc_breadcrumb_text'][$l]['id']) ? str_replace('"', '"', $_POST['categories_htc_breadcrumb_text'][$l]['id']) : str_replace('"', '"', $_POST['categories_name'][$l]['id'])))), 2 - PHP Notice: Undefined index: id in /xx/xx/xx/xx/admin/includes/header_tags_seo/htc_categories_display.php on line 9 These are beyond my competances! Thank you Jack.
  6. Yes it does persist with the fix so I will take your advice and try to target my database as I did make multiple backups
  7. All worked well in 1.0.7.12 so hopefully I can recover
  8. Nightmare! it concerns 4000 products... Thanks anyway Rainer. Will try to reload my Phoenix 1.0.7.12 and work upward again.
  9. With the fix when editing the option on the core attributes page I get this : Notice: Undefined index: tmp_name in /xx/xx/xx/xx/admin/includes/classes/upload.php on line 47 Notice: Undefined index: unlink_value_image in /xx/xx/xx/xx/admin/products_attributes.php on line 147 Notice: Undefined index: delete_value_image in /xx/xx/xx/xx/admin/products_attributes.php on line 147 Notice: Undefined index: delete_value_image in /xx/xx/xx/xx/admin/products_attributes.php on line 151 Warning: Cannot modify header information - headers already sent by (output started at /xx/xx/xx/xx/admin/includes/classes/upload.php:47) in /xx/xx/xx/xx/admin/includes/functions/general.php on line 36
  10. Sorry Rainer, those are the buttons on the "edit post" of the page! Here is a screen shot rather messy concerning options that already existed, the "language" option is ok but the "womans size" for some reason will no longer work after having worked all these years
  11. Hi Rainer, Hate to bother you but I just upgraded to 3.3.4 on Phoenix 1.0.7.14 and get the following error that have not had before when updating a product with options : line 201 i s <?= tep_draw_pull_down_menu("new_option_value_$optionId",$attributeManager->buildOptionValueDropDown($optionId),(((!isset($selectedOptionValue)) || (0 == $selectedOptionValue)) ? '0' : $selectedOptionValue),'style="margin:3px 0px 3px 0px;" id="new_option_value_'.$optionId.'"');?> Fatal error: Uncaught TypeError: Argument 1 passed to Text::output() must be of the type string, null given, called in /xx/xx/xx/xx/catalog/admin/includes/functions/general.php on line 58 and defined in /xx/xx/xx/xx/catalog/includes/system/versioned/1.0.7.other/1.0.7.12/text.php:40 Stack trace: #0 /xx/xx/xx/xx/catalog/admin/includes/functions/general.php(58): Text::output(NULL, Array) #1 /xx/xx/xx/xx/catalog/admin/includes/functions/html_output.php(309): tep_output_string(NULL, Array) #2 /xx/xx/xx/xx/catalog/admin/attributeManager/attributeManager.php(201): tep_draw_pull_down_menu('new_option_valu...', Array, '0', 'style="margin:3...') #3 {main} thrown in /xx/xx/xx/xx/catalog/includes/system/versioned/1.0.7.other/1.0.7.12/text.php on line 40 Save Cancel Save Cancel
  12. Hello Jack, With Phoenix 1.0.7.14 of course I can not adapt the categories.php with the Header Tags code. I know you must be overwhelmed with work as Phoenix upgrades so often but when you have a chance if you could just take a look. I appreciate it. Have a good night.
  13. Thanks Jack, that works for the sitemap.php file but in the includes/modules/sitemap_categories.php. the line is different : $osC_CategoryTree = new category_tree($GLOBALS['current_category_id']); So not sure how to do it....
  14. Hi Jack, Me again. Upgraded to PHOENIX 1.0.7.14 and have this error: Uncaught Error: Call to undefined method category_tree::buildBranchArray() in /xx/xxx/xx/xx/sitemap.php:64 Stack trace: #0 {main} thrown in /xx/xx/xx/xx/sitemap.php on line 64 Line 64 is : foreach ($osC_CategoryTree->buildBranchArray(0) as $cat) { Any ideas? Thank you in advance.
  15. Thank you Rainer. Was just hoping it was something simple! I will gladly wait.
  16. Hi Rainer, Having installed your latest version (QTpro Phoenix 7.2.0) on Phoenix 1.0.7.11 I do have this : PHP Notice: Undefined index: products_options_track_stock in /xx/xx/xx/xx/includes/hooks/admin/products_attributes/paQtPro.php on line 65 And the admin /products_attributes.php table it is thrown off by the track stock column as seen in the image below. Any ideas ? Thank you.
  17. Me again. It was a fresh install but I did as you suggested and cleared the cache, then put all the "use cache" to false and no more notices in the logs. Thanks!
  18. Thanks Jack, I know we keep you horribly busy!
  19. Hi Jack, With the new version there are notices in the logs (although everything seems to work): PHP Notice: Undefined index: path in /xx/xx/xx/xx/includes/classes/seo.class.php on line 2606 PHP Notice: Undefined index: path in /xx/xx/xx/xx/includes/classes/seo.class.php on line 2643 PHP Notice: Undefined index: path in /xx/xx/xx/xx/includes/classes/seo.class.php on line 2714 PHP Notice: Undefined index: path in /xx/xx/xx/xx/includes/classes/seo.class.php on line 2744
  20. Honestly I do not know if they are really useful or not, I was just used to them after all these years! Do the bots use the sitemap? Guess that would be the question. At any rate the rest works just fine. Thanks Jack!
  21. Hi John, Thanks for the update. Just installed and corrected in admin/order_editor/functions.php, line 284 : $product_options_query = tep_db_query("select products_options_id from " . TABLE_PRODUCTS_OPTIONS . " where products_options_name = '" . $options_name . "' and language_id = '" . (int)$language_id . "'"); TO: $product_options_query = tep_db_query("select products_options_id from products_options where products_options_name = '" . $options_name . "' and language_id = '" . (int)$language_id . "'"); And 298-300: $product_options_values_query = tep_db_query("select pov.products_options_values_id from " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov, " . TABLE_PRODUCTS_ATTRIBUTES . " pa where pa.options_id = '" . $options_id . "' and pov.products_options_values_name = '" . $options_value . "' and pov.language_id = '" . (int)$language_id . "' and pov.products_options_values_id = pa.options_values_id and pa.products_id = '" . (int)$products_id . "'"); } else { $product_options_values_query = tep_db_query("select pov.products_options_values_id from " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov, " . TABLE_PRODUCTS_ATTRIBUTES . " pa where pa.options_id = '" . $options_id . "' and pov.products_options_values_name = '" . $options_value . "' and pov.language_id = '" . (int)$language_id . "' and pov.products_options_values_id = pa.options_values_id"); TO: $product_options_values_query = tep_db_query("select pov.products_options_values_id from products_options_values pov, products_attributes pa where pa.options_id = '" . $options_id . "' and pov.products_options_values_name = '" . $options_value . "' and pov.language_id = '" . (int)$language_id . "' and pov.products_options_values_id = pa.options_values_id and pa.products_id = '" . (int)$products_id . "'"); } else { $product_options_values_query = tep_db_query("select pov.products_options_values_id from products_options_valuespov, products_attributes pa where pa.options_id = '" . $options_id . "' and pov.products_options_values_name = '" . $options_value . "' and pov.language_id = '" . (int)$language_id . "' and pov.products_options_values_id = pa.options_values_id");
  22. Thanks Jack! Confirming working perfectly on Phoenix 1.0.7.10 !
  23. Hi Jack, Thanks so much for the update. I can confirm a problem on a vanilla install on Phoenix 1.0.7.10 when opening admin/sitemap_seo_box_control.php : PHP Notice: Array to string conversion in /xx/xx/xx/xx/admin/includes/functions/sitemap.php on line 136 PHP Notice: Array to string conversion in /xx/xx/xx/xx/admin/includes/functions/sitemap.php on line 96 PHP Warning: file(/xx/xx/xx/xx/includes/modules/boxes/Array): failed to open stream: No such file or directory in /xx/xx/xx/xx/admin/includes/functions/sitemap.php on line 199 PHP Warning: count(): Parameter must be an array or an object that implements Countable in /xx/xx/xx/xx/admin/includes/functions/sitemap.php on line 101 PHP Warning: count(): Parameter must be an array or an object that implements Countable in /xx/xx/xx/xx/admin/includes/functions/sitemap.php on line 101 PHP Notice: Array to string conversion in /xx/xx/xx/xx/admin/includes/functions/sitemap.php on line 136 PHP Fatal error: Uncaught Error: [] operator not supported for strings in /xx/xx/xx/xx/admin/includes/functions/sitemap.php:266 Stack trace: #0 /xx/xx/xx/xx/admin/sitemap_seo_page_control.php(107): GetPagesArray('/xx/xx/x...', 'includes/langua...', Array, Array) #1 {main} thrown in /homepages/xx/xx/xx/admin/includes/functions/sitemap.php on line 266 Which on the store side does not show the boxes in the sitemap, only categories and manufacturers. Thank you for your help.
×
×
  • Create New...