Jump to content
Jack_mcs

Sitemap SEO

Recommended Posts

Just now, Jack_mcs said:

That error, in a case like this, usually means something is missing or there is a mistake in the file. But what I uploaded is working here so it would seem to be a problem on your side. If you didn't replace all of the files, you will need to do that. Also, see if there is an error_log file since that might explain the failure.

Thanks Jack. Odd enough, I replaced all the files as well as tried to pay attention not to miss some essential files...no way. Will try again in the future, perhaps I am too tired now...

Share this post


Link to post
Share on other sites
On 11/23/2020 at 7:49 PM, Jack_mcs said:

That error, in a case like this, usually means something is missing or there is a mistake in the file. But what I uploaded is working here so it would seem to be a problem on your side. If you didn't replace all of the files, you will need to do that. Also, see if there is an error_log file since that might explain the failure.

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.
 

Share this post


Link to post
Share on other sites
45 minutes ago, artfulweb said:

Which on the store side does not show the boxes in the sitemap, only categories and manufacturers.

That's correct. The code for handling the infoboxes in Phoenix needs to be replaced but I'm not sure it is worth the effort.  I didn't see all of the warnings you mentioned since they only occur if you try to use the box control section and I didn't do that since I knew it wouldn't work. I'm sorry I forgot to mention it.

 In pre-Phoenix, and maybe pre-Frozen shops, some of the links in the boxes were only shown if the box was showing.  But in Phoenix, most, if not all, of the links will already be displayed in another module, like a footer module. Do you see a need to show the links in the site map? Technically, they do belong in the site map. I'm just wondering if there is any point in doing that?

Share this post


Link to post
Share on other sites
2 minutes ago, Jack_mcs said:

That's correct. The code for handling the infoboxes in Phoenix needs to be replaced but I'm not sure it is worth the effort.  I didn't see all of the warnings you mentioned since they only occur if you try to use the box control section and I didn't do that since I knew it wouldn't work. I'm sorry I forgot to mention it.

 In pre-Phoenix, and maybe pre-Frozen shops, some of the links in the boxes were only shown if the box was showing.  But in Phoenix, most, if not all, of the links will already be displayed in another module, like a footer module. Do you see a need to show the links in the site map? Technically, they do belong in the site map. I'm just wondering if there is any point in doing that?

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!

Share this post


Link to post
Share on other sites
21 hours ago, artfulweb said:

Do the bots use the sitemap?

Yes, they do. That is really the main reason I wrote it in the first place. But the links on it just provide help for the ranking of the linked to page and is not as important now as it used to be. I may go ahead and add the code whenever I get back to working on this addon but in the meantime not using  the box section is the best choice.

Share this post


Link to post
Share on other sites
1 hour ago, Jack_mcs said:

Yes, they do. That is really the main reason I wrote it in the first place. But the links on it just provide help for the ranking of the linked to page and is not as important now as it used to be. I may go ahead and add the code whenever I get back to working on this addon but in the meantime not using  the box section is the best choice.

Thanks Jack, I know we keep you horribly busy!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×