[RC] Digests 3.2.10

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!
Suggested Hosts
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)
User avatar
MarkDHamill
Registered User
Posts: 3553
Joined: Fri Aug 02, 2002 12:36 am
Location: Florence, MA USA
Contact:

Re: [RC] Digests 3.2.9

Post by MarkDHamill » Fri Oct 26, 2018 7:00 pm

Most likely you don't have a good test case. See the first post for testing. You can also use the Balance Load function to get an idea of how many subscribers there are for various hours.
Get the latest versions of my Digests and Smartfeed mods and extensions.
Need phpBB services or a phpBB consultant? I offer most phpBB services.

ArrrGh
Registered User
Posts: 3
Joined: Fri Oct 26, 2018 4:39 pm

Re: [RC] Digests 3.2.9

Post by ArrrGh » Sat Oct 27, 2018 6:18 pm

Stll trying to find out, why it wont work.

So far I did set up a new system in a VM (ubuntu 18.04 lts), put a fresh phpbb3 install on it, grabbed the database and did a restore on the new system.
(removed any extension data before backup&restore...)

Set up digests 3.2.9, but still no outgoing mail's in manual mode and cron-mode - the syslog-mail is untouched by digest-mail's
Btw.: phpbb3-cronjobs are running via system-cron as recommended (cron-user:www-data).

What's more strange:
"/var/www/html/store/phpbbservices/digests" is set to 777 (rechecked it several times), but when I use the option "Send results to files instead of emailing" the folder stays empty.
And corresponding - the option "Clear the store/phpbbservices/digests folder" results in an error:

Could not remove all the files in the store/phpbbservices/digests folder. This may be due to a permissions issue or the folder was deleted. The file permissions on the folder should be set to publicly writeable (777 on Unix-based systems).
But as I mentioned it above - this folder has mode 777.

For the moment I'm out of idea's....
Is there any way to enable a debug-mode, or some other option to make this extension much more "chatty" and generate lots of log-data? Preferably with an error, which points me in the right direction? Atm. the phpbb3-log is all shiny without any error.

User avatar
MarkDHamill
Registered User
Posts: 3553
Joined: Fri Aug 02, 2002 12:36 am
Location: Florence, MA USA
Contact:

Re: [RC] Digests 3.2.9

Post by MarkDHamill » Sat Oct 27, 2018 7:01 pm

It's possible the issue of writing files is related to who is writing the files. Look at the owner and group of the /store/phpbbservices folder. Is it different from the owner and groups of other files? If different, this folder should have the same owner and group as the other files in the store folder. The chown command can be used to change these

Check the owner and group for the /store/phpbbservices/digests folder too and make sure it is consistent.

It's possible I need to add some sort of umask, but it wasn't necessary when these were stored in the cache folder.

As for chattiness, digests do not have much in the way of a debug mode. You can enable phpBB's debug by uncommenting some lines from your config.php file, if it's not already.

In the manual mailer, there is an option to remove files from this folder if they exist BEFORE any new files are written to it.
Last edited by MarkDHamill on Sun Oct 28, 2018 2:25 am, edited 1 time in total.
Get the latest versions of my Digests and Smartfeed mods and extensions.
Need phpBB services or a phpBB consultant? I offer most phpBB services.

User avatar
MarkDHamill
Registered User
Posts: 3553
Joined: Fri Aug 02, 2002 12:36 am
Location: Florence, MA USA
Contact:

Re: [RC] Digests 3.2.9

Post by MarkDHamill » Sun Oct 28, 2018 2:13 am

Arrrgh,

I think I found your issue. See these code changes.

https://github.com/MarkDHamill/digests/ ... 6bf57c76ea

Thanks for reporting the issue.
Get the latest versions of my Digests and Smartfeed mods and extensions.
Need phpBB services or a phpBB consultant? I offer most phpBB services.

ArrrGh
Registered User
Posts: 3
Joined: Fri Oct 26, 2018 4:39 pm

Re: [RC] Digests 3.2.9

Post by ArrrGh » Sun Oct 28, 2018 10:01 am

Thanks for the quick fix!
Will apply code-change and post results
Don't know if this is interesting, but i had to create the phpbbservices/digests under store/ by hand, since it was not automatically created.

*edit*
Error is gone now.
Now getting a file under /store/phpbbservices/digests

Also got my first digest-mail. Very nice!
Thanks again for the help
*/edit*

Brian Lambert
Registered User
Posts: 25
Joined: Tue Oct 09, 2018 7:13 am

Re: [RC] Digests 3.2.9

Post by Brian Lambert » Sat Nov 03, 2018 3:39 pm

Hi

I'm a complete numpty when it comes to all things BB and such, but have a working forum and a couple of extensions installed. I have BB3 3.2.3 But I just cant get the Digest to show in the Extensions Manager listing! All others show correctly!
I've attached three screen shots showing this.

Help! In simple terms please ....

Image

Image

Image

User avatar
MarkDHamill
Registered User
Posts: 3553
Joined: Fri Aug 02, 2002 12:36 am
Location: Florence, MA USA
Contact:

Re: [RC] Digests 3.2.9

Post by MarkDHamill » Sat Nov 03, 2018 3:55 pm

Your problem is that digests should be loaded into the /ext/phpbbservices/digests folder. This is not obvious if you get the archive from GitHub, although it is in the README, but it's that way on the official archive on my website.

There's a lot to installing and configuring digests so make sure you read the first post of the topic and follow instructions carefully.
Get the latest versions of my Digests and Smartfeed mods and extensions.
Need phpBB services or a phpBB consultant? I offer most phpBB services.

Brian Lambert
Registered User
Posts: 25
Joined: Tue Oct 09, 2018 7:13 am

Re: [RC] Digests 3.2.9

Post by Brian Lambert » Sat Nov 03, 2018 4:52 pm

Now I did say I was a Numpty! So I need more clarification please...
You say the files should be in the /ext/phpservices/digest folder. But there is no such 'phpservices' folder that I can see - See new Filezilla image below of the sites folders.
All the other extensions - ads, board announcements and viglink all work though?

You will need to hold my hand more - Sorry! :oops:

Image

User avatar
pikachuturkey
Registered User
Posts: 273
Joined: Wed Dec 20, 2006 10:34 pm
Name: Rıza
Contact:

Re: [RC] Digests 3.2.9

Post by pikachuturkey » Sat Nov 03, 2018 5:11 pm

Create a folder and named "phpbbservice".
then create a folder again in the phpbbservice folder and give "digest" name.
Move all folders in digest-3.2.9 (acp, adm, config, etc etc)
Then upload phpbbservice folder in to ext folder.
Health For Everyone ==> www.saglikforum.org

Brian Lambert
Registered User
Posts: 25
Joined: Tue Oct 09, 2018 7:13 am

Re: [RC] Digests 3.2.9

Post by Brian Lambert » Sat Nov 03, 2018 5:59 pm

Thank you. Nice and simple easy to follow instructions. Will give it a try tomorrow morning. :D
BTW I guess I should delete via FileZilla the already uploaded incorrect folder?

Can you explain as an aside, why this particular extension needs this extra work, as the other extensions all work correctly? As I said I'm a real novice. :?

User avatar
MarkDHamill
Registered User
Posts: 3553
Joined: Fri Aug 02, 2002 12:36 am
Location: Florence, MA USA
Contact:

Re: [RC] Digests 3.2.9

Post by MarkDHamill » Sat Nov 03, 2018 6:28 pm

Yes, of course delete the old folder.
Get the latest versions of my Digests and Smartfeed mods and extensions.
Need phpBB services or a phpBB consultant? I offer most phpBB services.

User avatar
Restless Rancor
Registered User
Posts: 184
Joined: Tue Sep 18, 2018 1:51 pm

Re: [RC] Digests 3.2.9

Post by Restless Rancor » Sat Nov 03, 2018 6:42 pm

Brian Lambert wrote:
Sat Nov 03, 2018 5:59 pm
Can you explain as an aside, why this particular extension needs this extra work, as the other extensions all work correctly? As I said I'm a real novice. :?
The extensions you already have installed (ads, boardannouncements, viglink) are all authored by phpBB and therefore their extension path is /ext/phpbb/*

As Digests is authored by phpbbservice the extension goes into /ext/phpbbservice/digests

Other examples:
Linked Accounts /ext/flarex/linkedaccounts
Contact Admin /ext/rmcgirr83/contactadmin

The majority of extensions in development will have a note about this, as this one does:
MarkDHamill wrote:
Tue Jan 19, 2016 1:52 am
Install this release as you would any other extension. The digest tree should be in /ext/phpbbservices/digests.
Your tree was /ext/phpbb/digests-3.2.9

Hope that clears it up for you, if not have a read through this: https://www.phpbb.com/extensions/installing/ :)
These aren't the droids you're looking for...
My Extensions and Snippets (Ref link)

Brian Lambert
Registered User
Posts: 25
Joined: Tue Oct 09, 2018 7:13 am

Re: [RC] Digests 3.2.9

Post by Brian Lambert » Sat Nov 03, 2018 6:46 pm

Simple... Thank you and once explained in layman's terms :D

User avatar
Restless Rancor
Registered User
Posts: 184
Joined: Tue Sep 18, 2018 1:51 pm

Re: [RC] Digests 3.2.9

Post by Restless Rancor » Sat Nov 03, 2018 6:48 pm

No problem. Once it's understood it should become second nature quite quickly :)
These aren't the droids you're looking for...
My Extensions and Snippets (Ref link)

kamaleon
Registered User
Posts: 416
Joined: Tue Sep 09, 2014 9:47 am
Location: Barcelona

Re: [RC] Digests 3.2.9

Post by kamaleon » Sat Nov 03, 2018 6:55 pm

If I were you I would grab the upload extensions extension and it would do all the work for you :D

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: eindgebruiker, Majestic-12 [Bot], pikachuturkey and 28 guests