Announcement

  •  » Extensions
  •  » [resolved] Rv Sitemap doesn't create sitemaps for the links to folders

#1 2014-02-10 17:58:38

salvatore
Member
2012-08-18
84

[resolved] Rv Sitemap doesn't create sitemaps for the links to folders

I have this problem with this plugin.Because I have a lot of photos,beacuse you can't put no more than 50.000 links per sitemap with google,I've decided to create two sitemaps,one where I put only the links of the photos(this is ok),and another one with links to the folders(this doesn't work).I've tried to delete the sitemap via filezilla,to check the permissions(have 755 on sitemap.xml and plugins folder),but nothing works,I can't create that sitemap.Why?Thanks

Last edited by salvatore (2014-02-10 18:00:52)

Offline

 

#2 2014-02-10 19:29:52

rvelices
Former Piwigo Team
2005-12-29
1960

Re: [resolved] Rv Sitemap doesn't create sitemaps for the links to folders

Do you get an error ?
What is the filename you fill in the sitemap admin page ?
Do you have a link ?

Offline

 

#3 2014-02-10 20:28:35

salvatore
Member
2012-08-18
84

Re: [resolved] Rv Sitemap doesn't create sitemaps for the links to folders

rvelices wrote:

Do you get an error ?
What is the filename you fill in the sitemap admin page ?
Do you have a link ?

I don't get nothing,nothing appers after I've tried to generate the sitemap(when I want to create the images sitemap the number of urls appears after the generation) it doesn't create any file also using different names for the xml file

Offline

 

#4 2014-02-11 08:49:15

rvelices
Former Piwigo Team
2005-12-29
1960

Re: [resolved] Rv Sitemap doesn't create sitemaps for the links to folders

Is php allowed to write the file ? (e.g. permissions)

Offline

 

#5 2014-02-11 10:34:16

salvatore
Member
2012-08-18
84

Re: [resolved] Rv Sitemap doesn't create sitemaps for the links to folders

rvelices wrote:

Is php allowed to write the file ? (e.g. permissions)

it doesn't write it also with 777 permissions,but with the photos sistemap all works 100%

Offline

 

#6 2014-02-11 12:00:11

rvelices
Former Piwigo Team
2005-12-29
1960

Re: [resolved] Rv Sitemap doesn't create sitemaps for the links to folders

I don't see another solution than giving me a link and admin status to give it a try ...

Offline

 

#7 2014-02-11 18:10:42

salvatore
Member
2012-08-18
84

Re: [resolved] Rv Sitemap doesn't create sitemaps for the links to folders

rvelices wrote:

I don't see another solution than giving me a link and admin status to give it a try ...

ok now you can access to my site as admin

Offline

 

#8 2014-02-11 19:20:22

rvelices
Former Piwigo Team
2005-12-29
1960

Re: [resolved] Rv Sitemap doesn't create sitemaps for the links to folders

I tried to create sitemap_test.xml
There is no permission issue, but I think it is related to the number of albums/tags you select for submission from the admin page.
There is a php ini variable max_input_vars which defaults to 1000 . I think the limit is there. It works as long as the number of albums + tags + ~ 20 static inputs < 1000.

Try increasing thins number.

Offline

 

#9 2014-02-11 20:01:26

salvatore
Member
2012-08-18
84

Re: [resolved] Rv Sitemap doesn't create sitemaps for the links to folders

rvelices wrote:

I tried to create sitemap_test.xml
There is no permission issue, but I think it is related to the number of albums/tags you select for submission from the admin page.
There is a php ini variable max_input_vars which defaults to 1000 . I think the limit is there. It works as long as the number of albums + tags + ~ 20 static inputs < 1000.

Try increasing thins number.

I've tried to change the php.ini but it give me an error...but with Aruba I can't increase that number,so I had to create 6 sitemaps for the links,and now it ì's all ok.This never happened when I had a windows server,now I'm on a linux server.

Thanks a lot rvelices. :)

Last edited by salvatore (2014-02-11 20:01:58)

Offline

 

#10 2016-07-22 15:13:36

viewadam
Member
2014-08-27
17

Re: [resolved] Rv Sitemap doesn't create sitemaps for the links to folders

Hello

I make jump from free hosting to VPS and slow configure step by step.

Problems for green user:

Sitemap plug don't save new tag. Old hosting no problem.


Coincidentally in the meantime I was looking for errors Piwik Analitycs in /var/log/nginx/error.log and I saw this:

420 FastCGI sent in stderr: "PHP message: PHP Warning:  Unknown: Input variables exceeded 1000. To increase the limit change   max_input_vars in php.ini. in Unknown on line 0" while reading  response header from upstream, client: xxx.xxx.xx.x, server:   localhost, request:  request: "POST /admin.php?page=plugin&section=0rv_sitemap%2Fsitemap.php HTTP/1.1", upstream:   "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "mysite.com" referrer: "http://mysite.com/admin.php?  page=plugin&section=rv_sitemap%2Fsitemap.php

@Salvatore Aruba it's only "server" problem is in "our" php.ini.

Where is php.ini  (my configuration Debian8-64bit php7 fpm) ?
sudo nano /etc/php/7.0/fpm/php.ini

Search
max_input_vars

Remove  ->    ;       
and increase limit 10000 ? 20000, ....... ?.

You will see example: limit memory without    ;    .
(;  work like #)

Save file

Next
sudo service php7.0-fpm restart
sudo service nginx restart

It's work without turn-off and turn-on VPS.

Piwigo version: 2.8.2
PHP version: 7.0.8
MySQL version: 5.5.49
Piwigo URL: http://fotoport.win

Last edited by viewadam (2016-07-22 15:21:56)

Offline

 
  •  » Extensions
  •  » [resolved] Rv Sitemap doesn't create sitemaps for the links to folders

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact