Topic on Extension talk:AutoSitemap

Jump to navigation Jump to search

I imported 150K articles and the extension blocked editing

6
Uziel302 (talkcontribs)

"Notice: Only variables should be assigned by reference in /var/www/html/meaning.wiki/public_html/h/extensions/AutoSitemap/AutoSitemap_body.php on line 118

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 50874710 bytes) in /var/www/html/meaning.wiki/public_html/h/extensions/AutoSitemap/AutoSitemap_body.php on line 108"

Martynov Maxim (talkcontribs)

It looks like you didn't set enough memory to php interpreter, so generated sitemap file size exceeds memory limit. Try to set higher memory limit for php or set filters for namespace or pages to reduce sitemap size.

Uziel302 (talkcontribs)

How do I change limit? How do I reduce sitemap without deleting articles?

Martynov Maxim (talkcontribs)

http://bfy.tw/OVDS

You can add some page names to $wgAutoSitemap["exclude_pages"] or namespaces to $wgAutoSitemap["exclude_namespaces"] and they be excluded from sitemap.

Uziel302 (talkcontribs)

I know how to google, I changed multiple memory limits in php.ini and I thought there is something specific for this one. Is the php interpreter limit you talked about lives in the php.ini?

Uziel302 (talkcontribs)

In the list of namespace available to exclude I didn't find main namespace where all my articles are. I won't list 150K pages.

Reply to "I imported 150K articles and the extension blocked editing"