Sitemap SEO
#681
Posted 22 February 2012 - 11:35 AM
I dropped a bollock and posted in the wrong thread, apologies!
However, I still have the following issue that I need help with;
Warning: explode() expects parameter 2 to be string, array given in /.../.../.../admin/sitemap_seo_box_control.php on line 162
Boxes Group Control section of Sitemap SEO
Please help.
#682 ONLINE
Posted 22 February 2012 - 01:27 PM
Neilsson, on 22 February 2012 - 11:35 AM, said:
Boxes Group Control section of Sitemap SEO
Please help.
$boxName = explode(".", $activeBox);
to
if (! is_array($activeBox))
$boxName = explode(".", $activeBox);
Edited by Jack_mcs, 22 February 2012 - 01:28 PM.
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#683
Posted 23 February 2012 - 04:49 PM
I now have the following warning on both sitemap_seo and sitemap_seo_page_control;
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /.../.../.../.../includes/functions/sitemap.php on line 302
and the following warnings on sitemap_seo_box_control;
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /.../.../.../.../includes/functions/sitemap.php on line 18
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /.../.../.../.../includes/functions/sitemap.php on line 185
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /.../.../.../.../includes/functions/sitemap.php on line 167
Having searched for these warnings, I've tried solutions you provided for others, but without any success. For example;
http://forums.oscommerce.com/topic/324829-sitemap-seo/page__view__findpost__p__1521857
When I click on Admin > Catalog I also receive this error message:
Error: Catalog images directory does not exist: /images/
Here's my congfig.php from my admin dir;
define('HTTP_SERVER', 'http://www.thegamersoutpost.co.uk');
define('HTTP_CATALOG_SERVER', 'http://www.thegamersoutpost.co.uk');
define('HTTPS_CATALOG_SERVER', 'http://www.thegamersoutpost.co.uk');
define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
define('DIR_FS_DOCUMENT_ROOT', '/*****/*****/public_html/');
define('DIR_WS_ADMIN', '/myadmindirname/');
define('DIR_FS_ADMIN', '/public_html/myadmindirname/');
define('DIR_WS_CATALOG', '/');
define('DIR_FS_CATALOG', '/public_html/');
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/');
I also have a problem with header tags contribution, which I'll post in the h/t thread
Edited by Neilsson, 23 February 2012 - 04:51 PM.
#684 ONLINE
Posted 23 February 2012 - 05:51 PM
Neilsson, on 23 February 2012 - 04:49 PM, said:
I now have the following warning on both sitemap_seo and sitemap_seo_page_control;
I also have a problem with header tags contribution, which I'll post in the h/t thread
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#685
Posted 23 February 2012 - 08:58 PM
Jack_mcs, on 23 February 2012 - 05:51 PM, said:
Thanks Jack,
I've started a new topic in General Support, maybe you could keep an eye on it so's you can offer some input in any references to your contributions?
#686
Posted 27 February 2012 - 02:20 PM
altoid, on 24 December 2011 - 02:32 AM, said:
However, while the "related products" link is operating correct I am not sure about the related categories link, and the manufacturers link is always showing no other products for this manufacturer, even though there are.
The related categories link seems to pull up the correct link, but right after follows the entire listing of shop categories, not just the category that would apply.
I have the exact same results on 2.3 shop using 1.8. I'm using the class file included in the contrib.
#687 ONLINE
Posted 27 February 2012 - 05:04 PM
Roaddoctor, on 27 February 2012 - 02:20 PM, said:
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#688
Posted 27 February 2012 - 11:42 PM
Any chance you could add compatibility with Information Pages Unlimited in the next version??? http://addons.oscommerce.com/info/1026
Ver. 2.05(bug fix) is what I use on before 2.3 installs.
Lots of us use it, and it would be nice to have all the info links on the sitemap.
Thanks in advance
Dave
#689 ONLINE
Posted 28 February 2012 - 01:30 AM
Roaddoctor, on 27 February 2012 - 11:42 PM, said:
Any chance you could add compatibility with Information Pages Unlimited in the next version??? http://addons.oscommerce.com/info/1026
Ver. 2.05(bug fix) is what I use on before 2.3 installs.
Lots of us use it, and it would be nice to have all the info links on the sitemap.
Thanks in advance
Dave
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#690
Posted 28 February 2012 - 02:53 PM
#691 ONLINE
Posted 18 March 2012 - 04:43 PM
- Changed how layout is handled on sitemap.php to allow for better display in some cases.
- Corrected upgrade instructions for 1.7 to 1.8
- Fixed code in modules/sitemap_manufacturers.php that would prevent it from working for all sites.
- Fixed code in modules/sitemap_manufacturers.php so manufacturers are displayed correctly.
- Fixed the show/hide option in sitemap.php.
- Included the missing language file for 2.3 shops
- Replaced category_tree class files with ones from 1.7
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#692
Posted 22 March 2012 - 02:56 AM
Just downloaded the new version and installed today on 2.3.1 on Windows/IIS platform. Encountered the explode() error in admin, and got Jack's fix from post # 682 above to fix that. But I am now left with the following error whenever I click on a list entry in the "Boxes Group Control" and click update on the admin Box Control page:
Warning: file(D:/home/mysite.com/wwwroot/includes/modules/boxes/Array): failed to open stream: No such file or directory in D:\home\mysite.com\wwwroot\admin\includes\functions\sitemap.php on line 203
Line 203 is in the GetFilesArray() function, so I put a "print($path);" line as the first line in the function and retried got the same error, with my print statement showing the contents of the passed $path parameter being: D:/home/mysite.com/wwwroot/includes/modules/boxes/Array
On my actual site, if I click the sitemap link, the sitemap page displays a listing of links to all my site categories, but nothing else - no produts, no about page, no contatct us page, etc. The related products and related category links however at the bottom of product pages and category pages are working fine.... any ideas as to what I might have wrong?
I read in the install.txt that "This will only work for boxes with hard coded links, like the information box. If you don't use such a box, skip this step." I don't know exactly what is meant by that... I do use the info box, but have added some of my own additonal links/pages such as "about us".... not sure if this statement applies to me or not...
Thanks for any assistance offered!!!
(Also FYI, the 2.3.1 install.txt for the new version needs to have the step added to it to add the
define('MODULE_BOXES_INFORMATION_SITEMAP_SEO', 'Site Map');
to the bm_information.php file in /includes/languages/english/modules/boxes. The file is included in the package with the definition, but for those of us doing an install to a modified site, we'll miss that the first time around since the step's missing in the install.txt.... no biggie, since as soon as you see the link on your site's info box, you know what you need to do.... but just wanted to point that out.)
#693 ONLINE
Posted 22 March 2012 - 11:58 AM
jmoll, on 22 March 2012 - 02:56 AM, said:
Just downloaded the new version and installed today on 2.3.1 on Windows/IIS platform. Encountered the explode() error in admin, and got Jack's fix from post # 682 above to fix that. But I am now left with the following error whenever I click on a list entry in the "Boxes Group Control" and click update on the admin Box Control page:
Quote
Warning: file(D:/home/mysite.com/wwwroot/includes/modules/boxes/Array): failed to open stream: No such file or directory in D:\home\mysite.com\wwwroot\admin\includes\functions\sitemap.php on line 203
function GetFilesArray($path, &$lines) {
echo $path;
Quote
On my actual site, if I click the sitemap link, the sitemap page displays a listing of links to all my site categories, but nothing else - no produts, no about page, no contatct us page, etc. The related products and related category links however at the bottom of product pages and category pages are working fine.... any ideas as to what I might have wrong?
Quote
I read in the install.txt that "This will only work for boxes with hard coded links, like the information box. If you don't use such a box, skip this step." I don't know exactly what is meant by that... I do use the info box, but have added some of my own additonal links/pages such as "about us".... not sure if this statement applies to me or not...
Quote
(Also FYI, the 2.3.1 install.txt for the new version needs to have the step added to it to add the
define('MODULE_BOXES_INFORMATION_SITEMAP_SEO', 'Site Map');
to the bm_information.php file in /includes/languages/english/modules/boxes. The file is included in the package with the definition, but for those of us doing an install to a modified site, we'll miss that the first time around since the step's missing in the install.txt.... no biggie, since as soon as you see the link on your site's info box, you know what you need to do.... but just wanted to point that out.)
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#694
Posted 22 March 2012 - 03:53 PM
Jack_mcs, on 22 March 2012 - 11:58 AM, said:
function GetFilesArray($path, &$lines) { echo $path; Quote
#695 ONLINE
Posted 22 March 2012 - 04:26 PM
jmoll, on 22 March 2012 - 03:53 PM, said:
The box control allows you to add links found in infoboxes to the sitemap page. It will only work with links that coded using an oscommerce link. When you enable a box in box control, it will list the links it can understand. Usually, the only box it can read is the information box. Others have their own code to build the links, like What's New and Specials, so it just isn't practical to try and code for those. So that meanus you will probably only be missing a few links from the sitemap page, which makes it not very important.
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#696
Posted 22 March 2012 - 05:22 PM
Jack_mcs, on 22 March 2012 - 04:26 PM, said:
The box control allows you to add links found in infoboxes to the sitemap page. It will only work with links that coded using an oscommerce link. When you enable a box in box control, it will list the links it can understand. Usually, the only box it can read is the information box. Others have their own code to build the links, like What's New and Specials, so it just isn't practical to try and code for those. So that meanus you will probably only be missing a few links from the sitemap page, which makes it not very important.
Ok, thanks. Yeah, I created my own box called "Colors, Patterns, and Finishes", but I did it all the "osCommerce way", and so all those links are showing up just fine in the site map, so I guess I'm cool for now!
So, I've been moving down the list of your recommended SEO contributions as listed in your profile page, and next on the list is "All Products SEO". Are you recommending a store site to have both your Sitemap SEO contribution and the All Products SEO - do these complement each other, or are they more mutually exclusive? Thanks again!
#697 ONLINE
Posted 22 March 2012 - 06:20 PM
jmoll, on 22 March 2012 - 05:22 PM, said:
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#698
Posted 22 March 2012 - 06:37 PM
Jack_mcs, on 22 March 2012 - 06:20 PM, said:
Ok, thanks for the advice. In the meantime, do you know of any other contrib's for 2.3.1 that would provide similar functionality to All Products SEO, or you think I should just wait if you think you might have a package in the near future? (Oops, probably should post this in the All Products SEO forum, but this will be the last of this thread, promise!)
#699 ONLINE
Posted 22 March 2012 - 11:04 PM
jmoll, on 22 March 2012 - 06:37 PM, said:
Most Important: Header Tags SEO - Ultimate SEO V 2.2d
All SEO Addons: Recommended SEO Addons
Support Links:
Finding relevant link exchanges - Headers Already Sent - What does it cost? -What's my version? - How to change titles? - Preventing HotLinking
#700
Posted 23 March 2012 - 12:43 PM
When I view the www.yeltsa.com/sitemap.php the top level categories url are like this www.yeltsa.com/-c-.html although the anchor text is present and correct.
The other is when I change settings within the admin on the Page Control page is does not save my settings when i click update.
Any help would be great









