[BETA] [3.2] Prime Notify

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!
Get Involved
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)
achos2019
Registered User
Posts: 2
Joined: Tue Dec 03, 2019 8:35 pm

Re: [BETA] [3.2] Prime Notify

Post by achos2019 »

no i didnt receive any Email after uninstalling. should i get one?. when i send emails via the mass email function from phpbb it is no problem.

User avatar
primehalo
Former Team Member
Posts: 2864
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: [BETA] [3.2] Prime Notify

Post by primehalo »

After completely uninstalling the extension the notifications should go back to normal. You could check the phpbb_notification_types table, it will show which notification types are enabled. Let me know if you see any primehalo.primenotify.notification.type types. Any of those should have been removed when it was uninstalled.
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!

User avatar
Janvitus
Registered User
Posts: 15
Joined: Mon Sep 30, 2019 12:04 pm

Re: [BETA] [3.2] Prime Notify

Post by Janvitus »

I tried to enable this extension on my forum, but I get a white page... any solution?
Tnx

User avatar
Mick
Support Team Member
Support Team Member
Posts: 22312
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: [BETA] [3.2] Prime Notify

Post by Mick »

Have a look in the server error logs there may be a clue there.
"The more connected we get the more alone we become" - Kyle Broflovski

Please read: “Am I In The Right Place?” before posting.

User avatar
Janvitus
Registered User
Posts: 15
Joined: Mon Sep 30, 2019 12:04 pm

Re: [BETA] [3.2] Prime Notify

Post by Janvitus »

Ehm.. You have right lol :shock:

Code: Select all

PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in .../phpbb/db/driver/postgres.php on line 281, referer: .../adm/index.php?i=acp_extensions&sid=7c260313b4165271649e578aa1e360b6&mode=main&action=enable_pre&ext_name=primehalo%2Fprimenotify

User avatar
Mick
Support Team Member
Support Team Member
Posts: 22312
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: [BETA] [3.2] Prime Notify

Post by Mick »

As the message says, the available memory for PHP has run out, show the message to your host and ask them to increase it unless you can do it yourself of course.
"The more connected we get the more alone we become" - Kyle Broflovski

Please read: “Am I In The Right Place?” before posting.

User avatar
Janvitus
Registered User
Posts: 15
Joined: Mon Sep 30, 2019 12:04 pm

Re: [BETA] [3.2] Prime Notify

Post by Janvitus »

I have increment memory_limit to 256 (and 512), white page still going... suggestion?

User avatar
Janvitus
Registered User
Posts: 15
Joined: Mon Sep 30, 2019 12:04 pm

Re: [BETA] [3.2] Prime Notify

Post by Janvitus »

Ok, I solved the installation of the extension, but if now I try to disable it I have this error:

Code: Select all

php bin/phpbbcli.php extension:disable primehalo/primenotify
PHP Fatal error:  SQL ERROR [ postgres ]<br /><br />ERROR:  argument of WHERE must be type boolean, not type integer
LINE 1: ...TE phpbb_notifications SET notification_type_id = 7 WHERE 25
                                                                     ^ []<br /><br />SQL<br /><br />UPDATE phpbb_notifications SET notification_type_id = 7 WHERE 25 in .../phpbb/db/driver/driver.php on line 997
Tnx.

User avatar
primehalo
Former Team Member
Posts: 2864
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: [BETA] [3.2] Prime Notify

Post by primehalo »

That error is from an older version. Can you download the latest version?
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!

User avatar
Janvitus
Registered User
Posts: 15
Joined: Mon Sep 30, 2019 12:04 pm

Re: [BETA] [3.2] Prime Notify

Post by Janvitus »

primehalo wrote:
Tue Feb 04, 2020 4:31 pm
That error is from an older version. Can you download the latest version?
What is the latest version, git or the .zip on first post in this topic?

User avatar
primehalo
Former Team Member
Posts: 2864
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: [BETA] [3.2] Prime Notify

Post by primehalo »

Either one, they are both the same version.
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!

User avatar
Janvitus
Registered User
Posts: 15
Joined: Mon Sep 30, 2019 12:04 pm

Re: [BETA] [3.2] Prime Notify

Post by Janvitus »

Ok, resolved the first error, but now i have another error:

Code: Select all

SQL ERROR [ postgres ]

ERROR: syntax error at or near "t1" LINE 1: DELETE t1 FROM phpbb_notifications t1 JOIN phpbb_notificatio... ^ []

SQL

DELETE t1 FROM phpbb_notifications t1 JOIN phpbb_notification_types t2 ON t1.notification_type_id = t2.notification_type_id AND t2.notification_type_name LIKE 'primehalo.primenotify.notification.type.%'

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 997
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/postgres.php
LINE: 194
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\postgres->sql_query()

FILE: [ROOT]/ext/primehalo/primenotify/ext.php
LINE: 125
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/phpbb/extension/manager.php
LINE: 274
CALL: primehalo\primenotify\ext->disable_step()

FILE: [ROOT]/includes/acp/acp_extensions.php
LINE: 267
CALL: phpbb\extension\manager->disable_step()

FILE: [ROOT]/includes/functions_module.php
LINE: 676
CALL: acp_extensions->main()

FILE: [ROOT]/adm/index.php
LINE: 82
CALL: p_master->load_active()
Tnx



Edit: fixed, increasing again memory_limit in php.

User avatar
primehalo
Former Team Member
Posts: 2864
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: [BETA] [3.2] Prime Notify

Post by primehalo »

So increasing the memory limit fixed that other SQL error?
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!

User avatar
Janvitus
Registered User
Posts: 15
Joined: Mon Sep 30, 2019 12:04 pm

Re: [BETA] [3.2] Prime Notify

Post by Janvitus »

Yes, but i recommend reviewing the script a bit, i had to change "memory_limit = -1" to enable or disable the extension.

Tnx.

User avatar
Hippie459MN
Registered User
Posts: 945
Joined: Mon Oct 15, 2007 10:13 pm
Location: Minnesota, USA
Contact:

Re: [BETA] [3.2] Prime Notify

Post by Hippie459MN »

Janvitus wrote:
Wed Feb 05, 2020 12:54 pm
Yes, but i recommend reviewing the script a bit, i had to change "memory_limit = -1" to enable or disable the extension.

Tnx.
I dont have that problem. I can disable and enable it right in the ACP. I would maybe completely uninstall it and try again.

Post Reply

Return to “Extensions in Development”