Keyword

User Gallery Relink Images, How?

  • John Vincent
  • John Vincent's Avatar Topic Author
  • Offline
  • Senior Member
More
8 years 6 months ago #152135 by John Vincent
Replied by John Vincent on topic User Gallery Relink Images, How?
So I did some poking around and I found this

stackoverflow.com/questions/25391717/preg-match-compilation-failed-invalid-range-after-update

I am not s PHP coder so a lot of this is beyond my scope

Please Log in or Create an account to join the conversation.

  • John Vincent
  • John Vincent's Avatar Topic Author
  • Offline
  • Senior Member
More
8 years 6 months ago #152136 by John Vincent
Replied by John Vincent on topic User Gallery Relink Images, How?
Line Number Update.

They are:

2910 | 2977 | 3004 | 3022

Sorry for the confusion

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 6 months ago #152140 by Krikor Boghossian
Replied by Krikor Boghossian on topic User Gallery Relink Images, How?
I would suggest posting this issue in Github to see if the extension's developer has an update or a solution.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • John Vincent
  • John Vincent's Avatar Topic Author
  • Offline
  • Senior Member
More
8 years 6 months ago #152141 by John Vincent
Replied by John Vincent on topic User Gallery Relink Images, How?
I edited a line in code 2977

NEW code : "/^([\.\-\w]+)\/([\.\-\w]+)(.*)$/i" REPLACED : "/^([\.-\w]+)\/([\.-\w]+)(.*)$/i",

And now the SSH console is showing no errors and SUCCESSFUL images being created.

So far so good

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 6 months ago #152178 by Krikor Boghossian
Replied by Krikor Boghossian on topic User Gallery Relink Images, How?
Kudos :)
Regular expressions were never my strong point.
How about doing a PR in github.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • John Vincent
  • John Vincent's Avatar Topic Author
  • Offline
  • Senior Member
More
8 years 6 months ago #152184 by John Vincent
Replied by John Vincent on topic User Gallery Relink Images, How?
I have no idea what expressions are. lol

I just copy and pasted these into the code until the warning stopped. I really am just a designer but since I also host websites I have had to learn the hard way how to manage a server.

What is a PR on github

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 6 months ago #152277 by Krikor Boghossian
Replied by Krikor Boghossian on topic User Gallery Relink Images, How?
It's a Pull Request, you change the repo's code and make a request (so the devs can see it) to be included in the main repo.

As for regex, you asked for it :)
php.net/manual/en/reference.pcre.pattern.syntax.php

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum