Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Cycle-Carousel module 500 Error (Jscript issues?)


Go to End


3 Posts   1226 Views

Avatar
mhdesign

Community Member, 216 Posts

6 November 2014 at 2:28pm

Hi, I'm hoping Cycle-Carousel module will resolve layout problems I'm experiencing with FlexSlider module. Only problem is when I install it I get a 500 error.
As instructed I installed link-field module first, rebuilt DB and flush -- page is loading OK and CMS works, then I load cycle-carousel module, rebuild and flush. Page looks OK, CMS looks OK until I go to edit a page and I get 'Internal Server Error' (500 code).

These are only errors I am getting in console:

* Use of getPreventDefault() is deprecated. Use defaultPrevented instead. jquery.js:3527
* The Web Console logging API (console.log, console.info, console.warn, console.error) has been disabled by a script on this page.
* Use of getAttributeNode() is deprecated. Use getAttribute() instead.

I've tried this on older versions of Silverstripe (back to 3.1.4) to test if this is down to changes in source versions. Still getting the same error of a basic install (not other modules, scripts or themes). Still doing exactly the same thing.

Have seen this working on another site and would like to emulate functions. So I presume this thing CAN be made to work -- question is HOW!!

(yes, at this point I AM getting frustrated!)

Avatar
mhdesign

Community Member, 216 Posts

10 November 2014 at 10:46am

Is there anybody... out there?
Is there anybody... out there?
Is there ANYBODY... OUT THERE??! (Pink Floyd, The Wall)

... please?

Avatar
sktzoootech

Community Member, 6 Posts

19 January 2015 at 9:34am

Hi. I made updates on the module and added sortablegridfield to the composer.json file. Running a composer update should fix the issue. If you manually installed your modules, please download the other modules listed on composer.json file.

It is also possible you are using the wrong jquery version. Use version 1.7 and download it from the following link: https://code.jquery.com/jquery/

Happy coding and don't get frustrated. :)