News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Auto Respond

Started by Suki, April 14, 2011, 10:41:42 PM

Previous topic - Next topic

Lucarella

Is there a possibility to update this mod for SMF 2.1?

Thank you

Suki

Yep, it shouldn't take that long so I'll give it a shot
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Lucarella

Thank you, you are very kind :)

Lucarella

Hi Suki, is there any news on the mod update?

Thank you

Suki


I've been working on it but its still incomplete, you can track the progress on this branch: https://github.com/MissAllSunday/AutoRespond/tree/2.1

Can't promise anything but I'll do my best to finish it in the comming weeks.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Suki

#105
Hey @Lucarella do you have a test forum you can use to test this new version?

Or if anyone else wants to help testing this out.

This new version is only compatible with SMF 2.1 and requires php 7.4 as minimum.

Heres the PR if anyone is interested to see what was changed: https://github.com/MissAllSunday/AutoRespond/pull/2/files
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Lucarella

Hi Suki, thank you for your work.
I installed the mod on the test forum and it installs without any problems.
I am redirected to the options page:
Settings section everything ok
But if I want to go to the Message list and Add a new message a blank page appears with HTTP ERROR 500
The error log reports this:
cade1ac2b2521ccc92063bd66f3a99f7
 https://luke76.net/index.php?action=admin;area=packages;sa=install;package=AutoRespond.zip
 /var/www/sites/luke76.net/Sources/Packages.php (Linea 332)

8: file_get_contents(): read of 8192 bytes failed with errno=21 Is a directory


Tipo di errore
General
Messaggio di errore
8: file_get_contents(): read of 8192 bytes failed with errno=21 Is a directory
File
/var/www/sites/luke76.net/Sources/Packages.php
Linea
332
URL della pagina che ha causato l'errore
https://luke76.net/index.php?action=admin;area=packages;sa=install;package=AutoRespond.zip
Informazioni di backtrace
#0: smf_error_handler()
Chiamata da sconosciuto nella linea -1
#1: file_get_contents()
Chiamata da /var/www/sites/luke76.net/Sources/Packages.php nella linea 332
#2: PackageInstallTest()
Chiamata da /var/www/sites/luke76.net/Sources/Subs.php nella linea 6033
#3: call_helper()
Chiamata da /var/www/sites/luke76.net/Sources/Packages.php nella linea 91
#4: Packages()
Chiamata da /var/www/sites/luke76.net/Sources/Admin.php nella linea 499
#5: AdminMain()
Chiamata da /var/www/sites/luke76.net/index.php nella linea 184

If you need any other info, just tell me...

Thank you

Suki

Yep, I did get that same error when I was testing, its related to the install process and not the mod's functionality so the mod should work normal, still will investigate why it happens.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Lucarella

Hi Suki,
I honestly didn't try to use the mod given the errors, also because I couldn't configure almost anything.
I will wait for your review.

Thank you

Suki

What do you mean you couldn't configure anything? are you not able to see the mod's settings page? what happens when you try to save some settings?
are you able to create/edit/delete new messages?
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Lucarella

Because I don't see these two sections Message list and Add a new message, a blank page and http error 500 appear

Suki

can you post the link to the page where you see that error? do you have access to your server error?
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Lucarella

The link is this
https://luke76.net/index.php?action=admin;area=autorespond;sa=add;b7f284aa15=7a381fa8753ec08377fd52eddb59830b
I don't have access to the server, so I can't see anything

I even gave it a try and the auto reply inserts into the new post, only I can't edit the source message

Suki

#113
For the

file_get_contents(): read of 8192 bytes failed with errno=21 Is a directory
It was a silly thing, an extra space inside an xml tag.

For the other error where you cannot see the list of add new messages page, I cannot reproduce it, does anyone else have the same issue?

Anyway, I created another test zip file with the first error solved.

Edit, it seems I cannot edit my messages and therefoew, I cannot remove the attachment here: https://www.simplemachines.org/community/index.php?msg=4170475 
Can a moderator please remove that attachment, thanks.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Lucarella

Hi Suki,
I installed the new package and I didn't receive any errors in the registry, but I still have a blank page with http error 500.
However, I am not convinced of the problem, I tried to install on a second test forum and here everything worked well, no errors and no blank pages.
Now what do you recommend, should I wait for other tests or can I install on the main forum?

Thanks for your commitment

Suki

Best course of actions would be getting the server errors from the server where the 500 error happens and see why it happens but if you can't get them then yes, probably wait until someone else do some more testing would be good.

You could install on your main forum taking all precautions needed in case something happens, does your main forum is located on the same server as the test forum where the 500 errors happen? if yes then most likely you will get the same 500 errors.

Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Kindred

Old attachment removed
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Suki

Thanks!

Since there wasn't any more interest on this, I'll go ahead and make a proper release:

https://github.com/MissAllSunday/AutoRespond/releases/tag/v2.1
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Suki

I cant edit my previous message :(

looks like I messed up and merged the wrong branch, will delete the release here and on github, merge the proper branch and re-do the release.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Suki

Mod has been updated and a new version has been released:https://github.com/MissAllSunday/AutoRespond/releases/tag/v2.1

Many thanks to @Bugo for the Russian translation!
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Advertisement: