Error "No route passed" - developing an bootstrap 4 theme

Hi there,

today I started developing a theme based on Bootstrap 4. All went well so far until I came to the point where “bids” won’t work.

The error that shows up reads “No route passed” once I clicked on “add to bid”.

This is an error Log from the console:

Quote

phpvms.js:27 Uncaught TypeError: $(…).ajaxForm is not a function at HTMLDocument.<anonymous> (phpvms.js:27) at j (jquery.min.js:2) at Object.fireWith [as resolveWith] (jquery.min.js:2) at Function.ready (jquery.min.js:2) at HTMLDocument.I (jquery.min.js:2) (anonymous) @ phpvms.js:27 j @ jquery.min.js:2 fireWith @ jquery.min.js:2 ready @ jquery.min.js:2 I @ jquery.min.js:2

 

 

also attached you find the theme I am currently working on (very basic progress): [custom.zip](< base_url >/applications/core/interface/file/attachment.php?id=4317)

Info: PHPVMS 5.5 on PHP 7.1.3

Thanks in advance

Pascal

Search here for “no routes passed” - it’s usually a JavaScript error

Here’s one thread about it…

12 hours ago, flywithpascal said:

Hi there,

today I started developing a theme based on Bootstrap 4. All went well so far until I came to the point where “bids” won’t work.

The error that shows up reads “No route passed” once I clicked on “add to bid”.

This is an error Log from the console:

also attached you find the theme I am currently working on (very basic progress): [custom.zip](< base_url >/applications/core/interface/file/attachment.php?id=4317)

Info: PHPVMS 5.5 on PHP 7.1.3

Thanks in advance

Pascal

Send me apm

1 Like

Ok, so mr. vbegin72 started helping me but didnt reply anymore. 

Is there anybody else that has an idea?

On 12/13/2018 at 6:52 PM, flywithpascal said:

Ok, so mr. vbegin72 started helping me but didnt reply anymore. 

Is there anybody else that has an idea?

As said earlier, it’s a JavaScript error  caused due to not including the required files 

Include core_htmlheader.php in your layout.php before your header tag. 

Search this forum, that’s the best way to debug