pdf file wont load

Instruction for Pass Boards 2





thats the code i ad into the description so it will show up on my website.

When i go onto that page and click on that link it displays this code:



Fatal error: Call to undefined function smarty_modifier_fn_get_cs_js_banners() in /home1/harpermo/public_html/var/compiled/customer/%%A1^A10^A10F8AE6%%exception.tpl.php on line 266





Whats this mean?





[url]Motorcycle FAQ



here is the direct link to the pdf files, click on one and you’ll see what im talking about

Thanks

come on, someone has got to know why a pdf file wont load?

Use the smarty literal tag around your code.

For one, bad idea to have spaces in the filename. Bt that’s not the cause of your problem. When I go to your page I get:

Fatal error: Call to undefined function smarty_modifier_fn_get_cs_js_banners() in /home1/harpermo/public_html/var/compiled/customer/%%A1^A10^A10F8AE6%%exception.tpl.php on line 266



This tells me you’re using some addon that has modified a template to use a function that does not exist; Get rid of the broken addon and your pages will load.

[quote name=‘tbirnseth’]For one, bad idea to have spaces in the filename. Bt that’s not the cause of your problem. When I go to your page I get:

Fatal error: Call to undefined function smarty_modifier_fn_get_cs_js_banners() in /home1/harpermo/public_html/var/compiled/customer/%%A1^A10^A10F8AE6%%exception.tpl.php on line 266



This tells me you’re using some addon that has modified a template to use a function that does not exist; Get rid of the broken addon and your pages will load.[/QUOTE]



Well yea i just added this add-on last week and its made for cs cart and its a slide show. The fact is i don t understand how that could mess up a pdf file, i mean it don’t make since, i want someone to be able to click on the pdf link and have it open up in adobe. and that add-on works fine on the site and what not, is there any other thing that could be causing this?

[quote name=‘Triplets’]Use the smarty literal tag around your code.[/QUOTE]



whats that? never heard of?

Not sure this is causing your problem, but quotes, slashes and other non alpha/numeric characters cause problems in PHP, the literal tag is designed to help this.



[URL]Search Results for "docsv2" | Smarty

If you look at the title bar when getting the error, it says page not found. This error seems to be generating for your 404 functions.



Are you sure that the link is correct? These all throw the same error

http://www.harpermoto.com/pm65/instruction%20for%20pass%20boards%202.pdf
http://www.harpermoto.com/pm65
http://www.harpermoto.com/qwerty404






You might also try deleting the var/compiled/customer directory to see if the cached exception.tpl is corrupted

Think about what happens when you do a download (or view of a certin file type). The data is sent to your browser and then a plugin for the type is used to read the data and display it.



If the data contains the error message, then obviously it’s going to fail when it tries to interpert the data.

[quote name=‘S-Combs’]If you look at the title bar when getting the error, it says page not found. This error seems to be generating for your 404 functions.



Are you sure that the link is correct? These all throw the same error

http://www.harpermoto.com/pm65/instruction%20for%20pass%20boards%202.pdf
http://www.harpermoto.com/pm65
http://www.harpermoto.com/qwerty404






You might also try deleting the var/compiled/customer directory to see if the cached exception.tpl is corrupted[/QUOTE]









i cant delete that file, its the file that is running my slide show

huh? That is your stores template cache directory and it must be cleaned out on occasion

[quote name=‘S-Combs’]huh? That is your stores template cache directory and it must be cleaned out on occasion[/QUOTE]



“You might also try deleting the var/compiled/customer directory to see if the cached exception.tpl is corrupted”









so what? im suppose to go into var/compiled/customer directory and delete all the files in there?

hello?

Just clear your cache via

?cc



I would strongly recommend NOT clearing a portion of your compiled pages. Suggest all or nothing. Using the ?cc method will clear your compiled pages directories and the registry cache all in one shot.