Jump to content

Nathan Explosion

Friends
  • Posts

    7,136
  • Joined

  • Days Won

    129

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Projects

Release Notes v5

Invision Community 5 Bug Tracker

Forums

Events

Store

Gallery

Everything posted by Nathan Explosion

  1. There's your issue right there - use PHP7.4.x, 8.0.x or 8.1.x
  2. @aXenDev This is likely to be an issue for us who use Windows on our dev machines...cue "Windows isn't supported..." So, a little playing around and grabbing out all the $skipPatterns & $pathnames involved with my single application allows me to do the following as an isolated PHP file...same issue, and easier to figure out now. <?php $patterns[] = '/C\:\\wamp64\\www\\dev\\ips_47_dev_b/applications/neappavrecorder\/(?:hooks|setup|dev)/'; $paths[] = 'C:\wamp64\www\dev\ips_47_dev_b/applications/neappavrecorder\Application.php'; $patterns[] = '/C\:\\wamp64\\www\\dev\\ips_47_dev_b/applications/neappavrecorder\/(?:hooks|setup|dev)/'; $paths[] = 'C:\wamp64\www\dev\ips_47_dev_b/applications/neappavrecorder\dev\jslang.php'; $patterns[] = '/C\:\\wamp64\\www\\dev\\ips_47_dev_b/applications/neappavrecorder\/(?:hooks|setup|dev)/'; $paths[] = 'C:\wamp64\www\dev\ips_47_dev_b/applications/neappavrecorder\dev\lang.php'; $patterns[] = '/C\:\\wamp64\\www\\dev\\ips_47_dev_b/applications/neappavrecorder\/(?:hooks|setup|dev)/'; $paths[] = 'C:\wamp64\www\dev\ips_47_dev_b/applications/neappavrecorder\hooks\code_dispatcher_front.php'; $patterns[] = '/C\:\\wamp64\\www\\dev\\ips_47_dev_b/applications/neappavrecorder\/(?:hooks|setup|dev)/'; $paths[] = 'C:\wamp64\www\dev\ips_47_dev_b/applications/neappavrecorder\hooks\theme_core_global_forms.php'; $patterns[] = '/C\:\\wamp64\\www\\dev\\ips_47_dev_b/applications/neappavrecorder\/(?:hooks|setup|dev)/'; $paths[] = 'C:\wamp64\www\dev\ips_47_dev_b/applications/neappavrecorder\modules\admin\recorder\avsettings.php'; $patterns[] = '/C\:\\wamp64\\www\\dev\\ips_47_dev_b/applications/neappavrecorder\/(?:hooks|setup|dev)/'; $paths[] = 'C:\wamp64\www\dev\ips_47_dev_b/applications/neappavrecorder\sources\NeappAvRecorder.php'; foreach($patterns as $k=>$v){ preg_match($v,$paths[$k]); } Result (snipped for brevity): ( ! ) Warning: preg_match(): Unknown modifier 'a' in C:\wamp64\www\loggedin.php on line 18 Call Stack # Time Memory Function Location 1 0.0005 363704 {main}( ) ...\loggedin.php:0 2 0.0005 364456 preg_match( $pattern = '/C\\:\\wamp64\\www\\dev\\ips_47_dev_b/applications/neappavrecorder\\/(?:hooks|setup|dev)/', $subject = 'C:\\wamp64\\www\\dev\\ips_47_dev_b/applications/neappavrecorder\\Application.php' ) ...\loggedin.php:18 ( ! ) Warning: preg_match(): Unknown modifier 'a' in C:\wamp64\www\loggedin.php on line 18 Call Stack # Time Memory Function Location 1 0.0005 363704 {main}( ) ...\loggedin.php:0 2 0.0016 365328 preg_match( $pattern = '/C\\:\\wamp64\\www\\dev\\ips_47_dev_b/applications/neappavrecorder\\/(?:hooks|setup|dev)/', $subject = 'C:\\wamp64\\www\\dev\\ips_47_dev_b/applications/neappavrecorder\\dev\\jslang.php' ) ...\loggedin.php:18 ( ! ) Warning: preg_match(): Unknown modifier 'a' in C:\wamp64\www\loggedin.php on line 18 Call Stack # Time Memory Function Location 1 0.0005 363704 {main}( ) ...\loggedin.php:0 2 0.0027 365328 preg_match( $pattern = '/C\\:\\wamp64\\www\\dev\\ips_47_dev_b/applications/neappavrecorder\\/(?:hooks|setup|dev)/', $subject = 'C:\\wamp64\\www\\dev\\ips_47_dev_b/applications/neappavrecorder\\dev\\lang.php' ) ...\loggedin.php:18 The problem is, I believe, as follows: $dir = ( ( \defined('IPS\CIC2') and \IPS\CIC2 ) ? \IPS\SITE_FILES_PATH : \IPS\ROOT_PATH ) . '/applications/' . $app->directory; On Windows, that will give you: C:\wamp64\www\dev\ips_47_dev_b/applications/neappavrecorder It's the / in there that is causing the later problems. Manipulate $dir as follows, before the $skipPattern is created, will sort it. Likely going to need to be a manual edit by us if the expected cue comes along... $dir = str_replace('/','\\',$dir);
  3. 😉i'm on holiday mate hehe
  4. v1.7.1 is currently pending approval. NEW Added setting to control logging of valid email sending in the application's tracker FIXES Minor hook compatibility update for IPS Community Suite 4.7.x Important: please note that as we are no longer able to mark resources in the MarketPlace as compatible with multiple versions of Invision Community Suite, this update as well as any future updates can only be installed if you have upgraded to Invision Community Suite 4.7
  5. Yay - us 3rd party developers can now get out from under the bus we were being thrown under... 😄 BTW - if you have Chatbox installed then this is probably related to it having a hook in to the Donation functionality in Nexus: "Donation": { "type": "C", "class": "\\IPS\\nexus\\extensions\\nexus\\Item\\Donation" },
  6. In the front-end, there is a HTTP 500 error coming back with a "Something went wrong, please try again" response. Off to dig into the back-end logs...
  7. @Marc Stridgen - nothing is being logged in the system logs when this issue occurs while 3rd party apps are enabled (other than the preq_quote issue that is logged anyway). Not much there for people to go on as to the cause...
  8. I'll have a think about it for the next version.
  9. Just when I have sussed out your JS, someone else will come in and mess me up... Best of luck @Rikki
  10. Define 'reset'...do you simply want to delete the content that is in the stream, as opposed to the stream itself?
  11. One would be very useful there.
  12. Then create one...
  13. $record->truncated(false, 100);
  14. They will be pruned eventually by the 'cleanup' task - that tasks runs once a day, and clears out those posts that are over 7 days old (I think)
  15. It would be more beneficial to turn off "Post before registering" instead, which allows guests to begin creating a post, and leave it sitting there ... which I believe then triggers that email out to them to remind them to finish off the submission.
  16. Currently pending approval...
  17. It's a profile field - go to /admin/?app=core&module=membersettings&controller=profiles and delete it in there.
  18. Right, I have decided to go ahead with this one, as the concept is now proven and I have started adding stuff in to the mix. I will not be taking suggestions for features at this time - I have a design that I will be working towards, and new features will be added at my discretion. Note: this one won't be cheap.
  19. Might be a good idea to understand the source location too - if it's a straightforward GIF file in an IMG tag on a webpage, great. But if it's a GIF file hosted on a site that doesn't like people copying the actual file, then they may have the GIF displaying in a pseudo way...split into separate frames, then animated using script. Right-click that and copy, you'll get a single frame image.
  20. It's just a minor thing, but a big improvement - that ID will come in handy if/when people post a stack that has a hook's ID in it...simple direction to this page, and instantly they have the the specific resource and hook. Thank you.
×
×
  • Create New...