• Welcome to Sitemap Generator Forum.
 

php7 compatibility

Started by 989, February 12, 2016, 12:27:45 PM

Previous topic - Next topic

989

Hi,

when will we get a xml sitemapgenerator update that is 100% php7 compatible and doesn't throw errors when using php7?

Thanks & regards

XML-Sitemaps Support

Hello,

you can redownload current version of sitemap generator, the issue with " Methods with the same name as their class " should be corrected now.

989

Installed the update on the server. Still got errors that send ultra long text emails (11 MB) - which isn't useful and hurts my email account.

This is how these email starts (too long to copy):
<html><head><title>XML Sitemaps - Generation</title><meta http-equiv="Content-type" content="text/html;" charset="utf-8" /><link rel=stylesheet type="text/css" href="pages/style.css"></head><body><div id="glog">Links depth: <b><span id="llevel">-</span></b><br>Current page: <span id="cpage">-</span><br>Pages added to sitemap: <span id="compno">-</span><br>Pages scanned: <span id="pdone">-</span> (<span id="bdone">-</span> KB)<br>Pages left: <span id="pleft">-</span> (+ <span id="l2">-</span> queued for the next depth level)<br>Time passed: <span id="tdone">-</span><br>Time left: <span id="tleft">-</span><br>Memory usage: <span id="musage">-</span></div><script language="Javascript">var pageLoadCompleted=false;function HGWO7D8YcMrOwQ_B(id,txt){el = document.getElementById(id);el.innerHTML = txt;}function aqAxgNGqxV(txt1,txt2,txt3,txt4,txt5,txt6,txt7,txt8,txt9,txt10){HGWO7D8YcMrOwQ_B('cpage',txt1);HGWO7D8YcMrOwQ_B('pleft',txt2);HGWO7D8YcMrOwQ_B('pdone',txt3);HGWO7D8YcMrOwQ_B('bdone',txt4);HGWO7D8YcMrOwQ_B('tdone',txt5);HGWO7D8YcMrOwQ_B('tleft',txt6);HGWO7D8YcMrOwQ_B('llevel',txt7);HGWO7D8YcMrOwQ_B('musage',txt8);HGWO7D8YcMrOwQ_B('compno',txt9);HGWO7D8YcMrOwQ_B('l2',txt10);}function R4_8B4Be7gefytd(){if(window.parent && window.parent.document){window.parent.lastupdate = new Date();}}window.onload=function(){pageLoadCompleted = true;};</script><script>aqAxgNGqxV('', '0', '0', '0.0', '0:00:01', '0:00:00', '0', '1,240.2 Kb', '0', '0' ); R4_8B4Be7gefytd(); </script>


989

I start sitemap generator via cron job and php.
php version is 7.0.2.
web site itself runs under https.
Cronjob URL runs under http.


989

http://subdomain.domain.de/folder_4/generator_71/index.php?op=crawlproc&resume=1

XML-Sitemaps Support

The cron task command line looks like:
php /path/to/public_html/generator/runcrawl.pgp

(otherwise it is running in the same way as in browser hence large output).

989

#8
No, i have to start the cronjob via http and a url.

This is a specification of my isp and the interface.

Don't have a chance to start it in the way you've mentioned.


989

OK, is there a way to suppress this additional email when starting the cronjob via http?

At the moment it's a 11 MB pure text email which really makes problems in my mail account.

XML-Sitemaps Support

No, there is no option for that. You might be able to disable email notification for the cron task though.

989

#12
OK, thanks. Found a way to suppress the email when it has a defined keyword. So i defined "XML Sitemaps - Generation" as phrase, which is not part of the general info mail that sitemap generator sends when the daily crawl is done. So hopefully this works and prevents the cron job from sending the 11 mb email.

Regards from Germany