phpSitemapNG php based google sitemaps generator
tobiaskluge / phpsitemapng Goto Github PK
View Code? Open in Web Editor NEWphpSitemapNG php based google sitemaps generator
License: GNU General Public License v3.0
phpSitemapNG php based google sitemaps generator
License: GNU General Public License v3.0
Hi
Sitemap works fine on HTTP buit not for HTTPS.
I have tried setting the website and scan URLs to HTTPS. The script seems to run OK but returns
Info: Crawling website now...
Found 0 files
I have also tried setting the the site to 301 redirect from HTTP to HTTPS but this has the same result.
I realise this repo is old but I cannot fine another script that meets my needs as well as this one.
Is it possible to automatically create many sitemap files and sitemap-index for those files in case when there are over 50K urls ? Would be nice feature
initial scan shows almost 5,000 files. when i "create file" it only writes 200 lines and stops
At least some documentation would be fine. Just installing on APACHE with PHP 7.2 gives me:
PHP Fatal error: Uncaught Error: [] operator not supported for strings in /inc/classes/LayoutEngine.class.php:59
Stack trace:
#0 /inc/functions/functions.inc.php(99): LayoutEngine->addContentFooter('<div align="cen...')
#1 /inc/startup.php(54): init()
#2 /index.php(10): require_once('/...')
#3 {main}
thrown in /inc/classes/LayoutEngine.class.php on line 59
[20-Mar-2018 22:13:36 Europe/Berlin] PHP Fatal error: Uncaught Error: [] operator not supported for strings in /inc/classes/LayoutEngine.class.php:59
Stack trace:
#0 /inc/functions/functions.inc.php(99): LayoutEngine->addContentFooter('<div align="cen...')
#1 /inc/startup.php(54): init()
#2 /index.php(10): require_once('/...')
#3 {main}
thrown in /inc/classes/LayoutEngine.class.php on line 59
Hi.
I know there is no evolution of this very useful php script but I would like to know it is possible for a php programmer to solve.
The log in my hosting shows this:
[10-Jun-2021 17:01:31 Europe/Madrid] PHP Fatal error: Uncaught Error: [] operator not supported for strings in /usr/home/abcd.com/web/phpsitemapng/inc/classes/LayoutEngine.class.php:59
Stack trace:
#0 /usr/home/abcd.com/web/phpsitemapng/inc/functions/functions.inc.php(99): LayoutEngine->addContentFooter('<div align="cen...')
#1 /usr/home/abcd.com/web/phpsitemapng/inc/startup.php(54): init()
#2 /usr/home/abcd.com/web/phpsitemapng/index.php(10): require_once('/usr/home/crovi...')
#3 {main}
thrown in /usr/home/abcd.com/web/phpsitemapng/inc/classes/LayoutEngine.class.php on line 59
[10-Jun-2021 17:01:41 Europe/Madrid] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/home/abcd.com/web/phpsitemapng/inc/classes/LayoutEngine.class.php on line 156
[10-Jun-2021 17:01:41 Europe/Madrid] PHP Warning: Invalid argument supplied for foreach() in /usr/home/abcd.com/web/phpsitemapng/inc/classes/LayoutEngine.class.php on line 157
[10-Jun-2021 17:02:11 Europe/Madrid] PHP Fatal error: Uncaught Error: Call to undefined function split() in /usr/home/abcd.com/web/phpsitemapng/inc/classes/Crawler.class.php:340
Stack trace:
#0 /usr/home/abcd.com/web/phpsitemapng/inc/classes/Crawler.class.php(167): Crawler->_handleHeaders(Array)
#1 /usr/home/abcd.com/web/phpsitemapng/inc/classes/Crawler.class.php(67): Crawler->_getFilesForURL('https://www.cro...')
#2 /usr/home/abcd.com/web/phpsitemapng/inc/functions/parsing.inc.php(249): Crawler->start()
#3 /usr/home/abcd.com/web/phpsitemapng/inc/functions/parsing.inc.php(63): runCrawler(Array, Array)
#4 /usr/home/abcd.com/web/phpsitemapng/index.php(26): parseFilesystem()
#5 {main}
thrown in /usr/home/abcd.com/web/phpsitemapng/inc/classes/Crawler.class.php on line 340
[10-Jun-2021 17:05:31 Europe/Madrid] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/home/abcd.com/web/phpsitemapng/inc/classes/LayoutEngine.class.php on line 156
[10-Jun-2021 17:05:31 Europe/Madrid] PHP Warning: Invalid argument supplied for foreach() in /usr/home/abcd.com/web/phpsitemapng/inc/classes/LayoutEngine.class.php on line 157
[10-Jun-2021 17:10:30 Europe/Madrid] PHP Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0
[10-Jun-2021 17:10:30 Europe/Madrid] PHP Warning: Use of undefined constant PSNG_TXTSITEMAP_URL - assumed 'PSNG_TXTSITEMAP_URL' (this will throw an Error in a future version of PHP) in /usr/home/abcd.com/web/phpsitemapng/inc/functions/parsing.inc.php on line 489
[10-Jun-2021 17:10:30 Europe/Madrid] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/home/abcd.com/web/phpsitemapng/inc/classes/LayoutEngine.class.php on line 156
[10-Jun-2021 17:10:30 Europe/Madrid] PHP Warning: Invalid argument supplied for foreach() in /usr/home/abcd.com/web/phpsitemapng/inc/classes/LayoutEngine.class.php on line 157
Many thanks for your help
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.