[3.2][RC] SEO Metadata

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Post Reply
User avatar
RomaamoR
Registered User
Posts: 176
Joined: Tue Feb 24, 2015 4:45 pm
Contact:

Re: [3.2][RC] SEO Metadata

Post by RomaamoR » Fri Jan 11, 2019 8:03 am

</Solidjeuh> wrote:
Fri Jan 11, 2019 2:12 am
Working perfect here on 2 live boards.
Try the same URL with the Facebook debugger: https://developers.facebook.com/tools/debug/sharing/
Предупреждения, которые должны быть устранены
Вычисленное свойство
Свойство «og:image» должно быть указано в явном порядке, даже если его значение может быть вычислено на основании других тегов.
Отсутствуют объекты монетизации
Отсутствуют следующие необходимые объекты монетизации: og:url, og:type, og:title, og:image, og:description, fb:app_id
Неверный ответный код
URL returned a bad HTTP response code.
Когда и каким образом происходил последний скрапинг URL
Время скрапинга
2 с. назад
Повторить скрапинг
Код ответа 503
Полученный URL https://satellitetvforum.info/viewtopic ... 29#p134029
Канонический URL-адрес
https://satellitetvforum.info/viewtopic ... 29#p134029
0 отметок «Нравится», перепостов и комментариев (Дополнительная информация).
Предпросмотр ссылки
IP-адрес сервера 185.74.252.14
Мы создали следующие свойства Open Graph на основании необработанных тегов
og:url https://satellitetvforum.info/viewtopic ... 29#p134029
og:title General Error
og:description
<meta charset="utf-8" />

User avatar
AbaddonOrmuz
Registered User
Posts: 659
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo Ramos
Contact:

Re: [3.2][RC] SEO Metadata

Post by AbaddonOrmuz » Sat Jan 12, 2019 8:30 pm

There are two issues:
  • Your server returns an HTTP 503 error code, it seems to be because of an SQL error
  • It seems that you're not using this extension since you have duplicate Open Graph and Twitter Cards meta tags, and this extension have checks in place to avoid that
RomaamoR wrote:
Fri Jan 11, 2019 8:03 am
URL returned a bad HTTP response code.
I don't speak Russian but running the Facebook debugger with that URL and clicking the link "See exactly what our scraper sees for your URL", I get:

Code: Select all

<!DOCTYPE html>
<html dir="ltr">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>General Error</title>
<style type="text/css">
/* <![CDATA[ */
* { margin: 0; padding: 0; } html { font-size: 100%; height: 100%; margin-bottom: 1px; background-color: #E4EDF0; } body { font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; color: #536482; background: #E4EDF0; font-size: 62.5%; margin: 0; } a:link, a:active, a:visited { color: #006699; text-decoration: none; } a:hover { color: #DD6900; text-decoration: underline; } #wrap { padding: 0 20px 15px 20px; min-width: 615px; } #page-header { text-align: right; height: 40px; } #page-footer { clear: both; font-size: 1em; text-align: center; } .panel { margin: 4px 0; background-color: #FFFFFF; border: solid 1px  #A9B8C2; } #errorpage #page-header a { font-weight: bold; line-height: 6em; } #errorpage #content { padding: 10px; } #errorpage #content h1 { line-height: 1.2em; margin-bottom: 0; color: #DF075C; } #errorpage #content div { margin-top: 20px; margin-bottom: 5px; border-bottom: 1px solid #CCCCCC; padding-bottom: 5px; color: #333333; font: bold 1.2em "Lucida Grande", Arial, Helvetica, sans-serif; text-decoration: none; line-height: 120%; text-align: left; } 
/* ]]> */
</style>
</head>
<body id="errorpage"><div id="wrap">	<div id="page-header">		<a href="./">Return to index page</a>	</div>	<div id="acp">	<div class="panel">		<div id="content">			<h1>General Error</h1>			<div>SQL ERROR [ mysqli ]<br><br>You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 [1064]<br><br>Произошла ошибка SQL при выборке на этой странице. Пожалуйста, сообщите <a href="mailto:{REMOVED}">администратору</a>, если ошибка будет повторяться.</div>
<p>Please notify the board administrator or webmaster: <a href="mailto:{REMOVED}">{REMOVED}</a></p>		</div>	</div>	</div>	<div id="page-footer">		Powered by <a href="https://www.phpbb.com/">phpBB</a>® Forum Software © phpBB Limited	</div>
</div></body>
</html>
Some of my phpBB extensions: [ Imgur | SEO Metadata | Markdown ]
Check out all my extensions
Arch Linux user

User avatar
RomaamoR
Registered User
Posts: 176
Joined: Tue Feb 24, 2015 4:45 pm
Contact:

Re: [3.2][RC] SEO Metadata

Post by RomaamoR » Sun Jan 13, 2019 11:59 am

Strange. On the test forum of another domain does not work either. No other extensions. On tastovy sub-forum - it works. Now your extension is included. What could be a mistake? In hosting settings?

User avatar
AbaddonOrmuz
Registered User
Posts: 659
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo Ramos
Contact:

Re: [3.2][RC] SEO Metadata

Post by AbaddonOrmuz » Mon Jan 14, 2019 9:03 pm

RomaamoR wrote:
Sun Jan 13, 2019 11:59 am
What could be a mistake? In hosting settings?
Might be, try to contact your hosting or check your error log though your hosting panel.
Some of my phpBB extensions: [ Imgur | SEO Metadata | Markdown ]
Check out all my extensions
Arch Linux user

User avatar
RomaamoR
Registered User
Posts: 176
Joined: Tue Feb 24, 2015 4:45 pm
Contact:

Re: [3.2][RC] SEO Metadata

Post by RomaamoR » Tue Jan 22, 2019 2:35 pm


Might be, try to contact your hosting or check your error log though your hosting panel.

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/ext/alfredoramos/seometadata/includes/helper.php on line 473: preg_match_all(): Compilation failed: invalid range in character class at offset 46
[phpBB Debug] PHP Warning: in file [ROOT]/ext/alfredoramos/seometadata/includes/helper.php on line 476: array_unique() expects parameter 1 to be array, null given
[phpBB Debug] PHP Warning: in file [ROOT]/ext/alfredoramos/seometadata/includes/helper.php on line 479: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/ext/alfredoramos/seometadata/includes/helper.php on line 485: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/ext/alfredoramos/seometadata/includes/helper.php on line 512: array_values() expects parameter 1 to be array, null given
[phpBB Debug] PHP Warning: in file [ROOT]/ext/alfredoramos/seometadata/includes/helper.php on line 515: count(): Parameter must be an array or an object that implements Countable

User avatar
AbaddonOrmuz
Registered User
Posts: 659
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo Ramos
Contact:

Re: [3.2][RC] SEO Metadata

Post by AbaddonOrmuz » Tue Jan 22, 2019 3:19 pm

RomaamoR wrote:
Tue Jan 22, 2019 2:35 pm

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/ext/alfredoramos/seometadata/includes/helper.php on line 473: preg_match_all(): Compilation failed: invalid range in character class at offset 46
[phpBB Debug] PHP Warning: in file [ROOT]/ext/alfredoramos/seometadata/includes/helper.php on line 476: array_unique() expects parameter 1 to be array, null given
[phpBB Debug] PHP Warning: in file [ROOT]/ext/alfredoramos/seometadata/includes/helper.php on line 479: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/ext/alfredoramos/seometadata/includes/helper.php on line 485: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/ext/alfredoramos/seometadata/includes/helper.php on line 512: array_values() expects parameter 1 to be array, null given
[phpBB Debug] PHP Warning: in file [ROOT]/ext/alfredoramos/seometadata/includes/helper.php on line 515: count(): Parameter must be an array or an object that implements Countable
You found a bug in the regex, thanks.

I will fix it when I get home.
Some of my phpBB extensions: [ Imgur | SEO Metadata | Markdown ]
Check out all my extensions
Arch Linux user

User avatar
RomaamoR
Registered User
Posts: 176
Joined: Tue Feb 24, 2015 4:45 pm
Contact:

Re: [3.2][RC] SEO Metadata

Post by RomaamoR » Tue Jan 22, 2019 3:29 pm

Ok.

User avatar
AbaddonOrmuz
Registered User
Posts: 659
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo Ramos
Contact:

Re: [3.2][RC] SEO Metadata

Post by AbaddonOrmuz » Tue Jan 22, 2019 8:56 pm

RomaamoR wrote:
Tue Jan 22, 2019 3:29 pm
Ok.
Please test this version, the issue must be fixed.

alfredoramos_seometadata_1.0.1-RC1.zip
Some of my phpBB extensions: [ Imgur | SEO Metadata | Markdown ]
Check out all my extensions
Arch Linux user

User avatar
RomaamoR
Registered User
Posts: 176
Joined: Tue Feb 24, 2015 4:45 pm
Contact:

Re: [3.2][RC] SEO Metadata

Post by RomaamoR » Tue Jan 22, 2019 9:28 pm


Please test this version, the issue must be fixed.

Does not work. Test forum - https://satelitray.ru/index.php

User avatar
AbaddonOrmuz
Registered User
Posts: 659
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo Ramos
Contact:

Re: [3.2][RC] SEO Metadata

Post by AbaddonOrmuz » Wed Jan 23, 2019 4:23 am

RomaamoR wrote:
Tue Jan 22, 2019 9:28 pm
Does not work. Test forum - https://satelitray.ru/index.php
Could you elaborate? the extension is correctly generating the meta tags...
Some of my phpBB extensions: [ Imgur | SEO Metadata | Markdown ]
Check out all my extensions
Arch Linux user

User avatar
RomaamoR
Registered User
Posts: 176
Joined: Tue Feb 24, 2015 4:45 pm
Contact:

Re: [3.2][RC] SEO Metadata

Post by RomaamoR » Wed Jan 23, 2019 8:30 am

403 Forbidden Error.

igorbond
Registered User
Posts: 104
Joined: Sun Mar 24, 2013 5:54 pm

Re: [3.2][RC] SEO Metadata

Post by igorbond » Wed Jan 23, 2019 12:15 pm

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/ext/alfredoramos/seometadata/includes/helper.php on line 260: Couldn't fetch DOMText. Node no longer exists

Fatal error: Call to a member function getAttribute() on null in /forum/ext/alfredoramos/seometadata/includes/helper.php on line 260
Error: Fatal error: Call to a member function getAttribute() on null at file /forum/ext/alfredoramos/seometadata/includes/helper.php line 260
Error in topic

As I understand it, this error is in identically created topics, where both the naming and the text are 100% identical.
Image

User avatar
AbaddonOrmuz
Registered User
Posts: 659
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo Ramos
Contact:

Re: [3.2][RC] SEO Metadata

Post by AbaddonOrmuz » Wed Jan 23, 2019 4:44 pm

RomaamoR wrote:
Wed Jan 23, 2019 8:30 am
403 Forbidden Error.
HTTP 4xx status codes are client side errors.
igorbond wrote:
Wed Jan 23, 2019 12:15 pm

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/ext/alfredoramos/seometadata/includes/helper.php on line 260: Couldn't fetch DOMText. Node no longer exists

Fatal error: Call to a member function getAttribute() on null in /forum/ext/alfredoramos/seometadata/includes/helper.php on line 260
Error: Fatal error: Call to a member function getAttribute() on null at file /forum/ext/alfredoramos/seometadata/includes/helper.php line 260
Error in topic

As I understand it, this error is in identically created topics, where both the naming and the text are 100% identical.
I think I know where it's coming from, though it's not because of the topic text but when removing links from description, though the line number is different.

I think I have a fix, however I will investigate further, as I can't reproduce that behavior.

Have you managed to reproduce this error consistently? How?
Some of my phpBB extensions: [ Imgur | SEO Metadata | Markdown ]
Check out all my extensions
Arch Linux user

igorbond
Registered User
Posts: 104
Joined: Sun Mar 24, 2013 5:54 pm

Re: [3.2][RC] SEO Metadata

Post by igorbond » Wed Jan 23, 2019 6:22 pm

The user created three identical topics by mistake, I can enter one, I can not even enter others, I get an error.
Image

User avatar
olalavui
Registered User
Posts: 103
Joined: Sat Dec 13, 2008 3:02 am
Location: Vietnam
Name: Bui Thanh Tung
Contact:

Re: [3.2][RC] SEO Metadata

Post by olalavui » Sat Jan 26, 2019 4:52 am

AbaddonOrmuz wrote:
Tue Jan 22, 2019 8:56 pm
RomaamoR wrote:
Tue Jan 22, 2019 3:29 pm
Ok.
Please test this version, the issue must be fixed.

alfredoramos_seometadata_1.0.1-RC1.zip
what is update in 1.0.1-RC1?
Come back phpBB with phpBBVietnam

Post Reply

Return to “Extensions in Development”