Keyword

Can't save or edit items after installing K2.8

  • Ryan Krause
  • Ryan Krause's Avatar Topic Author
  • Offline
  • New Member
More
10 years 3 months ago #129942 by Ryan Krause
Hello,

I just installed K2.8 on Joomla 3x and i'm having an issue with being able to save any items. I think this is a javascript error but here's the error i'm getting...

- Failed to load resource | status of 403 (forbitten) --- /media/k2/assets/js/k2.js?xxxxxx
- Uncaught ReferenceError: syncExtraFieldsEditor is not defined

I've tried a few troubleshooting steps (changed jquery to local, enabled 755 permissions for media/k2 folder...

Please advise.

Thanks,
Ryan.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 3 months ago #129943 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Can't save or edit items after installing K2.8
Hello Ryan,

Double check to see it the file does indeed exist in that location.(If this is related to your previous post)

Does that file have the correct 644 permissions, and its folder 755?
Also so they belong to the correct user/group?

You can correct all your folders and file permissions using an extension called Admin Tools.

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

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

  • Ryan Krause
  • Ryan Krause's Avatar Topic Author
  • Offline
  • New Member
More
10 years 3 months ago - 10 years 3 months ago #129944 by Ryan Krause
Replied by Ryan Krause on topic Re: Can't save or edit items after installing K2.8
Hi,

I've used the Admin Tools extension and still not working. It seems like the all the k2 item "tabs" are open when you first access the k2 item. So it's triggering an error because it expects these extra fields to have data in them.

I'm seeing this problem in the inspect tool when I first open the k2 item

X GET mywebsite.com/xxx/xxx/media/k2/assets/js/k2.js?v=2.6.8&sitepath=/dev/itc/ - index.php: 28

Ryan.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 3 months ago #129945 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Can't save or edit items after installing K2.8
Can you try the following please?

a) Backup
b) Try the latest DEV version which ensures better compatibility with 3.3.x getk2.org/assets/get/

Let me know if that solved the issue.

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

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

  • Ryan Krause
  • Ryan Krause's Avatar Topic Author
  • Offline
  • New Member
More
10 years 2 months ago - 10 years 2 months ago #129946 by Ryan Krause
Replied by Ryan Krause on topic Re: Can't save or edit items after installing K2.8
My hosting company sent me this message:

It is possible that the use of sitepath=/xxx/itc/ in the URL is triggering the security rules in place on your server. It's generally good to protect against this kind of URL although Joomla and its extensions are known for doing this.

I have added for you an exclusion so that the security rules are not applied however it is best not to keep this exclusion in place permanently as that means there is no protection in place for that Joomla install.


Why would k2 suddenly use URL strings that are conflicting with general security settings with joomla-ready servers ? How do I fix this without leaving open my site to attack ?

* This was the problem by the way - k2 now works correctly.

Ryan.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 2 months ago #129947 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Can't save or edit items after installing K2.8
You are not leaving your site open for an attack.
K2 does not have any security risks what so ever.

Finally I cannot understand your host's fears. All CMS's use these types of urls.

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