Dynamic SiteMap
#821
Posted 12 January 2010, 15:38
The sitemap is showing up in the store no problem, but get an error posted when opening Sitemap Maintenance:
1146 - Table 'xxxxx_oscx.TABLE_SITEMAP_EXCLUDE' doesn't exist
select exclude_file from TABLE_SITEMAP_EXCLUDE where exclude_type != "0" and is_box="0"
[TEP STOP]
I also notice in the admin screen, things only go as far as "Use the tools below etc" and the Files in Catalog portion is missing.
I have cycled through the install instructions a couple of times, and the phpMyadmin sitemap database table is present. Being a cut & paste guy I'm just wondering if I should back out the install And delete the database table then have another go at things?
Thanks again for a great contribution, any advice greatly appreciated
#822
Posted 10 February 2010, 02:59
Great thanks
#823
Posted 25 July 2010, 15:35
Quote
select * from categories c, categories_description cd where parent_id = '0' and c.categories_id = cd.categories_id and categories_status = 1 and cd.language_id = '3' order by sort_order, cd.categories_name
[TEP STOP]
The code:
$category_status_check = '';
$check_query = tep_db_query("select * from " . TABLE_CATEGORIES);
$check = tep_db_fetch_array($check_query);
if (isset($check['status_categ'])) { // skip if this is not set to avoid SQL error
$category_status_check = ' and status_categ = 1';
} elseif (isset($check['categories_status'])) { // [b]skip if this is not set to avoid SQL error[/b]
$category_status_check = ' and categories_status = 1';
}
function getFileName($file, $define) //retrieve the defined filename
{
$fp = file($file);
for ($idx = 0; $idx < count($fp); ++$idx)
{
if (!(strpos($fp[$idx], $define) === FALSE))
{
$parts = explode("'", $fp[$idx]);
return $parts[3];
}
}
return NULL;
}
#824
Posted 25 July 2010, 23:34
ref:
Quote
Sitemap: http://sample.com/catalog/sitemaps.xml
What about http : // www . sample . com / catalog / sitemaps.xml ???
#825
Posted 02 August 2010, 19:19
Quote
#826
Posted 04 August 2010, 23:14
Is there a fix for the next to the last entry being blank? I just have a bullet, with no entry.
Also, how can I eliminate "Bestsellers" and "List of Manufacturers"?
Thanks,
Cindy
#827
Posted 20 August 2010, 10:27
JSR, on 05 October 2009, 07:53, said:
I've installed dynamic sitemap and I'm getting an "openbase restriction is in effect" warning on the catalog side.
Seems the script is trying to access the tmp dir, which is in the root of my store. The warning states however, that it's not within the allowed path (/var/www/vhosts/domain/httpdocs:/tmp).
Has anybody seen this before?
Has anyone else experienced this before?
Edited by JSR, 20 August 2010, 10:28.
#828
Posted 20 August 2010, 12:03
Change line 178:
if((!is_dir($file) && strtolower(substr($file, -4, 4)) === ".php") && !in_array($file ,$excluded_array))
TO:
if(($file != "..") && (!is_dir($file) && strtolower(substr($file, -4, 4)) === ".php") && !in_array($file ,$excluded_array))
This should stop the code from trying to access the tmp directory that's located outside of the root.
#829
Posted 31 October 2010, 05:16
i just installed this and am getting an error when i try to read the xml file called sitemaps.
Anyone have any idea whats causing this?
my sitemaps.xml
many thanks
#830
Posted 31 October 2010, 09:42
Installed Dynamic Sitemap v4.21 that all seems to be working except the content on the website on the site map page is all
wonky. My site is centered but does not center on the site map page.
Also, when you click on a link made from IPU, the page comes up 404 error. I made the IPU changes in the sitemap.php
http://www.craftybin.com
#831
Posted 23 November 2010, 19:30
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(..) is not within the allowed path(s): (/var/www/vhosts/midomain.com/httpdocs:/tmp) in /var/www/vhosts/mydomain.com/httpdocs/dynamic_sitemap.php on line 179
thanks
#832
Posted 11 February 2011, 22:31
I wanted to know if someone could look into possibility of also displaying products, but that option was up to customer to decide whether to show products or keep them hidden.
Best of luck and can't wait to hear from some the experts here.
#833
Posted 27 March 2011, 16:28
However when I get to this installation instruction it does not make sense.
The instruction #3 says to edit -- catalog/includes/boxes/information.php
HOWEVER THERE IS NO SUCH FILE " INFORMATION.PHP " IN OSCOMMERECE 2.3.1.
Additionally... install step 9 calles to edit --- admin/includes/boxes/tools.php
There is also no TOOLS.PHP file
Please advise. Thanks so much
#834
Posted 27 March 2011, 16:51
I can't find a sitemap contribution that works with a clean install of 2.3.1.
Wierd!@#$%
guess i will try Sitemap_SEO_V_1.7.zip
#835
Posted 18 September 2011, 16:41
i have also tried installing this contribution to 2.3.1.
i am almost there.
When you view the site map i get this error.
Parse error: syntax error, unexpected $end in /home/blah/public_html/blah/dynamic_sitemap.php on line 340
I guess this is a missing ; or } i cant spot the culprit allthough there are many missing ones in for/if/else loops etc guessing php 5.3.8 dont like these missing ones.
Any ideas anyone
#836
Posted 03 October 2011, 15:55
#837
Posted 09 October 2011, 13:40
http://addons.oscommerce.com/info/3306
It installed without any issues on my site...
Edited by The Munch, 09 October 2011, 13:41.
----------
Using: OSC 2.3.1, Algozone Template, Jcow 5 Pro, CometChat 4 Premium.
Contributions for OSC-2.3.1: QT Pro 4.6.1, Easy Populate EPv2.77a, Admin Notes, Contribution Tracker, Multi-Product Manager, myQBi Quickbooks Sync, Order Editor 5.0.9, Dynamic Sitemap, Tax ID in Order Editor, Separate Pricing Per Customer v4.2.2 ... etc ...
Contributions for OSC-2.2 I've Modified for OSC-2.3.1: Admin Level Account with Categories 2.3.4, File Logging or Email for Failed Admin Login Attempts, Autologon v1.09, Admin Specials by Categories, CCGV 6.0_1, Hide Categories, How Did You Hear About Us, MSRP Listing, Multiple Sales Per Product, osc as info site, OSC Checkout Security Boost v1.1, Points and Rewards Module, Quick Stock Updater, Quick Updates 292, RMA Returns System 2.6, Show Unit Price, Store Mode, Supplier Admin v1.3, Tell A Friend, Required Customer Details v22rc2a, Admin Change Customers Password v3.3, PDF Invoice & PackingSlip 1.6, Quick Price Updates for SPPC v1.5, Country-State Selector v1.5.5 + Limit Countries v2.2, Contact Us Popup Business Card, No Right Click, Delete Customer Account v1.2, Control Login v2.2, Member Type Control v1.1, .... etc...
#838
Posted 11 November 2011, 20:56
maxemus, on 03 October 2011, 15:55, said:
Is there a way to have this contribution do the same? I tried searching this topic but it keeps sending me to the 1st page.
I am not running 2.3.1 I am running 2.2rc2a
#839
Posted 30 November 2011, 16:47
How to show all products in dynamic sitemap?














