

kolakubes
Members-
Content count
35 -
Joined
-
Last visited
Everything posted by kolakubes
-
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
kolakubes replied to spidometrs's topic in General Add-Ons Support
Am sorry about this, but when I try it on my live shop i get the following error Warning: ereg_replace() [function.ereg-replace]: REG_ERANGE in /home/xxxxxxx/public_html/catalog/includes/classes/seo.class.php on line 1829 I did everything the same on my test site -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
kolakubes replied to spidometrs's topic in General Add-Ons Support
Thanks so much for the quick reply and sorry for my slow response, as I had initially turn everything upside down trying to figure it out and took time to revert everything back. your solution was perfect and I can see it now working, just have to figure out how to use it properly. :thumbsup: your a star !! -
[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo
kolakubes replied to spidometrs's topic in General Add-Ons Support
Hiya and thanks for great contribution, I am trying to install ver 2.2d-9, after following the info I keep getting the following error soon as I try to access any of the pages Fatal error: Call to undefined function mb_convert_case() in /home/xxxxxxx/public_html/catalog/includes/classes/seo.class.php on line 1828 tried searching anything on this but cant see anyone else having teh same problem, have tried this a few times and am stuck atm. Any help would be appreciated. :rolleyes: -
Thanks so much for the support so far, yes i checked and change the settings to my image directory 757 and that have sorted the problem, only to try Fill tags and i get the following error. Fatal error: Maximum execution time of 30 seconds exceeded in /home/xxxxxxx/public_html/catalog/admin/includes/functions/header_tags.php on line 474 this kind of really baffles me as i have set this up on another testing cart on another domain name under same server and it works fine, and its the same file too without anything changed.
-
I think i managed to get everything on and almost working ok, but i keep getting the error Permissions settings for the /home/xxxxxxxx/public_html/catalog/includes/header_tags.php file appear to be incorrect. Change to 755. NOTE: Disregard if on Windows server. I have change the permission back and forth from 755 to 777 , but i cant seem to get this sorted, on reading the notes there might have been a work around Around line 201 you find this code: if (!is_writable($filename)) { if (!chmod($filename, 0666)) { echo "Cannot change the mode of file ($filename)"; exit; } } Replace that with the following code: if (!is_writable($filename)) { echo "The file isn't writable"; exit; /* if (!chmod($filename, 0666)) { echo "Cannot change the mode of file ($filename)"; exit; } */ } but on checking on the file the code is different, any help please?
-
Greetings, am stuck trying to install this contribution HeaderTags_SEO_V_3.1.8, but I keep getting an unexpected case error, I have had previously installed a product sort contribution and the admin/categories.php was somewhat altered, I have spent 2 days trying to track this down(sorry I have very limited knowledge in coding)and think I have found where I have gone wrong. The existing snippet <?php } elseif ($action == 'new_product_preview') { /* if (tep_not_null($HTTP_POST_VARS)) { $pInfo = new objectInfo($HTTP_POST_VARS); $products_name = $HTTP_POST_VARS['products_name']; $products_description = $HTTP_POST_VARS['products_description']; $products_url = $HTTP_POST_VARS['products_url']; } else { $product_query = tep_db_query("select p.products_id, pd.language_id, pd.products_name, pd.products_description, pd.products_url, p.products_quantity, p.products_model, p.products_image, p.products_price, p.products_weight, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status, p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = pd.products_id and p.products_id = '" . (int)$HTTP_GET_VARS['pID'] . "'"); $product = tep_db_fetch_array($product_query); */ if (tep_not_null($HTTP_POST_VARS)) { $pInfo = new objectInfo($HTTP_POST_VARS); $products_name = $HTTP_POST_VARS['products_name']; $products_description = $HTTP_POST_VARS['products_description']; $products_url = $HTTP_POST_VARS['products_url']; // BOF Product Sort $products_sort_order = $HTTP_POST_VARS['products_sort_order']; } else { $product_query = tep_db_query("select p.products_id, pd.language_id, pd.products_name, pd.products_description, pd.products_url, p.products_quantity, p.products_model, p.products_image, p.products_price, p.products_weight, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status, p.manufacturers_id, p.products_sort_order from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = pd.products_id and p.products_id = '" . (int)$HTTP_GET_VARS['pID'] . "'"); // EOF Product Sort $product = tep_db_fetch_array($product_query); $pInfo = new objectInfo($product); $products_image_name = $pInfo->products_image; } $form_action = (isset($HTTP_GET_VARS['pID'])) ? 'update_product' : 'insert_product'; echo tep_draw_form($form_action, FILENAME_CATEGORIES, 'cPath=' . $cPath . (isset($HTTP_GET_VARS['pID']) ? '&pID=' . $HTTP_GET_VARS['pID'] : '') . '&action=' . $form_action, 'post', 'enctype="multipart/form-data"'); $languages = tep_get_languages(); for ($i=0, $n=sizeof($languages); $i<$n; $i++) { if (isset($HTTP_GET_VARS['read']) && ($HTTP_GET_VARS['read'] == 'only')) { $pInfo->products_name = tep_get_products_name($pInfo->products_id, $languages[$i]['id']); $pInfo->products_description = tep_get_products_description($pInfo->products_id, $languages[$i]['id']); $pInfo->products_url = tep_get_products_url($pInfo->products_id, $languages[$i]['id']); } else { $pInfo->products_name = tep_db_prepare_input($products_name[$languages[$i]['id']]); $pInfo->products_description = tep_db_prepare_input($products_description[$languages[$i]['id']]); $pInfo->products_url = tep_db_prepare_input($products_url[$languages[$i]['id']]); } ?> and what I am trying to insert into it <!-- /*** Begin Header Tags SEO ***/ //--> <?php } elseif ($action == 'new_product_preview') { if (tep_not_null($HTTP_POST_VARS)) { $pInfo = new objectInfo($HTTP_POST_VARS); $products_name = $HTTP_POST_VARS['products_name']; $products_description = $HTTP_POST_VARS['products_description']; $products_head_title_tag = $HTTP_POST_VARS['products_head_title_tag']; $products_head_desc_tag = $HTTP_POST_VARS['products_head_desc_tag']; $products_head_keywords_tag = $HTTP_POST_VARS['products_head_keywords_tag']; $products_url = $HTTP_POST_VARS['products_url']; } else { $product_query = tep_db_query("select p.products_id, pd.language_id, pd.products_name, pd.products_description, pd.products_head_title_tag, pd.products_head_desc_tag, pd.products_head_keywords_tag, pd.products_url, p.products_quantity, p.products_model, p.products_image, p.products_price, p.products_weight, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status, p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = pd.products_id and p.products_id = '" . (int)$HTTP_GET_VARS['pID'] . "'"); $product = tep_db_fetch_array($product_query); /*** End Header Tags SEO ***/ is it possible to merge that into the existing code? Am really stuck and any help would be greatly appreciated.