Skip to content
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.

Błąd przy generowaniu linku rss #4

Closed
saytin opened this issue Apr 24, 2019 · 2 comments
Closed

Błąd przy generowaniu linku rss #4

saytin opened this issue Apr 24, 2019 · 2 comments

Comments

@saytin
Copy link

saytin commented Apr 24, 2019

Kilkaset błędów
Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /srv/http/OLX-RSS/src/simple_html_dom.php on line 1385

I na koniec

Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in /srv/http/OLX-RSS/src/simple_html_dom.php on line 690

Warning: Invalid argument supplied for foreach() in /srv/http/OLX-RSS/src/simple_html_dom.php on line 697

Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in /srv/http/OLX-RSS/src/simple_html_dom.php on line 690

Warning: Invalid argument supplied for foreach() in /srv/http/OLX-RSS/src/simple_html_dom.php on line 697
https://www.olx.pl/elektronika/komputery/komputery-stacjonarne/ OLX RSS pl

PHP 7.3.1 (cli) (built: Jan 11 2019 07:28:51) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.1, Copyright (c) 1998-2018 Zend Technologies

w logu apache jest to samo.

@MK-PL
Copy link
Owner

MK-PL commented Apr 28, 2019

Witaj @saytin,
U mnie ten URL zadziałał, więc sprawdziłem dokładniej i okazało się, że używany w OLX-RSS skrypt PHP Simple HTML DOM Parser był w starszej wersji, która nie działała poprawnie na PHP 7.3. Zaktualizowałem ten skrypt do najnowszej wersji w OLX-RSS c54c3d7. Powinno to teraz działać na PHP 7.3.

sunra/php-simple-html-dom-parser#64
https://sourceforge.net/projects/simplehtmldom/files/simplehtmldom/1.8.1/

@saytin
Copy link
Author

saytin commented Jun 14, 2019

działa. Dzięki.

@saytin saytin closed this as completed Jun 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants